function getXmlHttpRequestObject(){if(window.XMLHttpRequest){return new XMLHttpRequest()}else if(window.ActiveXObject){return new ActiveXObject("Microsoft.XMLHTTP")}else{alert("Your Browser Sucks! It's about time to upgrade don't you think?")}}var httpxml=getXmlHttpRequestObject();var count=0;function doDropDown(){count=count+1;setTimeout("dropDownGo("+count+")",500)}function dropDownGo(currCount){if(currCount==count){count=0;searchNameq()}}function searchNameq(){kws=document.sForm.keywords.value;nocache=Math.random();httpxml.open("get",'in-search.php?key='+kws+'&nocache = '+nocache);httpxml.onreadystatechange=searchNameqReply;httpxml.send("");httpxml.close()}function searchNameqReply(){if(httpxml.readyState==4){var response=httpxml.responseText;document.getElementById('search-result').innerHTML=response}}