function Inv(Lar,Alt) {document.write('<img src="objetos/inv123.gif" width="'+ Lar +'" height="'+ Alt +'" border=0>');}

function InvAzul(Lar,Alt) {document.write('<img src="objetos/inv1.gif" width="'+ Lar +'" height="'+ Alt +'" border=0>');}

function InvCinza(Lar,Alt) {document.write('<img src="objetos/inv_cinza.gif" width="'+ Lar +'" height="'+ Alt +'" border=0>');}

function InvBranco(Lar,Alt) {document.write('<img src="objetos/inv_branco.gif" width="'+ Lar +'" height="'+ Alt +'" border=0>');}

//function Menu(link,url,i) {document.write('<TD width="9" style="cursor:hand;" onclick="location.href(\''+url+'\');" onmouseover="document.getElementById(\'tdcentro'+i+'\').style.background = \'#0169C0\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir_on.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq_on.gif\',\'1\');" onmouseout="document.getElementById(\'tdcentro'+i+'\').style.background = \'#007ED3\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq.gif\',\'1\');"><IMG SRC="objetos/menu_aba_esq.gif" name=aba_esq_'+i+'></TD><TD vAlign="middle" id="tdcentro'+i+'" align="center" bgColor="#0081d7" style="white-space : nowrap;cursor:hand;" onmouseover="this.style.background = \'#0169C0\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir_on.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq_on.gif\',\'1\');" onmouseout="this.style.background = \'#007ED3\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq.gif\',\'1\');"><a href='+ url +' class=LinkBranco10MenuNormal>' + link + '</a></TD><TD width="9" style="cursor:hand;" onclick="location.href(\''+url+'\');" onmouseover="document.getElementById(\'tdcentro'+i+'\').style.background = \'#0169C0\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir_on.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq_on.gif\',\'1\');" onmouseout="document.getElementById(\'tdcentro'+i+'\').style.background = \'#007ED3\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq.gif\',\'1\');"><IMG SRC="objetos/menu_aba_dir.gif" name=aba_dir_'+i+'></TD>');}
function Menu(link,url,i) {document.write('<td id=\'_tbodyMenu'+i+'\'><table border=0 cellpadding=0 cellspacing=0><tr><TD id=\'_tdEsq'+i+'\' width="9" style="cursor:hand;" onclick="location.href(\''+url+'\');" onmouseover="document.getElementById(\'tdcentro'+i+'\').style.background = \'#0169C0\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir_on.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq_on.gif\',\'1\');" onmouseout="document.getElementById(\'tdcentro'+i+'\').style.background = \'#007ED3\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq.gif\',\'1\');"><IMG SRC="objetos/menu_aba_esq.gif" name=aba_esq_'+i+'></TD><TD vAlign="middle" id="tdcentro'+i+'" align="center" bgColor="#007ED3" style="white-space : nowrap;cursor:hand;" onmouseover="this.style.background = \'#0169C0\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir_on.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq_on.gif\',\'1\');" onmouseout="this.style.background = \'#007ED3\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq.gif\',\'1\');"><a href='+ url +' class=LinkBranco10MenuNormal>' + link + '</a></TD><TD id=\'_tdDir'+i+'\' width="9" style="cursor:hand;" onclick="location.href(\''+url+'\');" onmouseover="document.getElementById(\'tdcentro'+i+'\').style.background = \'#0169C0\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir_on.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq_on.gif\',\'1\');" onmouseout="document.getElementById(\'tdcentro'+i+'\').style.background = \'#007ED3\';MM_swapImage(\'aba_dir_'+i+'\',\'\',\'objetos/menu_aba_dir.gif\',\'1\');MM_swapImage(\'aba_esq_'+i+'\',\'\',\'objetos/menu_aba_esq.gif\',\'1\');"><IMG SRC="objetos/menu_aba_dir.gif" name=aba_dir_'+i+'></TD></tr></table></td>');}

function AbreBoxCinza(Lar,Alt) {document.write('<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="'+Lar+'" Height="'+Alt+'" border="0"><TR><TD width="20" height="15"><IMG src="objetos/esq_top_box_cinza.gif"></TD><TD background="objetos/meio_top_box_cinza.gif" height="15"><IMG src="objetos/meio_top_box_cinza.gif"></TD><TD width="20" height="15"><IMG src="objetos/dir_top_box_cinza.gif"></TD></TR><TR><TD width="20" background="objetos/esq_meio_box_cinza.gif"><IMG src="objetos/esq_meio_box_cinza.gif"></TD><TD bgcolor=white valign=top>');}

function FechaBoxCinza() {document.write('</TD><TD width="20" background="objetos/dir_meio_box_cinza.gif"><IMG src="objetos/dir_meio_box_cinza.gif"></TD></TR><TR><TD width="20" height="15" valign=top><IMG src="objetos/esq_bottom_box_cinza.gif"></TD><TD background="objetos/meio_bottom_box_cinza.gif" height="15" valign=top><IMG src="objetos/meio_bottom_box_cinza.gif"></TD><TD width="20" height="15" valign=top><IMG src="objetos/dir_bottom_box_cinza.gif"></TD></TR></TABLE>');}

function AbreBoxCinzaTitulo (Lar) {document.write('<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="'+Lar+'" border="0"><TR><TD width="20"><IMG src="objetos/esq_box_tit.gif"></TD><TD style=padding-top:2px valign=middle background="objetos/fundo_box_tit.gif">');}

function FechaBoxCinzaTitulo() {document.write('</TD><TD width="20"><IMG src="objetos/dir_box_tit.gif"></TD></TR></TABLE>');}

function Pontilhado(Lar) {document.write('<TABLE cellSpacing="0" cellPadding="0" border="0" width='+Lar+'><tr><td background="objetos/pontilhado.gif"><IMG SRC="objetos/pontilhado.gif"></td></tr></table>');}

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];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function Logout()
{
//WindowObjectReference = window.open("Quit.aspx",
//"DescriptiveWindowName", "width=1,height=1,scrollbars=no,status=0");


}
/*function PaintAtual(i)
{
document.getElementById("tdcentro"+i).style.background = "#0169C0";
MM_swapImage("aba_dir_"+i,"","objetos/menu_aba_dir_on.gif","1");
MM_swapImage("aba_esq_"+i,"","objetos/menu_aba_esq_on.gif","1");
}*/
function PaintAtual(i)
{

//document.getElementById("_tbodyMenu"+i).innerHTML="<table border=0 cellpadding=0 cellspacing=0><tr><td>"+document.getElementById("_tdEsq"+i).innerHTML+"</td><td bgcolor='#0169C0' style='white-space : nowrap;' class=LinkBranco10MenuNormal>"+document.getElementById("tdcentro"+i).innerHTML.replace(" ","&nbsp;")+"</td><td>"+document.getElementById("_tdDir"+i).innerHTML+"</td></tr></table>";
//document.getElementById("_tbodyMenu"+i).innerHTML=document.getElementById("_tbodyMenu"+i).innerHTML.replace("dir.gif","dir_on.gif").replace("esq.gif","esq_on.gif");


}

//-->