\n'); } function ixfuncao(valor,lingua){ var lp= new Object ; lp = document.getElementById('limpressor'); if ( valor != 0 ) lp.style.display = 'block'; else lp.style.display = 'none'; zmain.ixfuncao(valor);//='main.php?cix='+valor+'&lang='+lingua; posicionaIMGTopo(); return ; } function busca(valor,lingua){ zmain.busca(valor) posicionaIMGTopo(); } function zprint(){ zmain.zprint(); } ////////////////////////////////////// var tempo = 200; var Stopdown = 0; var Stopup = 0; var posxpp = 0; var posxppinc = 50; function LayerScr(){ return QLayerScr('zmain'); } function LayerNAV(){ return QLayerScr( 'LayerNAV' ); } function QLayerScr(name){ var lm = new Object ; lm = document.getElementById( name ); if (!lm) { alert("no LM"); lm = zmain.document.getElementById( name ); } return lm; } function PGoUp() { if (Stopup) return; IxFGoUp(); setTimeout(" PGoUp()",tempo); } function PGoDown() { if (Stopdown) return; IxFGoDown(); setTimeout(" PGoDown()",tempo); } function IxFGoUp(){ posxpp -= posxppinc; if ( posxpp < posxppinc ) posxpp = 0; zmain.window.scroll(0, posxpp); }; function IxFGoDown(){ posxpp += posxppinc; zmain.window.scroll(0, posxpp); } function IxFStop(){ zmain.window.scroll(0, 0); } function FStopdown() { Stopdown = 1; } function FStopup() { Stopup = 1; } function FGodown() { Stopdown = 0; PGoDown(); } function FGoUp() { Stopup = 0; PGoUp(); } /////////////////////// function SGoDown() { Stopdown = 0; IxFGoDown(); } function SGoUp() { Stopup = 0; IxFGoUp(); } ////////////////////////// // funcoes para o scroll function updateDelta(e){ if (!e) e = window.event; if (e.wheelDelta == 0) IxFStop(); if (e.wheelDelta > 0 || e.detail < 0) IxFGoUp(); else IxFGoDown(); if (e.preventDefault) e.preventDefault(); e.returnValue = false; } function pcontentorresized() { var lm= new Object ; var ln= new Object ; content = zmain.document.getElementById( 'LayerConteudo' ); if (!content) { //alert("no content"); return; } lm = LayerScr(); ln = LayerNAV(); if ( !(document.all) ) { // return; } if ( content.scrollHeight > 390 ) { setIZStyle( getObj('LayerNAV'),'position:absolute; top:263px; left:657px; z-index:60; visibility: visible;'); } else { setIZStyle( getObj('LayerNAV'),'position:absolute; top:263px; left:657px; z-index:60; visibility: hidden;'); } if(document.attachEvent) content.attachEvent("onmousewheel", updateDelta); else content.addEventListener("DOMMouseScroll", updateDelta, false); } // done hiding -->
|
|
|
|
|
|
|
|