// toggle table ___________________________________________________________________________
function toggleL(itemID,linkID){
	if (document.getElementById && navigator.userAgent.indexOf('Opera') == -1){
		var itemEL = document.getElementById(itemID);
		var linkEL = document.getElementById(linkID);
		itemEL.className = itemEL.className == 'TG_visible' ? 'TG_hidden' : 'TG_visible';
		linkEL.innerHTML = itemEL.className == 'TG_hidden' ? '<font face=tahoma size=2><b>+ detalhes</b></font>' : '<font face=tahoma size=2><b>- detalhes</b></font>';
	}
}
if (document.getElementById && navigator.userAgent.indexOf('Opera') == -1){
document.writeln('<style type="text/css">');
document.writeln('.TG_visible {display: normal; font-family: Verdana, Arial, Helvetica, sans-serif;}');
document.writeln('.TG_hidden {display: none;}');
document.writeln('</style>');
}
//fade links ________________________________________________________________________________
function KW_s(r, g, b, el) {
    d=document;hr=r.toString(16);hg=g.toString(16);hb=b.toString(16);
	hr=(hr.length==1)?"0"+hr:hr;hg=(hg.length==1)?"0"+hg:hg;hb=(hb.length==1)?"0"+hb:hb;
	if (d.getElementById) d.getElementById(el).style.color="#"+hr+hg+hb;
}

function KW_c(a,b,s,i) { return Math.floor(a*((s-i)/s)+b*(i/s)) }

function KW_fade(r,g,b,e,n,l,s,o){
    for(i=0;i<=s;i++)setTimeout("KW_s("+KW_c(r,e,s,i)+","+KW_c(g,n,s,i)+","+KW_c(b,l,s,i)+",'"+o+"');",i*s);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
// Pop Up________________________________________________________________________________________

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

<!--
function abrir_janela_popup(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

