var active="menuro" + 0; var clear_all=""; var timer_id = null; function img_act(imgName) { if (version == "yes") { imgOn = eval(imgName + "on.src"); document [imgName].src = imgOn; clear_all=0; nav2(imgName); } } function img_act_nada(imgName) { if (version == "yes") { imgOn = eval(imgName + "on.src"); document [imgName].src = imgOn; clear_all=0; } } function nav2(name) { inact_wrapper(); if (NS4) { if (active!="" && (document.layers["sub" + active] )) document.layers["sub" + active].visibility="hidden"; if (clear_all!=1 && (document.layers["sub" + name] )) document.layers["sub" + name].visibility="visible"; } else { if (active!="" && (document.getElementById("sub" + active))) document.getElementById("sub" + active).style.visibility="hidden"; if (clear_all!=1 && (document.getElementById("sub" + name) )) document.getElementById("sub" + name).style.visibility="visible"; } clear_all=0; active=name; } function nav2_nada(name) { } var clear=''; var clear_stop=''; function img_inact(imgName) { if (version == "yes") { clear=''; clear_all=1; nav2('menuro' + 0); if (document [imgName] && imgName!=active) { document [imgName].src = eval(imgName + "off.src"); } } } function inact_wrapper() { if (clear!='') { img_inact(clear); } } function timeout(imgName) { stop_timeout(); clear=imgName; timer_id = setTimeout('inact_wrapper()', 3500); } function timeout_nada(imgName) { } function stop_timeout() { if (timer_id!=null) { clearTimeout(timer_id); timer_id = null; clear_stop=clear; clear=''; } } function redo_timeout() { if (timer_id==null) { timeout(clear_stop); clear_stop=''; } } function nw(windowURL) {window.open(windowURL,'Info','width=585,height=590,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=0,top=140,left=350');} function surfto(sel) { var myindex=sel.selectedIndex; if (sel[myindex].value != "0") { window.open(sel[myindex].value); } } function subm(form) { form.submit(); }