





function openPopUpDoubled() {

$('#tooltip_wrapper').fadeIn('fast');

}

function closeToolTip() {
$('#tooltip_wrapper').fadeOut('fast');
}

function launchStream(param) {

setTimeout("closeToolTip()", 2000);

newWindow = window.open('', '', 'location=no, status=no, scrollbars=no, toolbars=no, rsizable=no, width=670, height=560');
newWindow.document.write('<html><head><title>Radio Azzurra Stream</title></head>');

newWindow.document.write('<style type="text/css">');
newWindow.document.write('body {');
newWindow.document.write('margin:0;');
newWindow.document.write('}');
newWindow.document.write('#playerWrapper {');
newWindow.document.write('float: left;');
newWindow.document.write('padding: 5px;');
newWindow.document.write('background-color: #000000;');
newWindow.document.write('width:250px;');
newWindow.document.write('height:250px;');
newWindow.document.write('}');
newWindow.document.write('#partnersWrapper {');
newWindow.document.write('float: left;');
newWindow.document.write('padding: 0 0 0 0;');
newWindow.document.write('background-color: #000000;');
newWindow.document.write('width:270px;');
newWindow.document.write('height:260px;');
newWindow.document.write('margin: -88px 0 0 0;');
newWindow.document.write('}');
newWindow.document.write('#popupHeader {');
newWindow.document.write('width: 530px;');
newWindow.document.write('height: 100px;');
newWindow.document.write('background-color: #000000;');
newWindow.document.write('background-image: url(/renderimage?ris=16310&showThumb=0);');
newWindow.document.write('background-repeat: no-repeat;');
newWindow.document.write('}');
newWindow.document.write('</style>');
newWindow.document.write('<title>Embedding Windows Media Player</title>');
newWindow.document.write('</head>');
newWindow.document.write('<body style="background-color: #000000;">');
newWindow.document.write('<div id="popupHeader">');
newWindow.document.write('</div>');

var WMP7;


		if ( navigator.appName != "Netscape"){
			 WMP7 = new ActiveXObject('WMPlayer.OCX');
		}

		// Windows Media Player 7 Code
		if ( WMP7 )
		{
			newWindow. document.write ('<div id="playerWrapper">');
			newWindow. document.write ('<OBJECT ID=MediaPlayer ');
			newWindow.document.write (' CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6');
			newWindow.document.write (' standby="Loading Microsoft Windows Media Player components..."');
			newWindow.document.write (' TYPE="application/x-oleobject" width="250" height="250">');
				if(param=="high") {
				newWindow. document.write ('<PARAM NAME="url" VALUE="http://88.149.216.105:80">');
				}
				else
				{
				newWindow. document.write ('<PARAM NAME="url" VALUE="http://www.1000mikes.com/audio/1000mikes.m3u?channelId=16878">');
				}
			newWindow.document.write ('<PARAM NAME="AutoStart" VALUE="true">');
			newWindow. document.write ('<PARAM NAME="ShowControls" VALUE="1">');
			newWindow. document.write ('<PARAM NAME="uiMode" VALUE="mini">');
			newWindow. document.write ('</OBJECT>');
			newWindow. document.write ('</div>');
		}

		// Windows Media Player 6.4 Code
		else
		{
			 //IE Code
			 newWindow.document.write ('<div id="playerWrapper">');
			 newWindow.document.write ('<OBJECT ID=MediaPlayer ');
			 newWindow.document.write ('CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 ');
			 newWindow.document.write ('CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 ');
			 newWindow.document.write ('standby="Loading Microsoft Windows Media Player components..." ');
			 newWindow.document.write ('TYPE="application/x-oleobject" width="250" height="250">');

			 if(param=="high") {
				newWindow. document.write ('<PARAM NAME="FileName" VALUE="http://88.149.216.105:80">');
				}
				else
				{
				newWindow. document.write ('<PARAM NAME="FileName" VALUE="http://www.1000mikes.com/audio/1000mikes.m3u?channelId=16878">');
				}

			 newWindow.document.write ('<PARAM NAME="AutoStart" VALUE="true">');
			 newWindow.document.write ('<PARAM NAME="ShowControls" VALUE="1">');
			 newWindow.document.write ('<PARAM NAME="EnableContextMenu" VALUE="false"');
			 newWindow.document.write ('<PARAM NAME="uiMode" VALUE="mini"');
			 newWindow. document.write ('<PARAM NAME="BufferingTime" VALUE="2">');


			 //Netscape code
			 newWindow. document.write ('    	<Embed type="application/x-mplayer2"');
			 newWindow.document.write ('        width=250');
			 newWindow.document.write ('        height=250');
			 newWindow.document.write ('        pluginspage="http://www.microsoft.com/windows/windowsmedia/"');

			 	 if(param=="high") {
				newWindow. document.write ('filename="http://88.149.216.105:80"');
				}
				else
				{
				newWindow. document.write ('filename="http://www.1000mikes.com/audio/1000mikes.m3u?channelId=16878"');
				}

			 newWindow.document.write ('        name="MediaPlayer"');
			 newWindow.document.write ('        EnableContextMenu="false"');
			 newWindow.document.write ('        uiMode="mini"');
			 newWindow.document.write ('        BufferingTime="2"');
			 newWindow.document.write ('        AutoStart="true"');
			 newWindow.document.write ('   	  </embed>');
			 newWindow.document.write ('</OBJECT>');
			 newWindow.document.write ('</div>');
		}

/*
Beacon counter
*/

if(param=="high") {
    newWindow. document.write ('<img border="0" src="http://adv.mrcrawler.it/getBanner.jsp?idBanner=193">');
} else {
    newWindow. document.write ('<img border="0" src="http://adv.mrcrawler.it/getBanner.jsp?idBanner=192">');
}


newWindow.document.write ('<div id="partnersWrapper">');
newWindow.document.write ('<iframe src="http://www.facebook.com/plugins/livefeed.php?app_id=106523662742042&amp;width=400&amp;height=343" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:343px;" allowTransparency="true"></iframe>');
newWindow.document.write ('</div>');

/*newWindow.document.write ('<table width="96%" border="0" cellspacing="0" cellpadding="0" align="center"><tr>');
newWindow.document.write ('<td align="center"><script type=\'text/javascript\' src=\'http://adv.mrcrawler.it/getBanner.jsp?idZona=70\'></script></td>');
newWindow.document.write ('<td align="center"><script type=\'text/javascript\' src=\'http://adv.mrcrawler.it/getBanner.jsp?idZona=71\'></script></td>');
newWindow.document.write ('<td align="center"><script type=\'text/javascript\' src=\'http://adv.mrcrawler.it/getBanner.jsp?idZona=72\'></script></td>');
newWindow.document.write ('</tr></table>');*/

newWindow.document.write ('<table width="96%" border="0" cellspacing="0" cellpadding="0" align="center"><tr>');
newWindow.document.write ('<td align="center"><iframe src="http://adv.mrcrawler.it/getBanner.jsp?idZona=70&w=188&h=189" framespacing="0" frameborder="no" scrolling="no" width="188" height="189" allowtransparency="true"></iframe></td>');
newWindow.document.write ('<td align="center"><iframe src="http://adv.mrcrawler.it/getBanner.jsp?idZona=71&w=188&h=189" framespacing="0" frameborder="no" scrolling="no" width="188" height="189" allowtransparency="true"></iframe></td>');
newWindow.document.write ('<td align="center"><iframe src="http://adv.mrcrawler.it/getBanner.jsp?idZona=72&w=188&h=189" framespacing="0" frameborder="no" scrolling="no" width="188" height="189" allowtransparency="true"></iframe></td>');
newWindow.document.write ('</tr></table>');


newWindow.document.write('</html>');
newWindow.document.close();

}

