// JavaScript Document

<!--
function openRADIO()
{
	window.open('/popupradio.html','Radio','width=500,height=180,resizable=1').focus()
}
	
function switchRadio(index)
{
	wrapper = document.getElementById('sound_wrapper');
	src= '';
	if( index == 0 )
	{
		src = 'http://play.rbn.com/?url=realone/realradio/open/live/3005094.rm&proto=rtsp';
	}
	if(index == 1)
	{
		src='http://play.rbn.com/?url=realone/realradio/open/live/3005034.rm&proto=rtsp';
	}
	wrapper.innerHTML = '<OBJECT ID=RVOCX CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width=20 height=20 align="top">'+
		'<PARAM NAME="SRC" VALUE="' + src + '">' +
		'<PARAM NAME="CONTROLS" VALUE="PlayOnlyButton"><PARAM NAME="CONSOLE" VALUE="one"><param name="AUTOSTART" value="true">'
		'<embed src="' + src + '"' + 
		'width=20 height=20 autostart=true align="top" CONTROLS=PlayOnlyButton  CONSOLE=one NOJAVA=true> '+
		'<NOEMBED><A HREF="' + src + '">' +
		'Play with RealOne Player. </A> </NOEMBED></embed></OBJECT>' ;
	
	info = 	document.getElementById('radio_desc');
	if( index == 0 )
	{
		info.innerHTML = 'The music of the 100 greatest artists of all time';
	}
	if(index == 1)
	{
		info.innerHTML = 'Rolling Stone editors\' favorite new songs';
	}
}

-->