// JavaScript Document
var theradio = 0;

function PlayItradio(theradio){
document.getElementById("radio1").innerHTML='<object id="mediaPlayer" width="150" height="50" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="'+theradio+'">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="1000">'
      +'<param name="loop" value="1">'
	  +'<PARAM NAME="ShowTracker" VALUE="0">'
	  +'<param name="ShowStatusBar" value="1">'
	  +'<param name="ShowPositionControls" value="0">'
      +'<embed type="application/x-mplayer2" '
	  +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowPositionControls="0" '
	  +'ShowTracker="0" '
	  +'ShowStatusBar="1" '
	  +'Volume="1000" '
	  +'showControls="1" width="150" height="50" '
      +'src="'+theradio+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function clearClip4(theradio){
MM_showHideLayers('clipplayer4','','hide');
document.getElementById("clip4").innerHTML='<object id="mediaPlayer" width="300" height="70" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="">'
      +'<param name="autoStart" value="0">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="-2000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="-2000" '
	  +'showcontrols="true" width="300" height="70" '
      +'src="'+theradio+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function clearClip3(theradio){
MM_showHideLayers('clipplayer3','','hide');
document.getElementById("clip3").innerHTML='<object id="mediaPlayer" width="300" height="70" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="">'
      +'<param name="autoStart" value="0">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="-2000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="-2000" '
	  +'showcontrols="true" width="300" height="70" '
      +'src="'+theradio+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function clearClip2(theradio){
MM_showHideLayers('clipplayer2','','hide');
document.getElementById("clip2").innerHTML='<object id="mediaPlayer" width="300" height="70" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="">'
      +'<param name="autoStart" value="0">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="-2000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="-2000" '
	  +'showcontrols="true" width="300" height="70" '
      +'src="'+theradio+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function clearClip(theradio){
MM_showHideLayers('clipplayer','','hide');
document.getElementById("clip1").innerHTML='<object id="mediaPlayer" width="300" height="70" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="">'
      +'<param name="autoStart" value="0">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="-2000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="-2000" '
	  +'showcontrols="true" width="300" height="70" '
      +'src="'+theradio+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function clearRadio(theradio){
MM_goToURL('parent.frames.topFrame1','radioframe_stop.htm');return document.MM_returnValue;
clearVid(theradio);
clearMus(theradio);
clearClip(theradio);
clearClip2(theradio);
clearClip3(theradio);
clearClip4(theradio);
}

function clearRadio2(theradio){
clearVid(theradio);
clearMus(theradio);
clearClip(theradio);
clearClip2(theradio);
clearClip3(theradio);
clearClip4(theradio);
}

function clearRadio3(theradio){
document.getElementById("radio1").innerHTML='<object id="mediaPlayer" width="150" height="50" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="http://www.aenimacgs.com/radiochaos/radiochaos.asx">'
      +'<param name="autoStart" value="0">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="1000">'
      +'<param name="loop" value="1">'
	  +'<PARAM NAME="ShowTracker" VALUE="0">'
	  +'<param name="ShowStatusBar" value="1">'
	  +'<param name="ShowPositionControls" value="0">'
      +'<embed type="application/x-mplayer2" '
	  +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowPositionControls="0" '
	  +'ShowTracker="0" '
	  +'ShowStatusBar="1" '
	  +'Volume="1000" '
	  +'showcontrols="1" width="150" height="50" '
      +'src="http://www.aenimacgs.com/radiochaos/radiochaos.asx" '
	  +'autoStart="0" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function clearVid(thevideo){
MM_showHideLayers('videoplayer','','hide');
document.getElementById("video1").innerHTML='<object id="mediaPlayer" width="320" height="310" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="-2000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="-2000" '
	  +'showcontrols="true" width="320" height="310" '
      +'src="'+thevideo+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function clearMus(thesong){
MM_showHideLayers('musicplayer2','','hide');
MM_showHideLayers('musicplayer2small','','hide');
document.getElementById("music1").innerHTML='<object id="mediaPlayer" width="300" height="70" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="-2000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="-2000" '
	  +'showcontrols="true" width="300" height="70" '
      +'src="'+thesong+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function PlayItmusic(thesong){
MM_showHideLayers('musicplayer2','','show');
clearVid(thesong);
clearRadio(thesong);
clearClip(thesong);
clearClip2(thesong);
clearClip3(thesong);
clearClip4(theradio);
document.getElementById("music1").innerHTML='<object id="mediaPlayer" width="300" height="70" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="'+thesong+'">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="1000">'
      +'<param name="loop" value="0">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="1000" '
	  +'showcontrols="true" width="300" height="70" '
      +'src="'+thesong+'" '
	  +'autoStart="1" '
	  +'loop="0" '
      +'</embed>'
+'</object>'
}

function PlayItvideo(thevideo){
MM_showHideLayers('videoplayer','','show');
clearMus(thevideo);
clearRadio(thevideo);
clearClip(thevideo);
clearClip2(thevideo);
clearClip3(thevideo);
clearClip4(theradio);
document.getElementById("video1").innerHTML='<object id="mediaPlayer" width="348" height="331" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="'+thevideo+'">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="1000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="1000" '
	  +'showcontrols="true" width="348" height="331" '
      +'src="'+thevideo+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function PlayItclip(theclip){
MM_showHideLayers('clipplayer','','show');
clearMus(theclip);
clearRadio(theclip);
clearVid(theclip);
clearClip2(theclip);
clearClip3(theclip);
clearClip4(theradio);
document.getElementById("clip1").innerHTML='<object id="mediaPlayer" width="320" height="310" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="'+theclip+'">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="1000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="1000" '
	  +'showcontrols="true" width="320" height="310" '
      +'src="'+theclip+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function PlayItclip2(theclip2,width2,height2){
MM_showHideLayers('clipplayer2','','show');
clearMus(theclip2);
clearRadio(theclip2);
clearVid(theclip2);
clearClip(theclip2);
clearClip3(theclip2);
clearClip4(theradio);
document.getElementById("clip2").innerHTML='<object id="mediaPlayer" width="'+width2+'" height="'+height2+'" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="'+theclip2+'">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="1000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="1000" '
	  +'showcontrols="true" width="'+width2+'" height="'+height2+'" '
      +'src="'+theclip2+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function PlayItclip3(theclip3,width3,height3){
MM_showHideLayers('clipplayer3','','show');
clearMus(theclip3);
clearRadio(theclip3);
clearVid(theclip3);
clearClip(theclip3);
clearClip2(theclip3);
clearClip4(theradio);
document.getElementById("clip3").innerHTML='<object id="mediaPlayer" width="'+width3+'" height="'+height3+'" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="'+theclip3+'">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="1000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="1000" '
	  +'showcontrols="true" width="'+width3+'" height="'+height3+'" '
      +'src="'+theclip3+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}

function PlayItclip4(theclip4){
MM_showHideLayers('clipplayer4','','show');
clearMus(theclip4);
clearRadio(theclip4);
clearVid(theclip4);
clearClip(theclip4);
clearClip2(theclip4);
clearClip3(theclip4);
document.getElementById("clip4").innerHTML='<object id="mediaPlayer" width="320" height="310" '
      +'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" '
      +'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
      +'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
      +'<param name="fileName" value="'+theclip4+'">'
      +'<param name="autoStart" value="1">'
      +'<param name="showControls" value="1">'
	  +'<param name="Volume" value="1000">'
      +'<param name="loop" value="1">'
	  +'<param name="ShowStatusBar" value="1">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'ShowStatusBar="1" '
	  +'Volume="1000" '
	  +'showcontrols="true" width="320" height="310" '
      +'src="'+theclip4+'" '
	  +'autoStart="1" '
	  +'loop="1" '
      +'</embed>'
+'</object>'
}