<!-- Hide Javascript
function checkform(form) {
	
	if (form.fnamereq) {
		if (form.fnamereq.value == "1") {
			if (!ValidateText(form.fname, 'Please enter a First Name', 'Y')) { return false; }
		}
	}
	
	if (form.lnamereq) {
		if (form.lnamereq.value == "1") {
			if (!ValidateText(form.lname, 'Please enter a Last Name', 'Y')) { return false; }
		}
	}
	
	if (form.oci_companynamereq) {
		if (form.oci_companynamereq.value == "1") {
			if (!ValidateText(form.oci_companyname, 'Please enter a Company Name', 'Y')) { return false; }
		}
	}
	
	if (form.titlereq) {
		if (form.titlereq.value == "1") {
			if (!ValidateText(form.title, 'Please enter a Job Title', 'Y')) { return false; }
		}
	}
	
	if (form.addressreq) {
		if (form.addressreq.value == "1") {
			if (!ValidateText(form.address, 'Please enter an Address', 'Y')) { return false; }
		}
	}
		
	if (form.address2req) {
		if (form.address2req.value == "1") {
			if (!ValidateText(form.address2, 'Please enter an Address (Cont)', 'Y')) { return false; }
		}
	}
	
	if (form.cityreq) {
		if (form.cityreq.value == "1") {
			if (!ValidateText(form.city, 'Please enter a City', 'Y')) { return false; }
		}
	}
	
	if (form.statereq) {
		if (form.statereq.value == "1") {
			if (!ValidateSelect(form.state, 'Please select a State.','Y')) { return false; }
		}
	}

	if (form.zipreq) {
		if (form.zipreq.value == "1") {
			if (!ValidateText(form.zip, 'Please enter a Zip/Postal Code.', 'Y')) { return false; }
		}
	}
		
	if (form.emailreq) {
		if (form.emailreq.value == "1") {
			if (!ChkEmail(form.email, 'Please enter a valid Email Address.', 'Y')) { return false; }
		}
	}

	if (form.phonereq) {
		if (form.phonereq.value == "1") {
			if (!ValidateText(form.phone, 'Please enter a Phone Number.', 'Y')) { return false; }
		}
	}
		
	if (form.industryreq) {
		if (form.industryreq.value == "1") {
			if (!ValidateSelect(form.industry, 'Please select your industry.','Y')) { return false; }
		}
	}	
	if (form.industry_other) {
		if (form.industry.value == "Other") {
			if (!ValidateText(form.industry_other, 'Please enter an other industry description.', 'Y')) { return false; }
		}
	
	}	
	
	if (form.influence) {
		if (form.influence[0].checked) {
			if (!ValidateSelect(form.homes, 'Please select the type of buildings you build.','Y')) { return false; }
		}
	}	

	if (form.estimatedreq) {
		if (form.estimatedreq.value == "1") {
			if (!ValidateSelect(form.estimated, 'Please select the number of estimated starts per year.','Y')) { return false; }
		}	
	}
	
	if (form.rolereq) {
		if (form.rolereq.value == "1") {
			if (!ValidateSelect(form.role, 'Please select your role.','Y')) { return false; }
		}	
	}
	if (form.role_other) {
		if (form.role.value == "Other") {
			if (!ValidateText(form.role_other, 'Please enter an other role description.', 'Y')) { return false; }
		}
	
	}
	
	if (form.positionreq) {
		if (form.positionreq.value == "1") {
			if (!ValidateSelect(form.position, 'Please select your position.','Y')) { return false; }
		}	
	}
	
	if (form.position_other) {
		if (form.position.value == "Other") {
			if (!ValidateText(form.position_other, 'Please enter an other position description.', 'Y')) { return false; }
		}
	
	}
	
	if (form.issuesreq) {
		if (form.issuesreq.value == "1") {
			if (!ValidateMultiCheck(form.issues, 'Please select what you inquiry is about.','Y')) { return false; }
		}	
	}

	if (form.issues) {
		if (form.issues[6].checked) {
			if (!ValidateText(form.issues_other, 'Please enter an other inquiry description.', 'Y')) { return false; }
		}
	}	
	
	if (form.naturereq) {
		if (form.naturereq.value == "1") {
			if (!ValidateSelect(form.nature, 'Please select the nature of your inquiry.','Y')) { return false; }
		}	
	}
	
	if (form.nature_other) {
		if (form.nature.value == "Other") {
			if (!ValidateText(form.nature_other, 'Please enter an other nature of inquiry description.', 'Y')) { return false; }
		}
	}	
	
	if (form.formredirect) {
		if (!ValidateRadio(form.formredirect, 'Please select what you are inquiring about?.','Y')) { return false; }
	}
	
	
	if (form.confirmemailreq) {
		if (!confirmEmailAddress(form.confirmemail, form.email, 'Email address does not match, please confirm email address again.','Y')) { return false; }
	}
	//if (form.oci_commentsreq) {
		//if (form.oci_commentsreq.value == "1") {
			//if (!ValidateTextArea(form.oci_comments, 'Please enter your questions and or comments.', 'Y', 2000)) { return false; }
		//}
	//}
	
	//if (form.oci_commenttypereq) {
		//if (form.oci_commenttypereq.value == "1") {
			//if (!ValidateSelect(form.oci_commenttype, 'Please select a type of questions or comments.','Y')) { return false; }
		//}	
	//}
	
	return true;
}

//  Stop Hiding Javascript -->
