var ua=navigator.userAgent;var timerId=null;function timedAjaxFunction(){if(ua.indexOf("MSIE")!=-1){return}if(timerId){clearTimeout(timerId)}timerId=setTimeout("ajaxFunction()",950)}function findPosX(A){var B=0;if(A.offsetParent){while(1){B+=A.offsetLeft;if(!A.offsetParent){break}A=A.offsetParent}}else{if(A.x){B+=A.x}}return B}function findPosY(B){var A=0;if(B.offsetParent){while(1){A+=B.offsetTop;if(!B.offsetParent){break}B=B.offsetParent}}else{if(B.y){A+=B.y}}return A}function setLoc(){document.getElementById("makeWin").style.left=""+findPosX(document.getElementById("word"))+"px";if(ua.indexOf("MSIE")!=-1){document.getElementById("makeWin").style.left=""+(-200+parseInt(findPosX(document.getElementById("word"))))+"px";document.getElementById("makeWin").style.top=""+(20+parseInt(findPosY(document.getElementById("word"))))+"px";alert("You are using crappy IE!")}document.getElementById("makeWin").style.visibility="hidden"}function ajaxFunction(){document.getElementById("makeWin").innerHTML="";var A;try{A=new XMLHttpRequest()}catch(B){try{A=new ActiveXObject("Msxml2.XMLHTTP")}catch(B){try{A=new ActiveXObject("Microsoft.XMLHTTP")}catch(B){alert("Your browser does not support AJAX!");return false}}}if(document.forms.form1.word.value.length>2){document.getElementById("makeWin").style.visibility="visible";A.onreadystatechange=function(){if(A.readyState==4){document.getElementById("makeWin").innerHTML=A.responseText}};
var prot = "";if (document.location.href.indexOf("http://www.")==0){prot="http://www.";}else{prot = "http://";}var urli = prot+"islamic-dictionary.com/livesearch.php?q="+document.forms.form1.word.value;A.open("GET",urli,true);A.send(null)}else{document.getElementById("makeWin").style.visibility="hidden"}}function resizeMakeWinLayer(){var A=document.getElementById("makeWinTable").offsetWidth;var B=document.getElementById("makeWinTable").offsetHeight;document.getElementById("makeWin").style.width=A+"px";document.getElementById("makeWin").style.height=B+"px"}function hideIt(){document.getElementById("makeWin").style.visibility="hidden";document.getElementById("makeWin").innerHTML=""}; 
var gaJsHost=(("https:"==document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));try {var pageTracker=_gat._getTracker("UA-8012671-3");pageTracker._trackPageview();}catch(err){}
