// JavaScript Document
    if ( navigator.appName == "Netscape" )
    {
        //-- This next line ensures that any plugins just installed are updated in the Browser
        //-- without quitting the browser.
        navigator.plugins.refresh();
        // We don't need the APPLET within IE
        // ***Please note that if you do not need to script events, you can safely remove the next two lines
        document.write("\x3C" + "applet MAYSCRIPT Code=NPDS.npDSEvtObsProxy.class")
        document.writeln(" width=5 height=5 name=appObs\x3E \x3C/applet\x3E")
    }
navigator.plugins.refresh();
titulo="";
titulo_atual="";
numero=0;
numero=numero+1;
function RegisterEventObservers()
{
var plugin = document.WMPlay;
document.appObs.setByProxyDSNewStreamObserver(plugin, true);
troca();
numero=numero-1;
}
function OnDSNewStreamEvt(oldstate, newstate)
{
setTimeout('troca();',1000);
}
function PlayClick ()
{
document.WMPlay.Play();
}
function StopClick ()
{
numero=1;
document.WMPlay.Stop();
if (navigator.appName.indexOf('Netscape') != -1)
document.WMPlay.SetCurrentPosition(0);
else
document.WMPlay.CurrentPosition = 0;
}
function PauseClick ()
{
if (navigator.appName.indexOf('Netscape') != -1)
estado=document.WMPlay.GetPlayState();elseestado=document.WMPlay.PlayState;
if(estado==1)
document.WMPlay.Play();
else if (estado==2)
document.WMPlay.Pause();
}
function FowardClick()
{
document.WMPlay.Next();
}
function BackClick()
{numero=numero-2;
document.WMPlay.Previous();
}
function UpVolumeClick()
{
if (document.WMPlay.Volume <= -300)
document.WMPlay.Volume = document.WMPlay.Volume + 300;
}
function DownVolumeClick()
{
if ( document.WMPlay.Volume >= -8000)
document.WMPlay.Volume = document.WMPlay.Volume - 300;
}

function click()
	{ if(event.button==2||event.button==3) {
	 oncontextmenu='return false';
	  }
	}
	document.onmousedown=click
	document.oncontextmenu = new Function("return false;")

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
	  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
	}
	MM_reloadPage(true);