	function WhatSearch(qs)
	{
			   eval("document.all.divS.style.visibility='hidden';");
 		     document.all.CatRet.src = "";
    	if (qs=='1'){
    	//alert(qs+" = Word")   
			   eval("document.all.tdW.style.visibility='visible';");
			   eval("document.all.tdC.style.visibility='hidden';");
			   eval("document.all.tdB.style.visibility='hidden';");
    	}
    	if (qs=='2'){
    	//alert(qs+" = Category")   
			   eval("document.all.tdW.style.visibility='hidden';");
			   eval("document.all.tdC.style.visibility='visible';");
			   eval("document.all.tdB.style.visibility='hidden';");
    	}
    	if (qs=='3'){
    	//alert(qs+" = Name") 
			   eval("document.all.tdW.style.visibility='hidden';");
			   eval("document.all.tdC.style.visibility='hidden';");
			   eval("document.all.tdB.style.visibility='visible';");
    	}
	}

	function GoSearch(et){

	
	
      if (et=='C')
			    {
	        var ft=document.getElementById("Cat").value;
 		      document.all.CatRet.src = "BizCat.asp?Qstr="+ft+"";
			    eval("document.all.divS.style.visibility='visible';");
    	 }
	   if(et=='K')
		     {
          var ft=document.getElementById("Wrd").value;
          var ftt=ft.indexOf("'"); 
          if (ftt > -1)
					  {
             alert("Please enter your word again \n But without quotes or single quotes.\n\n Thank You")
             document.getElementById("Wrd").value="";
             document.getElementById("Wrd").focus();
            }else{
	                document.all.CatRet.src = "BizKwd.asp?Qstr="+ft+"";
			            eval("document.all.divS.style.visibility='visible';");
							   }
	       }
    	if (et=='B')
			    {
	        var ft=document.getElementById("Biz").value;
          var ftt=ft.indexOf("'"); 
          if (ftt > -1)
					  {
             alert("Please enter your word again \n But without quotes or single quotes.\n\n Thank You")
             document.getElementById("Biz").value="";
             document.getElementById("Biz").focus();
            }else{
 		              document.all.CatRet.src = "BizNam.asp?Qstr="+ft+"";
			            eval("document.all.divS.style.visibility='visible';");
								 }
    	   }
		}

	
	function GoBlank(dgh){
	document.getElementById(dgh).value="";
	}
	
     function SetSel(){
		 document.getElementById("Sra").checked="checked";
		// load()
		 }

		 function keytest(e, r){
		     var whichCode = e.which
         if (e.type == "keypress")
				   {
           var whichCode = e.keyCode;
					 }

					 if (whichCode==13)
					   {
		          //alert(r)
						 //alert(whichCode)
						 GoSearch(r)
						 }
		 }

		 