﻿function ContactUsNow_Submit(oControl) {
	var oForm = oControl.form;
	
	//validate
		if ( oForm.frm_ContactUsNow_Name.value.length < 1 ) {
		//Name
			oForm.frm_ContactUsNow_Name.focus();
			oForm.frm_ContactUsNow_Name.select();
			alert('Please enter a Name.');
			return false;
		}
		else if ( oForm.frm_ContactUsNow_Address.value.length < 1 ) {
		//Address
			oForm.frm_ContactUsNow_Address.focus();
			oForm.frm_ContactUsNow_Address.select();
			alert('Please enter an Address.');
			return false;
		}
		else if ( oForm.frm_ContactUsNow_City.value.length < 1 ) {
		//City
			oForm.frm_ContactUsNow_City.focus();
			oForm.frm_ContactUsNow_City.select();
			alert('Please enter a Zip Code.');
			return false;
		}
		else if ( oForm.frm_ContactUsNow_Phone.value.length < 1 ) {
		//Phone
			oForm.frm_ContactUsNow_Phone.focus();
			oForm.frm_ContactUsNow_Phone.select();
			alert('Please enter a Phone Number.');
			return false;
		}
		else if ( oForm.frm_ContactUsNow_Description.value.length < 1 ) {
		//Brief Description
			oForm.frm_ContactUsNow_Description.focus();
			oForm.frm_ContactUsNow_Description.select();
			alert('Please enter a Brief Description.');
			return false;
		}
	
	oForm.submit(); //Submit Form
}//ContactUsNow_Submit()