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)); } var obj1; function resize3() { resize2(obj1); } function getDocHeight() { var D = document; return Math.max( Math.max(D.body.scrollHeight, D.documentElement.scrollHeight), Math.max(D.body.offsetHeight, D.documentElement.offsetHeight), Math.max(D.body.clientHeight, D.documentElement.clientHeight) ); } function resize5(id) { try { objIframe = document.getElementById(id); objIframe.style.height = 'auto'; docHeight = document.getElementById(id).contentWindow.document .body.scrollHeight; if (docHeight >(1920)) document.getElementById(id).style.height = docHeight+'px'; else document.getElementById(id).style.height = 1920+'px'; } catch(e) {;} // Stop(); } function resize2(obj) { var bName = navigator.appName; var IE = (bName == "Microsoft Internet Explorer"); IE=true; try { if (IE) docHeight = icframe.document.body.scrollHeight; else docHeight = obj.contentWindow.document.body.offsetHeight; if (docHeight >(824)) if (IE) obj.height = docHeight ; else obj.style.height = docHeight +'px'; else if (IE) obj.height = 780 ; else obj.style.height = 780+'px'; } catch(e) {;} // Stop(); } function ara(s) { s.q.value='site:hakkarim.net '+s.q.value; } var timerID = 0; var tStart = null; function Start(obj) { tStart = new Date(); // resize2(obj); // obj1=obj; // timerID = setTimeout("resize3()", 1000); } function Stop() { if(timerID) { clearTimeout(timerID); timerID = 0; } tStart = null; }