<!--

var initializedPlayer=false;
var GMTOffset = 2;

function InitPlayer() 
{
	window.setTimeout("ReloadPlaylist()",5000);
}

function ReloadPlaylist() 
{
var ref2;
ref2="http://www.radio42.eu/playlist/playlistold.php?ffffff";
if (MS && (top!=self)) document.playlistFRM.document.location.href = ref2
else if (MS) parent.playlistFRM.document.location.href = ref2
else playlistFRM.location.href = ref2;

if (initializedPlayer == false)
	{
	   initializedPlayer=true;
	   top.window.focus();
	}
}

function OpenPlayer(ver) 
{
var ref3;
if (ver == 0) ref3="player_frame.html?wmaHiFi";
if (ver == 1) ref3="player_frame.html?wmaHiFi";
if (ver == 6) ref3="player_frame.html?wmaMiFi";
if ((ver == 6) && WinMSIE) { ver=7; }
if (ver == 7) ref3="player_frame.html?wmaMiFi";
if (ver == 2) ref3="player_frame.html?freeLoFi";
if (ver == 3) ref3="player_frame.html?freeHiFi";
if (ver == 4) ref3="player_frame.html?quickLoFi";
if (ver == 5) ref3="player_frame.html?quickHiFi";
if (ver == 8) ref3="player_frame.html?realLoFi";
if (ver == 9) ref3="player_frame.html?realHiFi";
if (ver == 10) ref3="player_frame.html?wmaHiFiUS";
if (ver == 11) ref3="player_frame.html?realHiFiUS";
if (ver == 12) ref3="player_frame.html?quickHiFiUS";
if (ver == 13) ref3="player_frame.html?freeHiFiUS";
if ( NS && (BrowserVersionShort < 5) ) ref3="player_frame.html?wmaMiFi";
radio42Win = window.open(ref3,"r42Play","width=720,height=380,left=20,top=20,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
}

function OpenPls() 
{
var ref3;
ref3="http://www.radio42.eu/playlist/playlist.php?limit=20&lang=EN";
PlsWin = window.open(ref3,"r42PLS","width=620,height=460,left=10,top=10,location=no,menubar=no,status=no,resizable=yes,toolbar=no,scrollbars=yes");
}

function OpenShop() 
{
var ref1;
ref1="http://www.shop.radio42.com";
ShopWin = window.open(ref1,"r42Shop","width=525,height=525,left=20,top=20,location=yes,menubar=yes,status=no,resizable=yes,toolbar=yes");
}

function OpenWin(_winnam, URI1, _param)
{
	NewWin = window.open(URI1, _winnam, _param);
}

function Enter(URI1,F1)
{
  if (self.name == "shoutFRM") F1 = "parent." + F1;
  Frame1=eval(F1);
  Frame1.location.href = URI1;
}

var SHOUTopen=0;
var ShoutWin=0;
function OpenShout(_posX,_posY)
{
if (ShoutWin.closed == true) SHOUTopen=0;
if (SHOUTopen==0) {
	var ref3;
	ref3="http://www.radio42.eu/shoutbox/shoutbox42.php";
	ShoutWin = window.open(ref3,"r42Shout","width=206,height=340,left="+_posX+",top="+_posY+",location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no");
	if (ShoutWin) SHOUTopen=1;
}
else { ShoutWin.focus(); }
}

var delay=6000;
var nextm=0;
var toggle=0;
var out=new String;
var msg=new Array
(
	'Music for LOUNGE-LOVERS :: Ambient.Chillout.House.Soul.Funk.NuJazz.Latin.Downtempo.',
	'radio42 is listener supported, we need your help...',
	'Click on our harmless BANNERs, we need your support!',
	'Visit our radio42 Shop and buy new CDs, thats the way to keep us alive!',
	'Please make a donation - radio42 needs your support - we are a privately operated station.'
);

function start_ticker()
{
	do_ticker(msg[0]);
}

function do_ticker()
{
	if (toggle==0) 
	{
		out=msg[nextm];
		toggle=1;
	}
	else
	{
		var jetzt = new Date();
		var NewNow = jetzt.getTime() + (GMTOffset * 3600000);
		jetzt.setTime(NewNow);
		var Std = jetzt.getUTCHours();
		var Tag = jetzt.getUTCDay();
		out="Current Program: >>Stereo-42<< :: Music for LOUNGE-LOVERS.";
		if (Std==11) { out="Current Program: >>Lounge-Sofa<< :: new and fresh Lounge-Tunes - listening pearls."; }
		if (Std==12) { out="Current Program: >>Lounge-Hitz<< :: Lounge-Pearls - the Hits."; }
		if ((Tag==1) && (Std==19)) { out="Current Program: >>KIESER.VELTEN vs. KP PROD.<< :: Cakebeat Collektive Sounds"; }
		if ((Tag==1) && (Std==21)) { out="Current Program: >>DEEPVIBES.de<< :: the Sound of Soulful and Deep House music."; }
		if ((Tag==1) && (Std==22)) { out="Current Program: >>DEEPVIBES.de<< :: the Sound of Soulful and Deep House music."; }
		if ((Tag==2) && (Std==8)) { out="Current Program: >>TIDE 96.0<< :: RADIO42 from and with Bernd Niedergesaess."; }
		if ((Tag==2) && (Std==18)) { out="Current Program: >>WAVEMUSIC<< :: soulful, deep, funky Jazz and smooth RnB."; }
		if ((Tag==2) && (Std==19)) { out="Current Program: >>WAVEMUSIC<< :: soulful, deep, funky Jazz and smooth RnB."; }
		if ((Tag==2) && (Std==21)) { out="Current Program: >>HOUSESESSION<< :: the sound of...the extra Club-Lounge."; }
		if ((Tag==2) && (Std==22)) { out="Current Program: >>HOUSEORDNUNG<< :: with the HousePacific Radio Show."; }
		if ((Tag==2) && (Std==23)) { out="Current Program: >>Soul-Sushi<< :: finest Soul, RnB plus classic old school Grooves."; }
		if ((Tag==3) && (Std==0)) { out="Current Program: >>Soul-Sushi<< :: finest Soul, RnB plus classic old school Grooves."; }
		if ((Tag==3) && (Std==3)) { out="Current Program: >>Lounge-Sofa<< :: new and fresh Lounge-Tunes - listening pearls."; }
		if ((Tag==3) && (Std==4)) { out="Current Program: >>Lounge-Sofa<< :: new and fresh Lounge-Tunes - listening pearls."; }
		if ((Tag==3) && (Std==19)) { out="Current Program: >>INTERNATIONAL FREERIDIN<< :: Broken-Beats, DrumNBass, NuJazz"; }
		if ((Tag==3) && (Std==20)) { out="Current Program: >>SIMON HARRISON<< :: the Basic Soul Radio Show - Eclectic Mix"; }
		if ((Tag==3) && (Std==21)) { out="Current Program: >>SIMON HARRISON<< :: the Basic Soul Radio Show - Eclectic Mix"; }
		if ((Tag==4) && (Std==7)) { out="Current Program: >>Soul-Sushi<< :: finest Soul, RnB plus classic old school Grooves."; }
		if ((Tag==4) && (Std==8)) { out="Current Program: >>Soul-Sushi<< :: finest Soul, RnB plus classic old school Grooves."; }
		if ((Tag==4) && (Std==18)) { out="Current Program: >>GANESH - The Blue Set<< :: with DJ Enzo Ponzio from Italy."; }
		if ((Tag==4) && (Std==19)) { out="Current Program: >>MILLIWAYS<< :: with various DJs from around the world."; }
		if ((Tag==4) && (Std==20)) { out="Current Program: >>MILLIWAYS<< :: with various DJs from around the world."; }
		if ((Tag==5) && (Std==14)) { out="Current Program: >>COMPOST<< :: Radio Show - presented by Michael R&uuml;tten."; }
		if ((Tag==5) && (Std==15)) { out="Current Program: >>COMPOST<< :: Radio Show - presented by Michael R&uuml;tten."; }
		if ((Tag==5) && (Std==19)) { out="Current Program: >>JAZZ-NOT-JAZZ<< :: smooth Soul and classic RnB with  Jazz."; }
		if ((Tag==5) && (Std==20)) { out="Current Program: >>JAZZ-NOT-JAZZ<< :: smooth Soul and classic RnB with Jazz."; }
		if ((Tag==5) && (Std==21)) { out="Current Program: >>GOGO Music Radio Show<< :: vs. Peppermint JAMsession."; }
		if ((Tag==5) && (Std==22)) { out="Current Program: >>GOGO Music Radio Show<< :: vs. Peppermint JAMsession."; }
		if ((Tag==5) && (Std==23)) { out="Current Program: >>Lounge-Sofa<< :: new and fresh Lounge-Tunes - listening pearls."; }
		if ((Tag==6) && (Std==0)) { out="Current Program: >>Lounge-Sofa<< :: new and fresh Lounge-Tunes - listening pearls."; }
		if ((Tag==6) && (Std==18)) { out="Current Program: >>SIMON HARRISON<< :: the Basic Soul Radio Show - Eclectic Mix"; }
		if ((Tag==6) && (Std==19)) { out="Current Program: >>SIMON HARRISON<< :: the Basic Soul Radio Show - Eclectic Mix"; }
		if ((Tag==6) && (Std==8)) { out="Current Program: >>TIDE 96.0<< :: RADIO42 from and with Bernd Niedergesaess"; }
		if ((Tag==6) && (Std==20)) { out="Current Program: >>FAMHOUSE<< :: famous house and discosessions from famhouse.de"; }
		if ((Tag==0) && (Std==6)) { out="Current Program: >>Club-Lounge<< :: fresh, new and glamorous Beats of sexy Club Tunes."; }
		if ((Tag==0) && (Std==7)) { out="Current Program: >>Club-Lounge<< :: fresh, new and glamorous Beats of sexy Club Tunes."; }
		if ((Tag==0) && (Std==18)) { out="Current Program: >>GANESH - The Blue Set<< :: with DJ Enzo Ponzio from Italy."; }
		if ((Tag==0) && (Std==19)) { out="Current Program: >>PURPLE MUSIC Radio Show<< :: with Jamie Lewis."; }
		if ((Tag==0) && (Std==20)) { out="Current Program: >>BARGROOVES vs. SWITCHSTANCE<< :: the record label night."; }
		if ((Tag==0) && (Std==21)) { out="Current Program: >>BOGALOO RADIO SHOW<< :: with the Bogaloo Allstars."; }
		if ((Tag==0) && (Std==22)) { out="Current Program: >>BOGALOO RADIO SHOW<< :: with the Bogaloo Allstars."; }
		toggle=0;
	}

	if(DHTML) 
	{
	   if(NS)
	   {
	      setCont("id","myticker",null,"<span class=\"myticker\">" + out + "<\/span>");
	   }
	  else 
	   {
	      setCont("id","myticker",null,out);
	   }
	}
	else return;

	if(++nextm>msg.length) nextm=0;
	window.setTimeout("do_ticker()", delay);
}

function DispTime() 
{
  var Now = new Date();
  var NewNow = Now.getTime() + (GMTOffset * 3600000);
  Now.setTime(NewNow);
  var sNow = Now.toGMTString() + "+1";
  if(DHTML) 
  {
    if(NS) setCont("id","Clock",null,"<span class=\"Clock\">" + sNow + "<\/span>");
    else   setCont("id","Clock",null,sNow);
  }
  else return;
  window.setTimeout("DispTime()",3000);
}


//-->
