function validForm(form)
{
	var err_str = "";
	var err_post = "\nPlease correct the error and resubmit your response."
	
//fname 
		if(window.document.CATALOG.fname.value == "")
		{
			//document.write('In the func');
			err_str = "Please re-check the information you entered for your first name."
			window.document.CATALOG.fname.focus();	
		}
		
//lname 
		if(window.document.CATALOG.lname.value == "")
		{
		//document.write('In the func');
		err_str = "Please re-check the information you entered for your last name."
		window.document.CATALOG.lname.focus();	
		}	
//company name(title) 
		if(window.document.CATALOG.title.value == "")
		{
		//document.write('In the func');
		err_str = "Please re-check the information you entered for your Company's Name."
		window.document.CATALOG.title.focus();	
		}	
	
//Address
		if(window.document.CATALOG.address.value == "")
		{
		//document.write('In the func');
		err_str = "Please re-check the information you entered as your Address."
		window.document.CATALOG.address.focus();
		}	

//Phone
		if(window.document.CATALOG.phonenumber.value == "")
		{
		//document.write('In the func');
		err_str = "Please re-check the information you entered as your Phone Number."
		window.document.CATALOG.phonenumber.focus();
		}	
	
//City 
		if(window.document.CATALOG.city.value == "") 
		{
		//document.write('In the func');
		err_str = "Please re-check the information you entered for your city."
		window.document.CATALOG.city.focus();
		}	
	
//State 
		if(window.document.CATALOG.astate.value == "") 
		{
		//document.write('In the func');
		err_str = "Please re-check the information you entered for your State."
		window.document.CATALOG.astate.focus();
		}	
			
	
//Zip 
		if(window.document.CATALOG.zip.value == "") 
		{
		//document.write('In the func');
		err_str = "Please re-check the information you entered as your Zip Code."
		window.document.CATALOG.zip.focus();
		}	
	
	
//Acct Num
		if(window.document.CATALOG.acc_num.value == "") 
		{
		//document.write('In the func');
		err_str = "Please re-check the information you entered for your account number."
		window.document.CATALOG.acc_num.focus();
		}	

			
	//prepare the error message and disply the msgbox else return true
		if (err_str == "")
		{
			return true;
		}
		else
		{
			err_str = err_str + err_post;
			alert(err_str);
			return false;
		} 
			
}//end validForm

