//--- Funcoes para clarear Imagens //-------------------------------- function high(which2){ theobject=which2 highlighting=setInterval("highlightit(theobject)",50) which2.style.width=165 } function low(which2){ clearInterval(highlighting) if(which2.style.MozOpacity) which2.style.MozOpacity=0.3 else if(which2.filters) which2.filters.alpha.opacity=50 which2.style.width=159 } function highlightit(cur2){ if(cur2.style.MozOpacity<1) cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1 else if(cur2.filters&&cur2.filters.alpha.opacity<120) cur2.filters.alpha.opacity+=10 else if(window.highlighting) clearInterval(highlighting) } function naoMostraLink(r) { r.document.oncontextmenu = function() {return false;} } function hand(tf) { tfid= tf.id; document.getElementById(tfid).style.cursor='hand'; } function pointer(tf) { tfid= tf.id; document.getElementById(tfid).style.cursor='pointer'; } function submitF(f) { //document.fdSP.submit(); document.getElementById(f).submit(); } function tabfd(cur2) { tfdn = cur2.id; document.getElementById(tfdn).style.cursor="hand"; document.getElementById(tfdn).style.backgroundColor="#DAFAFF"; } function corFundo01(cur2) { tfdn = cur2.id; document.getElementById(tfdn).style.cursor="hand"; document.getElementById(tfdn).style.backgroundColor = "#DDFFEE"; } function tabfdOut(cur2) { tfdn = cur2.id; document.getElementById(tfdn).style.backgroundColor="#AADDFF"; document.getElementById(tfdn).style.cursor="pointer"; } function tabfdBR(cur2) { tfdn = cur2.id; document.getElementById(tfdn).style.cursor="hand"; document.getElementById(tfdn).style.backgroundColor="#0000DD"; } function tabfdOutBR(cur2) { tfdn = cur2.id; document.getElementById(tfdn).style.backgroundColor="#226699"; document.getElementById(tfdn).style.cursor="pointer"; } function tabfdBR1(cur2) { tfdn = cur2.id; document.getElementById(tfdn).style.cursor="hand"; document.getElementById(tfdn).style.backgroundColor="#0000DD"; } function tabfdOutBR1(cur2) { tfdn = cur2.id; document.getElementById(tfdn).style.backgroundColor="#2266BB"; document.getElementById(tfdn).style.cursor="pointer"; } function border_inset(ins) { ins.style.borderWidth="2px"; ins.style.borderColor="#CDCDCD"; ins.style.borderStyle="solid"; } function border_outset(outs) { outs.style.border="outset"; } function tabfdVisible(tfd) { tfdn = tfd.id; v = "estados"; if(document.fdSP.stat.value=="") { document.getElementById(v).style.visibility = 'visible'; document.fdSP.stat.value="X"; }else { document.fdSP.stat.value=""; document.getElementById(v).style.visibility = 'hidden'; } } function tabfdHidden(tfd) { tfdn = tfd.id; v = "estados"; document.getElementById(v).style.visibility = 'hidden'; } //--- Funcoes para aumentar e diminuir imagens //-------------------------------------------- // class="imgfull" // onmouseover="this.className='imgfade'" // onmouseout="this.className='imgfull'" function openAlerta() { url = "/html/banner_nfe.shtml"; //window.open(url,"","left=180,top=30,width=600,height=250,location=0,scrollbars=1,menu=0,resizable=1"); window.open(url); } function openPesqBR() { url = "pesqBR.php"; pos = "left=200,top=200,width=120,height=280,status=0,toolbar=0,location=0,"; pos = pos+"scrollbars=0,menubar=0,resizable=0,target=_top"; window.open(url,"pesqBR",pos); } function submit_Pesq(ur) { url = "/html/"+ur; //window.innerWidth="700"; //window.innerHeight="530"; window.open(url,"Pesquisa","left=20,top=20,width=800,height=520,status=1,location=1,scrollbars=1,menu=1,resizable=1"); } function submit_PesqBand(ur) { url = ur; //window.innerWidth="700"; //window.innerHeight="530"; window.open(url,"Pesquisa","left=20,top=20,width=880,height=550,status=1,location=1,scrollbars=1,menu=1,resizable=1"); }