// JavaScript Document

function showHide(id1,id2,ev) {



 var obj01 = document.getElementById(id1);

 var obj02 = document.getElementById(id2);

 var evento = ev;

 

	if(evento == "show")

	{

			for (i=1;i<=21;i++)

			{

				if(i >= 10){tb01="tbl"+i;}else{

				var tb01 = "tbl0"+i;}

				if(i >= 10){tb02="tb"+i;}else{

				var tb02 = "tb0"+i;}

				if(document.getElementById(tb02))

				{

					document.getElementById(tb02).className = "showLink";

				}

				if(document.getElementById(tb01))

				{

					document.getElementById(tb01).className = "hide";

				}

			}

		obj01.className = "hide";

		obj02.className = "show";

	} 

	else if(evento == "hide")

	{

		obj01.className = "showLink";

		obj02.className = "hide";

	} 

}

//-->


// FUNCOES DO BANNER EXPANSIVO DO TOPO

function flash_w3c(arqflash,ident,largura,altura) {
//Verificando se o navegor é o Internet Explorer
        if (window.navigator.appName == "Microsoft Internet Explorer") {
                document.write('<object border="0" id="'+ident+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+largura+'" height="'+altura+'" align="right">');
//Se qualquer navegador diferente do IE, executar o bloco abaixo                
        }else{
                document.write('<object border="0" id="'+ident+'" type="application/x-shockwave-flash" data="'+arqflash+'" width="'+largura+'" height="'+altura+'" align="right">');
        }
		
//Implementando o swf na página, com os parâmetros mais importantes.
                document.write('<param name="allowScriptAccess" value="sameDomain">');
                document.write('<param name="movie" value="'+arqflash+'">');
                document.write('<param name="quality" value="high">');
                document.write('<param name="salign" value="t">');
                document.write('<param name="wmode" value="transparent">');
                document.write('</object>');
}


function bannerExpansivel(h){

        document.getElementById("topo_swf").style.height = h;

}

//-->
