// JavaScript Document
// Validation for search form on homepage

    function validSearchForm(passForm) {
	   
       v_error = "The following problem(s) have been found on the form. \n\n";
	   v_valid = true;   
	  
       
       if(passForm.searchbox.value == ""){v_error = v_error + "No search text found\n"; if(v_valid){passForm.searchbox.focus();} v_valid = false; }	   	   	   
	       	   
      
   
	   if (v_valid == false){alert(v_error)}
	   
	   v_error = "The following problem(s) have been found on the form. \n\n";
	   return v_valid;	   
	} // end validForm(passForm)
			
			

			