function hilite(name,m) { } function imgswap(i1,i2) { } window.onerror = null; var bName = navigator.appName; var bVer = parseInt(navigator.appVersion); var NS4 = (bName == "Netscape" && bVer >= 4); var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4); var NS3 = (bName == "Netscape" && bVer < 4); var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4); var menuActive = 0 var menuOn = 0 var onLayer var timeOn = null// LAYER SWITCHING CODE if (NS4 || IE4) { if (navigator.appName == "Netscape" && bVer == 4) { layerStyleRef="layer."; layerRef="document.layers"; styleSwitch=""; } else { layerStyleRef="layer.style."; layerRef="document.all"; styleSwitch=".style"; } } // SHOW MENU function showLayer(layerName){ if (NS4 || IE4) { if (timeOn != null) { clearTimeout(timeOn) hideLayer(onLayer) } if (NS4 || IE4) { eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"'); } onLayer = layerName } }// HIDE MENU function hideLayer(layerName){ if (menuActive == 0) { if (NS4 || IE4) { eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"'); } } }// TIMER FOR BUTTON MOUSE OUT function btnTimer() { timeOn = setTimeout("btnOut()",1000) }// BUTTON MOUSE OUT function btnOut(layerName) { if (menuActive == 0) { hideLayer(onLayer) } }// MENU MOUSE OVER function menuOver(itemName) { clearTimeout(timeOn) menuActive = 1 }// MENU MOUSE OUT 3 function menuOut(itemName) { menuActive = 0 timeOn = setTimeout("hideLayer(onLayer)", 400) } function Get_Cookie(name) { var start = document.cookie.indexOf(name+"="); var len = start+name.length+1; if ((!start) && (name != document.cookie.substring(0,name.length))) return null; if (start == -1) return null; var end = document.cookie.indexOf(";",len); if (end == -1) end = document.cookie.length; return unescape(document.cookie.substring(len,end)); } function resize2(obj) { try{ docHeight = icframe.document.body.scrollHeight if (docHeight >824) obj.height = docHeight else obj.height = 839 } catch(e) {;} } function ara(s) { s.q.value='site:hakkarim.net '+s.q.value }