function startTrainingNow() {
	if (!checkCode(selectForm.code.value) ||
			!CheckForZeroLength(selectForm.firstName, "First Name") || 
			!CheckForZeroLength(selectForm.lastName, "Last Name") || 
			!CheckForZeroLength(selectForm.city, "City") || 
			!CheckForSelection(selectForm.state, "State") ||
			!CheckForZeroLength(selectForm.zip, "Zip") || 
			!CheckForZeroLength(selectForm.phoneHome, "Home Phone") || 
			!CheckForZeroLength(selectForm.phoneCell, "Cell Phone") || 
			!(selectForm.country.value == "US" && isValidUSPhoneNumber(selectForm.phoneHome,"Home Phone")) ||
			!(selectForm.country.value == "US" && isValidUSPhoneNumber(selectForm.phoneCell,"Cell Phone")) ||
			!CheckForZeroLength(selectForm.email, "Email") || 
			!CheckForZeroLength(selectForm.businessName, "Business Name") || 
			!CheckForSelection(selectForm.SendSMS, "Do you wish to also be notified by text message to your Cell # when a lead is available") ||
			!CheckForSelection(selectForm.SMSGateway, "your wireless provider") ||
			!CheckForSelectionAndSetHiddenValue(selectForm.hourlySessionFeeSelecter, "How much is your Hourly Session Fee", selectForm.hourlySessionFee) ||
			!CheckForSelectionAndSetHiddenValue(selectForm.serviceProvidersOnStaffSelecter, "How many people do you have on your Staff", selectForm.serviceProvidersOnStaff) ||
			!ValidateTextInput(selectForm.aboutMyBusiness, "About My Business", 2000) || 
			!ValidateTextInput(selectForm.experience, "Experience", 2000) || 
			!ValidateTextInput(selectForm.educationalBackground, "Educational Background", 2000) || 
			!ValidateTextInput(selectForm.certifications, "Certifications", 2000) || 
			!ValidateTextInput(selectForm.specializedTraining, "Special Training", 2000)
			) {
		return;
	}
	if (!check_email(selectForm.email.value)) {
		selectForm.email.focus();
		return;
	}
	if (!selectForm.chkonSiteService.checked && !selectForm.chkinOfficeService.checked && !selectForm.chkphoneService.checked && !selectForm.chkonlineService.checked) {
		alert("Please select at least one option for where you service your clients.")
		selectForm.chkonSiteService.focus()
		return;
	}
	if (!selectForm.chkmaleServiceProviders.checked && !selectForm.chkFemaleServiceProviders.checked) {
		alert("Please select at least one option for the type of people you have on staff.")
		selectForm.chkmaleServiceProviders.focus();
		return;
	}
	if (selectForm.chkAgreeToFee != null && (!selectForm.chkAgreeToFee.checked || !selectForm.chkUnderstandBilling.checked || !selectForm.chkUnderstandNetwork.checked || !selectForm.chkValidProfile.checked)) {
		alert("You must agree to all of the Terms & Conditions before proceeding.");
		return;
	}
	if (selectForm.coverageCity != null) {
		selectForm.gridCitiesRowIds.value = gridCities.getAllRowIds(",");
		selectForm.gridZipsRowIds.value = gridZips.getAllRowIds(",");
		if (selectForm.gridCitiesRowIds.value.length == 0) {
			alert("Please add at least one coverage city.")
			selectForm.coverageCity.focus();
			return;
		}
		if (selectForm.gridZipsRowIds.value.length == 0) {
			alert("Please add at least one coverage zip.")
			selectForm.coverageZip.focus();
			return;
		}
	}
	SetCheckValue(selectForm.chkonSiteService, selectForm.onSiteService);
	SetCheckValue(selectForm.chkinOfficeService, selectForm.inOfficeService);
	SetCheckValue(selectForm.chkphoneService, selectForm.phoneService);
	SetCheckValue(selectForm.chkonlineService, selectForm.onlineService);
	SetCheckValue(selectForm.chkmaleServiceProviders, selectForm.maleServiceProviders);
	SetCheckValue(selectForm.chkFemaleServiceProviders, selectForm.femaleServiceProviders);

	if (selectForm.coverageCity != null) {
		gridCities.parentFormOnSubmit();
		gridZips.parentFormOnSubmit();
	}
	selectForm.submit();
}
function init() {
	selectForm.firstName.focus();
	fillStateOptions(selectForm.country.value, "--Select--");
	disableStatuses();
}
function messageToSelectProvider(sendSMS) {
	if (sendSMS == "1") {
		if (selectForm.SMSGateway.value == "1") {
			selectForm.SMSGateway.value = "-1";
			alert("Please select your wireless provider.");
			selectForm.SMSGateway.focus();
		}
	}
}
