function validate() {
	// For e-mail validation below
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i

	if (document.frmPayment.strProduct.selectedIndex == 0) {
		alert("Please select an Accessory to purchase.");
		frmPayment.strProduct.focus();
		return false;
	} else if (document.frmPayment.strCompanyName.value == "") {
		alert("Please select enter a Company Name.");
		frmPayment.strCompanyName.focus();
		return false;
	} else if (document.frmPayment.strContactPhone.value == "") {
		alert("Please enter a Contact Phone.");
		frmPayment.strContactPhone.focus();
		return false;
	} else if (document.frmPayment.strContactEmail.value == "") {
		alert("Please enter a Contact E-mail address.");
		frmPayment.strContactEmail.focus();
		return false;
	} else if (!filter.test(document.frmPayment.strContactEmail.value)) {
		alert("Please enter a valid Contact E-mail address.");
		frmPayment.strContactEmail.focus();
		return false;
	} else if (document.frmPayment.strCompanyURL.value == "") {
		alert("Please enter a corporate Website Address.");
		frmPayment.strCompanyURL.focus();
		return false;
	} else if (document.frmPayment.strFirstName.value == "" || document.frmPayment.strLastName.value == "") {
		alert("Please enter Card Holder's First and Last Name.");
		frmPayment.strFirstName.focus();
		return false;
	} else if (document.frmPayment.strCardNum1.value == "" || document.frmPayment.strCardNum2.value == "" || document.frmPayment.strCardNum3.value == "" || document.frmPayment.strCardNum4.value == "") {
		alert("Please enter the Card Number.");
		frmPayment.strCardNum1.focus();
		return false;
	} else if (document.frmPayment.strExpMonth.selectedIndex == 0 || document.frmPayment.strExpYear.selectedIndex == 0) {
		alert("Please select a valid Expiration Date.\n\n(Month and Year)");
		frmPayment.strExpMonth.focus();
		return false;
	} else if (document.frmPayment.strCardCode.value == "") {
		alert("Please enter your Card Code.");
		frmPayment.strCardCode.focus();
		return false;
	} else if (document.frmPayment.strAmount.value == "0.00") {
		alert("Please select your Company Size.");
		frmPayment.strCompanySize.focus();
		return false;
	} else if (document.frmPayment.strAddress1.value == "") {
		alert("Please enter your Billing Address.");
		frmPayment.strAddress1.focus();
		return false;
	} else if (document.frmPayment.strCity.value == "") {
		alert("Please enter your City.");
		frmPayment.strCity.focus();
		return false;
	} else if (document.frmPayment.strState.value == "") {
		alert("Please enter your State/Province.");
		frmPayment.strState.focus();
		return false;
	} else if (document.frmPayment.strCountry.value == "") {
		alert("Please enter your Country abbreviation.");
		frmPayment.strCountry.focus();
		return false;
	} else if (document.frmPayment.strZip.value == "") {
		alert("Please enter your Zip/Post Code.");
		frmPayment.strZip.focus();
		return false;
	} else if (document.frmPayment.strIAgree.checked == false) {
		alert("Please authorize this transaction by checking the box next to \"I agree to pay the Amount Due\".");
		frmPayment.strIAgree.focus();
		return false;
	}

	document.frmPayment.btnCancel.disabled=true;
	document.frmPayment.btnSubmit.disabled=true;
	document.frmPayment.btnSubmit.value='Please Wait...';

	return true;
}