// JavaScript Document

function verify() {
	var themessage = "Please complete the following fields: ";
	
	if (document.form.name.value == "") {
		themessage = themessage + "  Name";
	}
	
	if (document.form.phone.value == "") {
		themessage = themessage + ", Phone Number";
	}
	
	if (document.form.email.value == "") {
		themessage = themessage + ", E-Mail Address";
	}

	if (document.form.ddl_howDid.value == "") {
		themessage = themessage + ", How did you hear about us?";
	}

	//alert if fields are empty and cancel form submit
	if (themessage == "Please complete the following fields: ") {
		document.form.submit();
	} else {
		alert(themessage);
		return false;
	}
}

function showField () {
	if (document.form.ddl_howDid.value == 'Other') {
		document.form.other.className ="showField";
	} else {
		
	}
}




