var nShowSubMenu = 0; var nShowMenu = 0; var nIsNN4 = (document.layers)?1:0; var nIsIE = (document.all) ? 1:0; var nGlobalAnoFuv = 2008; var nVestAno = 'vest'+nGlobalAnoFuv; var nTransfAno = 'tran2009'; var cMenuStr = ""; var cSubMenuStr = ""; var cCallMenuStr = ""; var oDoc; var nVMin = 1980; var nVMax = 2002; var nTMin = 2001; var nTMax = 2002; var cBrowserType = "?"; if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById) cBrowserType="OP"; if (document.all) cBrowserType="IE"; if (document.layers) cBrowseType="NN"; if (!document.all && document.getElementById) cBrowserType="MO"; j1n = new Image(); j1c = new Image(); j1n.src = "/img/a2vesti.gif"; j1c.src = "/img/a1vesti.gif"; j2n = new Image(); j2c = new Image(); j2n.src = "/img/a2transf.gif"; j2c.src = "/img/a1transf.gif"; j3n = new Image(); j3c = new Image(); j3n.src = "/img/a2novi.gif"; j3c.src = "/img/a1novi.gif"; j4n = new Image(); j4c = new Image(); j4n.src = "/img/a2simul.gif"; j4c.src = "/img/a1simul.gif"; j5n = new Image(); j5c = new Image(); j5n.src = "/img/a2serv.gif"; j5c.src = "/img/a1serv.gif"; j6n = new Image(); j6c = new Image(); j6n.src = "/img/a2faq.gif"; j6c.src = "/img/a1faq.gif"; j7n = new Image(); j7c = new Image(); j7n.src = "/img/a2livro.gif"; j7c.src = "/img/a1livro.gif"; j8n = new Image(); j8c = new Image(); j8n.src = "/img/a2email.gif"; j8c.src = "/img/a1email.gif"; j9n = new Image(); j9c = new Image(); j9n.src = "/img/a2usua.gif"; j9c.src = "/img/a1usua.gif"; jAn = new Image(); jAc = new Image(); jAn.src = "/img/a2mural.gif"; jAc.src = "/img/a1mural.gif"; j1f = new Image(41,16); j1f.src = "/img/btchat2.gif"; j1t = new Image(41,16); j1t.src = "/img/btchat1.gif"; j2f = new Image(51,16); j2f.src = "/img/btmural2.gif"; j2t = new Image(51,16); j2t.src = "/img/btmural1.gif"; i1n = new Image(); i1c = new Image(); i1n.src = "/img/a2novida.gif"; i1c.src = "/img/a1novida.gif"; i2n = new Image(); i2c = new Image(); i2n.src = "/img/a2inform.gif"; i2c.src = "/img/a1inform.gif"; i3n = new Image(); i3c = new Image(); i3n.src = "/img/a2estati.gif"; i3c.src = "/img/a1estati.gif"; i4n = new Image(); i4c = new Image(); i4n.src = "/img/a2manual.gif"; i4c.src = "/img/a1manual.gif"; i5n = new Image(); i5c = new Image(); i5n.src = "/img/a2listas.gif"; i5c.src = "/img/a1listas.gif"; i6n = new Image(); i6c = new Image(); i6n.src = "/img/a2provas.gif"; i6c.src = "/img/a1provas.gif"; i0n = new Image(); i0c = new Image(); i0n.src = "/img/a2calend.gif"; i0c.src = "/img/a1calend.gif"; nTimerId = setInterval("HideMenu()", 500); function iMOu(C) { --nShowSubMenu; if (nIsNN4==1) { document.lSubMenu.document.images["i"+C].src = eval("i"+C+"c.src"); } else { document.images["i"+C].src = eval("i"+C+"c.src"); } } function iMOv(C) { ++nShowSubMenu; if (nIsNN4==1) { document.lSubMenu.document.images["i"+C].src = eval("i"+C+"n.src"); } else { document.images["i"+C].src = eval("i"+C+"n.src"); } } function MOv(C1) { nCont = 0; ++nShowMenu; C = ""+C1; if (nIsNN4==1) { document.lMenu.document.images["j"+C].src = eval("j"+C+"n.src"); } else { document.images["j"+C].src = eval("j"+C+"n.src"); } oDoc = null; if (nIsNN4==1) oDoc = document.lSubMenu.document; if (nIsIE==1) { oDoc = document; nCont = 0; } if (cBrowserType=="MO" || cBrowserType=="OP") { oDoc = document; nCont = 0; } if (nShowSubMenu==1) { ShowSubMenu(-300, -300); nShowSubMenu = 0; } if (C=='1') { nShowSubMenu = 1; if (oDoc!=null) { oDoc.links[0+nCont].href = "/scr/redir.asp?t=vn"; oDoc.links[1+nCont].href = "/scr/redir.asp?t=vi"; oDoc.links[2+nCont].href = "/scr/redir.asp?t=ve"; oDoc.links[3+nCont].href = "/scr/redir.asp?t=vm"; oDoc.links[4+nCont].href = "/scr/redir.asp?t=vl"; oDoc.links[5+nCont].href = "/scr/redir.asp?t=vp"; oDoc.links[6+nCont].href = "/scr/redir.asp?t=vc"; } ShowSubMenu(60, 10); } if (C=='2') { nShowSubMenu = 1; if (oDoc!=null) { oDoc.links[0+nCont].href = "/scr/redir.asp?t=tn"; oDoc.links[1+nCont].href = "/scr/redir.asp?t=ti"; oDoc.links[2+nCont].href = "/scr/redir.asp?t=te"; oDoc.links[3+nCont].href = "/scr/redir.asp?t=tm"; oDoc.links[4+nCont].href = "/scr/redir.asp?t=tl"; oDoc.links[5+nCont].href = "/scr/redir.asp?t=tp"; oDoc.links[6+nCont].href = "/scr/redir.asp?t=tc"; } ShowSubMenu(60, 30); } } function gotopage() { var select = eval(document.frmGoto.vestib.selectedIndex); var texto = document.frmGoto.vestib.options[select].value window.location = texto; } function MOu(C) { --nShowSubMenu; --nShowMenu; if (nIsNN4==1) { document.lMenu.document.images["j"+C].src = eval("j"+C+"c.src"); } else { document.images["j"+C].src = eval("j"+C+"c.src"); } } function Out(C1,C2) { --nShowMenu; } function Ovr(C1,C2) { ++nShowMenu; if (nShowSubMenu==1) { ShowSubMenu(-300, -300); nShowSubMenu = 0; } if (nIsNN4==1) { document.lMenu.document.images["g"+C1].src = eval("j"+C1+"f.src"); document.lMenu.document.images["g"+C2].src = eval("j"+C2+"t.src"); } else { document.images["g"+C1].src = eval("j"+C1+"f.src"); document.images["g"+C2].src = eval("j"+C2+"t.src"); } } function ShowSubMenu(X, Y) { if (cBrowserType=="MO" || cBrowserType=="OP") { if (X<=0) { document.getElementById('lSubMenu').style.visibility = "hidden"; } else { document.getElementById('lSubMenu').style.top = Y+"px"; document.getElementById('lSubMenu').style.left = X+"px"; document.getElementById('lSubMenu').style.visibility = "visible"; } } else { if (nIsNN4==1) { if (X<=0) document.lSubMenu.visibility = "hide"; else { document.lSubMenu.top = Y+"px"; document.lSubMenu.left = X+"px"; document.lSubMenu.visibility = "show"; } } else { if (X<=0) lSubMenu.style.visibility = "hidden"; else { lSubMenu.style.top = Y+"px"; lSubMenu.style.left = X+"px"; lSubMenu.style.visibility = "visible"; } } } } function ShowMenu(X, Y) { if (cBrowserType=="MO" || cBrowserType=="OP") { if (X<=0) { document.getElementById('lMenu').style.visibility = "hidden"; } else { document.getElementById('lMenu').style.visibility = "visible"; } } else { if (nIsNN4==1) { if (X<=0) document.lMenu.visibility = "hide"; else { document.lMenu.visibility = "show"; } } else { if (X<=0) lMenu.style.visibility = "hidden"; else { lMenu.style.visibility = "visible"; } } } } function HideMenu() { if (nShowSubMenu<=0) { ShowSubMenu(-300, -300); nShowSubMenu = 0; if (nShowMenu<=0) { ShowMenu(-300, -300); nShowMenu = 0; } } } function WriteMenu(cStr) { if (cBrowserType=="MO" || cBrowserType=="OP" || cBrowserType=="IE") { cMenuStr = cMenuStr+cStr } else { document.lMenu.document.write(cStr); } } function CloseMenu() { if (cBrowserType=="MO" || cBrowserType=="OP") { document.getElementById("lMenu").innerHTML = cMenuStr; } else { if (nIsNN4==1) document.lMenu.document.close(); if (nIsIE==1) document.all.lMenu.innerHTML = cMenuStr; } cMenuStr = ""; } function WriteSubMenu(cStr) { if (cBrowserType=="MO" || cBrowserType=="OP" || cBrowserType=="IE") { cSubMenuStr = cSubMenuStr+cStr; } else { document.lSubMenu.document.write(cStr); } } function CloseSubMenu() { if (cBrowserType=="MO" || cBrowserType=="OP") { document.getElementById("lSubMenu").innerHTML = cSubMenuStr; } else { if (nIsNN4==1) document.lSubMenu.document.close(); if (nIsIE==1) document.all.lSubMenu.innerHTML = cSubMenuStr; } cSubMenuStr = ""; } function WriteCallMenu(cStr) { if (cBrowserType=="MO" || cBrowserType=="OP" || cBrowserType=="IE") { cCallMenuStr = cCallMenuStr+cStr; } else { document.lCallMenu.document.write(cStr); } } function CloseCallMenu() { if (cBrowserType=="MO" || cBrowserType=="OP") { document.getElementById("lCallMenu").innerHTML = cCallMenuStr; } else { if (nIsNN4==1) document.lCallMenu.document.close(); if (nIsIE==1) document.all.lCallMenu.innerHTML = cCallMenuStr; } cCallMenuStr = ""; } function lMenuOnLoad() { // Desenha a barra de ferramentas principal principal var cId; cId = ""+Math.round(100*Math.random(100)); ShowMenu(-10, -10); ShowSubMenu(-10, -10); // Desenha a barra de ferramentas secundárias (vestibular ou transferência) WriteSubMenu('


');
CloseSubMenu();
nScrWidth = parseInt(nScrWidth);
if (nScrWidth==0) nScrWidth=800;
WriteCallMenu('

');
CloseMenu();
}
function fuvGlobalCopyPos(id, id1) {
if (cBrowserType=="IE") {
document.all[id].style.top = document.all[id1].style.top;
document.all[id].style.left = document.all[id1].style.left;
}
if (cBrowserType=="NN") {
document.layers[id].top = document.layers[id1].top;
document.layers[id].left = document.layers[id1].left;
}
if (cBrowserType=="MO" || cBrowserType=="OP") {
document.getElementById(id).style.top = document.getElementById(id1).style.top;
document.getElementById(id).style.left = document.getElementById(id1).style.left;
}
}
function fuvGlobalChangeClass(id, cClass) {
if (cBrowserType=="IE") {
document.all[id].className = cClass;
}
if (cBrowserType=="NN") {
document.layers[id].className = cClass;
}
if (cBrowserType=="MO" || cBrowserType=="OP") {
document.getElementById(id).className = cClass;
}
}
function fuvGlobalShowDiv(id, sh) {
if (cBrowserType=="IE") {
document.all[id].style.display = (sh=="0")?"none":"block";
}
if (cBrowserType=="NN") {
document.layers[id].display = (sh=="0")?"none":"block";
}
if (cBrowserType=="MO" || cBrowserType=="OP") {
document.getElementById(id).style.display = (sh=="0")?"none":"block";
}
}
function fuvChangeContent(cId, cStr) {
if (cBrowserType=="IE") {
document.all[cId].innerHTML = cStr;
}
else if (cBrowserType=="NN") {
document.layers[cId].document.open();
document.layers[cId].document.write(cStr);
document.layers[cId].document.close();
}
//if (cBrowserType=="MO" || cBrowserType=="OP") {
else {
document.getElementById(cId).innerHTML = cStr;
}
}
function fuvFUVEstat(cId) {
var cStr = "";
var nLocalAno = 0;
cStr = cStr+"