function CheckSearch(theForm){
   var searchkey = theForm.searchkey.value;
   if(searchkey == ""){
      alert("Please enter search key!");
      theForm.searchkey.focus();
      return  (false);
   }
}

function CheckForm(TheForm){

   if (TheForm.Name.value==""){
      alert("Please input name!");
      TheForm.Name.focus();
      return (false);
      }

   if (TheForm.Address.value==""){
      alert("Please input address!");
      TheForm.Address.focus();
      return (false);
      }

   if (TheForm.City_State.value==""){
      alert("Please input City/State!");
      TheForm.City_State.focus();
      return (false);
      }

   if (TheForm.Zip_Country.value==""){
      alert("Please input Zip/Country!");
      TheForm.Zip_Country.focus();
      return (false);
      }

   if (TheForm.Phone.value==""){
      alert("Please input phone!");
      TheForm.Phone.focus();
      return (false);
      }
}