/**
Este script é restrito e tem direitos reservados a BrTop.com - www.brtop.com
**/
var flag = 1;
function stop() {
	try { document.NetSoundPlayer.stop(); } catch(e) { document.getElementById("player").innerHTML = null; }
	flag = 0;		
}

function play() {
	var cod = '<object id="NetSoundPlayer" name="NetSoundPlayer" width="0" height="0" classid=CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 standby="Carregando os componentes do Microsoft® Windows® Media Player..." type="application/x-oleobject" viewastext hspace="0" vspace="0" align="baseline"><param name="FileName" value="mms://219.160.162.63/radionikkey"><param name="AutoStart" value="True"><param name="TransparentAtStart" value="True"><param name="ShowControls" value="0"><param name="ShowDisplay" value="true"><param name="ShowStatusBar" value="1"><param name="AutoSize" value="0"><param name="AnimationAtStart" value="true"><embed id="NetSoundPlayer" name="NetSoundPlayer" PluginPage="http://download.microsoft.com/download/winmediaplayer/nsplugin/6.4/WIN98/EN-US/wmpplugin.exe" Type="application/x-mplayer2" Filename="mms://219.160.162.63/radionikkey" AutoStart="True" AutoSize="0" TransparentAtStart="True" ShowControls="0" ShowDisplay="true" ShowStatusBar="1" AnimationAtStart="true" width="400" height="20" vspace="0" align="baseline" /></object>';						
	try { document.NetSoundPlayer.play(); } catch(e) { document.getElementById("player").innerHTML = cod;  }
	flag = 1;
}

function volumeUp(){
	if (document.NetSoundPlayer.Volume <= -1000) 
		document.NetSoundPlayer.Volume = document.NetSoundPlayer.Volume + 200;
	else 
		document.NetSoundPlayer.Volume = 0;
}

function volumeDown() {
	if (document.NetSoundPlayer.Volume >= -9000)
		document.NetSoundPlayer.Volume = document.NetSoundPlayer.Volume - 200;
	else 
		document.NetSoundPlayer.Volume = -10000;			
}
//  Copyright 2007 - BrTop.com -->