<!--

function mudamusica(mm){
window.top.BottomFr.document.track.SetURL(mm);
window.top.BottomFr.document.track.Rewind();
window.top.BottomFr.document.track.Play();
window.top.BottomFr.document.track.SetIsLooping(true);
return false;
}


function MudaCor(new1)
{
var botao = document.getElementById("btfaixa");
var old =botao.value;
var fidOld ="faixa_" + old.toString();
var fidNew ="faixa_" + new1.toString();


if (new1>0) 
{ 

	if (old==0) 
	{ 
		var faixaNew = document.getElementById(fidNew);
		botao.value=new1;
		faixaNew.className="txtbold2";
	}
	else
	{
		var faixaNew = document.getElementById(fidNew);
		var faixaOld = document.getElementById(fidOld);
		faixaOld.className="txtbold4";
		faixaNew.className="txtbold2";
		botao.value=new1;
	}
}
else
{
	if (old>0) 
	{ 
		var faixaOld = document.getElementById(fidOld);
		faixaOld.className="txtbold4";
		botao.value=new1;
	}

}
return false;
}






function playSound(tb) {
if (tb=='M') 
	{ 
	window.top.sounde.src='Tubos.wav';
	}
else
	{
	window.top.document.sounde.Play();
	}
return false;
}

function stopSound(tb) {
if (tb=='M') 
	{ 
	window.top.sounde.src='';
	}
else
	{
	window.top.document.sounde.Stop();
	}
return false;
}


function playclik(sourceId) {   
if (sourceId=='video1') 
{
vid1=document.getElementById("imgplay1");
vid1.src='imagens/aniplay.gif';
vid2=document.getElementById("imgplay2");
vid2.src='imagens/play1.jpg';
vid3=document.getElementById("imgplay3");
vid3.src='imagens/play1.jpg';
} 

if (sourceId=='video2') 
{
vid1=document.images["imgplay1"];
vid1.src='imagens/aniplay.gif';
vid2=document.images["imgplay2"];
vid2.src='imagens/play1.jpg';
vid3=document.images["imgplay3"];
vid3.src='imagens/play1.jpg';
}   

if (sourceId=='video3') 
{
document.imgplay1.src='imagens/play1.jpg';
document.imgplay2.src='imagens/play1.jpg';
document.imgplay3.src='imagens/aniplay.gif';
}   

return false;
}


function stopclik() {   
document.imgplay1.src='imagens/play1.jpg';
document.imgplay2.src='imagens/play1.jpg';
document.imgplay3.src='imagens/play1.jpg';

return false;
}




function resetVideo(divId) {  
if (typeof(divId)=="string") { divId=document.getElementById(divId); }  
if (divId.innerHTML) { 
	org=divId.innerHTML;    
	divId.innerHTML='';    
	divId.innerHTML=org;  
	}
return false;
}


function trocaSign(layerName)
{
    if (document.getElementById) // Netscape 6 and IE 5+
    {
 
 	var targetElement = document.getElementById(layerName);
	if (targetElement.innerHTML=="+")
	{
	 	targetElement.innerHTML = '-';
	}
	else
	{
	 	targetElement.innerHTML = '+';
	}
	
    }
return false;
}


function openMenuIni(layerName1,layerName2)
{
    if (document.getElementById) // Netscape 6 and IE 5+
    {
 
 	if ( layerName1!="F")
	{
	 	if ( layerName2!="F")
		{
	 	var targetElement1 = document.getElementById(layerName1);
	 	var targetElement2 = document.getElementById(layerName2);
	 	targetElement1.style.display = 'block';
	 	targetElement2.style.display = 'block';
		}
		else
		{
	 	var targetElement1 = document.getElementById(layerName1);
	 	targetElement1.style.display = 'block';
		}
	}
	
    }
return false;
}


function openCloseMenu(layerName)
{
    if (document.getElementById) // Netscape 6 and IE 5+
    {
 
 	var targetElement = document.getElementById(layerName);
	if (targetElement.style.display=="block")
	{
	 	targetElement.style.display = 'none';
	}
	else
	{
	 	targetElement.style.display = 'block';
	}
	
    }
return false;
}


function showLayer(layerName)
{
    if (document.getElementById) // Netscape 6 and IE 5+
    {
  
	 var targetElement = document.getElementById(layerName);
	 targetElement.style.display = 'block';
    }
return false;
}

function hideLayer(layerName)
{
    if (document.getElementById) 
    {
	 var targetElement = document.getElementById(layerName);
	 targetElement.style.display = 'none';
    }
return false;
}



//-->
