function validateContact(contactform){
	with(contactform){
		var ErrMsg	= "";
		var ErrField	= "";
		for(i=0; i < elements.length; i++){ elements[i].value = trim(elements[i].value); }
		Item	= country.selectedIndex;
		if(website.value.length==0){
			ErrMsg	= "\"Website\" is a required field\n\n"+ErrMsg;
			ErrField= website;
		}
		if(!isEmail(email.value) || email.value.length==0){
			ErrMsg	= "Please enter a valid \"E-mail\" address\n\n"+ErrMsg;
			ErrField= email;
		}
		if(phone.value.length==0){
			ErrMsg	= "\"Telephone\" is a required field\n\n"+ErrMsg;
			ErrField= phone;
		}
		if(country.options[0].selected || country.options[1].selected){
			ErrMsg	= "\"Country\" is a required field\n\n"+ErrMsg;
			ErrField= country;
		}
		if(zip.value.length==0 && (country.options[Item].value=="USA" || country.options[Item].text=="Canada")){
			ErrMsg	= "\"Zip/Postal Code\" is a required field\n\n"+ErrMsg;
			ErrField= zip;
		}
		if((state.options[0].selected || state.options[1].selected) && (country.options[Item].value=="USA" || country.options[Item].text=="Canada")){
			ErrMsg	= "\"State/Province\" is a required field\n\n"+ErrMsg;
			ErrField= state;
		}
		if(city.value.length==0){
			ErrMsg	= "\"City\" is a required field\n\n"+ErrMsg;
			ErrField= city;
		}
		if(addr1.value.length==0){
			ErrMsg	= "\"Address 1\" is a required field\n\n"+ErrMsg;
			ErrField= addr1;
		}
		if(company.value.length==0){
			ErrMsg	= "\"Company\" is a required field\n\n"+ErrMsg;
			ErrField= company;
		}
		if(lname.value.length==0){
			ErrMsg	= "\"Last Name\" is a required field\n\n"+ErrMsg;
			ErrField= lname;
		}
		if(fname.value.length==0){
			ErrMsg	= "\"First Name\" is a required field\n\n"+ErrMsg;
			ErrField= fname;
		}
//		if(!interest_catalog.checked && !interest_cad.checked && !interest_tnetadv.checked && !interest_newsltr.checked){
//			ErrMsg  = "What Media Options/Web Solutions would you like us to contact you about?\n\n"+ErrMsg;
//			ErrField= interest_tnetadv;
//		}
		if(ErrMsg!=""){
			alert("The following information is missing or incomplete:\n\n" + ErrMsg);
			ErrField.focus();
			return false;
		}
	}
}
