// JavaScript Document



// DECLARE VAR
var leftColColor1 = "#e4ebf1";
var leftColColor2 = "#efeae0";
var rightColColor1 = "#f4f8fb";
var rightColColor2 = "#f9f5ed";
var alertColor = "#f1d16e";
var textFieldAlertColor = "#fff7c9";
var planSelect = false;
var bankChannelSelect = false;
var bankChannelExtra = false;
var pricingOptionSelect = false;
var pricingOptionExtra = false;
var specialPricingExtra = false;
var mailProposalToSelect = false;
var mailProposalToExtra = false;


// DECLARE FUNCTIONS

function validateForm() {

	// VALIDATE REQUESTOR NAME
	if (document.getElementById("requestor_name").value.length != 0) {
		document.getElementById("requestor_name_text").style.fontWeight = "normal";
		document.getElementById("requestor_name_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("requestor_name_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("requestor_name_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("requestor_name").style.backgroundColor = "#ffffff";
		document.getElementById("requestor_name_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("requestor_name_alert").style.display = "none";
	} else {
		document.getElementById("requestor_name").focus();
		document.getElementById("requestor_name_text").style.fontWeight = "bold";
		document.getElementById("requestor_name_text_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_name_mid_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_name_input_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_name").style.backgroundColor = textFieldAlertColor;
		document.getElementById("requestor_name_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("requestor_name_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE REQUESTOR EMAIL
	if (document.getElementById("requestor_email").value.length != 0) {
		document.getElementById("requestor_email_text").style.fontWeight = "normal";
		document.getElementById("requestor_email_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("requestor_email_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("requestor_email_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("requestor_email").style.backgroundColor = "#ffffff";
		document.getElementById("requestor_email_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("requestor_email_alert").style.display = "none";
	} else {
		document.getElementById("requestor_email").focus();
		document.getElementById("requestor_email_text").style.fontWeight = "bold";
		document.getElementById("requestor_email_text_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_email_mid_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_email_input_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_email").style.backgroundColor = textFieldAlertColor;
		document.getElementById("requestor_email_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("requestor_email_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE REQUESTOR PHONE
	if (validatePhone(document.getElementById("requestor_phone").value)) {
		document.getElementById("requestor_phone_text").style.fontWeight = "normal";
		document.getElementById("requestor_phone_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("requestor_phone_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("requestor_phone_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("requestor_phone").style.backgroundColor = "#ffffff";
		document.getElementById("requestor_phone_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("requestor_phone_alert").style.display = "none";
	} else {
		document.getElementById("requestor_phone").focus();
		document.getElementById("requestor_phone_text").style.fontWeight = "bold";
		document.getElementById("requestor_phone_text_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_phone_mid_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_phone_input_container").style.backgroundColor = alertColor;
		document.getElementById("requestor_phone").style.backgroundColor = textFieldAlertColor;
		document.getElementById("requestor_phone_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("requestor_phone_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE EMPLOYER COMPANY
	if (document.getElementById("employer_company").value.length != 0) {
		document.getElementById("employer_company_text").style.fontWeight = "normal";
		document.getElementById("employer_company_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("employer_company_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("employer_company_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("employer_company").style.backgroundColor = "#ffffff";
		document.getElementById("employer_company_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("employer_company_alert").style.display = "none";
	} else {
		document.getElementById("employer_company").focus();
		document.getElementById("employer_company_text").style.fontWeight = "bold";
		document.getElementById("employer_company_text_container").style.backgroundColor = alertColor;
		document.getElementById("employer_company_mid_container").style.backgroundColor = alertColor;
		document.getElementById("employer_company_input_container").style.backgroundColor = alertColor;
		document.getElementById("employer_company").style.backgroundColor = textFieldAlertColor;
		document.getElementById("employer_company_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("employer_company_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE EMPLOYER STATE
	if (document.getElementById("employer_state").value != " ") {
		document.getElementById("employer_state_text").style.fontWeight = "normal";
		document.getElementById("employer_state_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("employer_state_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("employer_state_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("employer_state").style.backgroundColor = "#ffffff";
		document.getElementById("employer_state_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("employer_state_alert").style.display = "none";
	} else {
		document.getElementById("employer_state").focus();
		document.getElementById("employer_state_text").style.fontWeight = "bold";
		document.getElementById("employer_state_text_container").style.backgroundColor = alertColor;
		document.getElementById("employer_state_mid_container").style.backgroundColor = alertColor;
		document.getElementById("employer_state_input_container").style.backgroundColor = alertColor;
		document.getElementById("employer_state").style.backgroundColor = textFieldAlertColor;
		document.getElementById("employer_state_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("employer_state_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRODUCER NAME
	if (document.getElementById("producer_name").value.length != 0) {
		document.getElementById("producer_name_text").style.fontWeight = "normal";
		document.getElementById("producer_name_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_name_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_name_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("producer_name").style.backgroundColor = "#ffffff";
		document.getElementById("producer_name_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("producer_name_alert").style.display = "none";
	} else {
		document.getElementById("producer_name").focus();
		document.getElementById("producer_name_text").style.fontWeight = "bold";
		document.getElementById("producer_name_text_container").style.backgroundColor = alertColor;
		document.getElementById("producer_name_mid_container").style.backgroundColor = alertColor;
		document.getElementById("producer_name_input_container").style.backgroundColor = alertColor;
		document.getElementById("producer_name").style.backgroundColor = textFieldAlertColor;
		document.getElementById("producer_name_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("producer_name_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRODUCER COMPANY
	if (document.getElementById("producer_company").value.length != 0) {
		document.getElementById("producer_company_text").style.fontWeight = "normal";
		document.getElementById("producer_company_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_company_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_company_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("producer_company").style.backgroundColor = "#ffffff";
		document.getElementById("producer_company_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("producer_company_alert").style.display = "none";
	} else {
		document.getElementById("producer_company").focus();
		document.getElementById("producer_company_text").style.fontWeight = "bold";
		document.getElementById("producer_company_text_container").style.backgroundColor = alertColor;
		document.getElementById("producer_company_mid_container").style.backgroundColor = alertColor;
		document.getElementById("producer_company_input_container").style.backgroundColor = alertColor;
		document.getElementById("producer_company").style.backgroundColor = textFieldAlertColor;
		document.getElementById("producer_company_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("producer_company_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRODUCER ADDRESS
	if (document.getElementById("producer_address").value.length != 0) {
		document.getElementById("producer_address_text").style.fontWeight = "normal";
		document.getElementById("producer_address_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_address_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_address_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("producer_address").style.backgroundColor = "#ffffff";
		document.getElementById("producer_address_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("producer_address_alert").style.display = "none";
	} else {
		document.getElementById("producer_address").focus();
		document.getElementById("producer_address_text").style.fontWeight = "bold";
		document.getElementById("producer_address_text_container").style.backgroundColor = alertColor;
		document.getElementById("producer_address_mid_container").style.backgroundColor = alertColor;
		document.getElementById("producer_address_input_container").style.backgroundColor = alertColor;
		document.getElementById("producer_address").style.backgroundColor = textFieldAlertColor;
		document.getElementById("producer_address_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("producer_address_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRODUCER CITY
	if (document.getElementById("producer_city").value.length != 0) {
		document.getElementById("producer_city_text").style.fontWeight = "normal";
		document.getElementById("producer_city_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_city_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_city_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("producer_city").style.backgroundColor = "#ffffff";
		document.getElementById("producer_city_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("producer_city_alert").style.display = "none";
	} else {
		document.getElementById("producer_city").focus();
		document.getElementById("producer_city_text").style.fontWeight = "bold";
		document.getElementById("producer_city_text_container").style.backgroundColor = alertColor;
		document.getElementById("producer_city_mid_container").style.backgroundColor = alertColor;
		document.getElementById("producer_city_input_container").style.backgroundColor = alertColor;
		document.getElementById("producer_city").style.backgroundColor = textFieldAlertColor;
		document.getElementById("producer_city_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("producer_city_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRODUCER STATE
	if (document.getElementById("producer_state").value != " ") {
		document.getElementById("producer_state_text").style.fontWeight = "normal";
		document.getElementById("producer_state_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_state_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_state_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("producer_state").style.backgroundColor = "#ffffff";
		document.getElementById("producer_state_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("producer_state_alert").style.display = "none";
	} else {
		document.getElementById("producer_state").focus();
		document.getElementById("producer_state_text").style.fontWeight = "bold";
		document.getElementById("producer_state_text_container").style.backgroundColor = alertColor;
		document.getElementById("producer_state_mid_container").style.backgroundColor = alertColor;
		document.getElementById("producer_state_input_container").style.backgroundColor = alertColor;
		document.getElementById("producer_state").style.backgroundColor = textFieldAlertColor;
		document.getElementById("producer_state_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("producer_state_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRODUCER ZIP
	if (validateNum(document.getElementById("producer_zip").value) && document.getElementById("producer_zip").value.length == 5) {
		document.getElementById("producer_zip_text").style.fontWeight = "normal";
		document.getElementById("producer_zip_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_zip_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_zip_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("producer_zip").style.backgroundColor = "#ffffff";
		document.getElementById("producer_zip_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("producer_zip_alert").style.display = "none";
	} else {
		document.getElementById("producer_zip").focus();
		document.getElementById("producer_zip_text").style.fontWeight = "bold";
		document.getElementById("producer_zip_text_container").style.backgroundColor = alertColor;
		document.getElementById("producer_zip_mid_container").style.backgroundColor = alertColor;
		document.getElementById("producer_zip_input_container").style.backgroundColor = alertColor;
		document.getElementById("producer_zip").style.backgroundColor = textFieldAlertColor;
		document.getElementById("producer_zip_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("producer_zip_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRODUCER PHONE
	if (validatePhone(document.getElementById("producer_phone").value)) {
		document.getElementById("producer_phone_text").style.fontWeight = "normal";
		document.getElementById("producer_phone_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_phone_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_phone_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("producer_phone").style.backgroundColor = "#ffffff";
		document.getElementById("producer_phone_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("producer_phone_alert").style.display = "none";
	} else {
		document.getElementById("producer_phone").focus();
		document.getElementById("producer_phone_text").style.fontWeight = "bold";
		document.getElementById("producer_phone_text_container").style.backgroundColor = alertColor;
		document.getElementById("producer_phone_mid_container").style.backgroundColor = alertColor;
		document.getElementById("producer_phone_input_container").style.backgroundColor = alertColor;
		document.getElementById("producer_phone").style.backgroundColor = textFieldAlertColor;
		document.getElementById("producer_phone_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("producer_phone_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRODUCER EMAIL
	if (document.getElementById("producer_email").value.length != 0) {
		document.getElementById("producer_email_text").style.fontWeight = "normal";
		document.getElementById("producer_email_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_email_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("producer_email_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("producer_email").style.backgroundColor = "#ffffff";
		document.getElementById("producer_email_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("producer_email_alert").style.display = "none";
	} else {
		document.getElementById("producer_email").focus();
		document.getElementById("producer_email_text").style.fontWeight = "bold";
		document.getElementById("producer_email_text_container").style.backgroundColor = alertColor;
		document.getElementById("producer_email_mid_container").style.backgroundColor = alertColor;
		document.getElementById("producer_email_input_container").style.backgroundColor = alertColor;
		document.getElementById("producer_email").style.backgroundColor = textFieldAlertColor;
		document.getElementById("producer_email_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("producer_email_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PLAN
	if (!planSelect) {
		document.getElementById("new_plan").focus();
		document.getElementById("plan_text").style.fontWeight = "bold";
		document.getElementById("plan_text_container").style.backgroundColor = alertColor;
		document.getElementById("plan_mid_container").style.backgroundColor = alertColor;
		document.getElementById("plan_input_container").style.backgroundColor = alertColor;
		document.getElementById("plan_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("plan_alert").style.display = "block";
		return false;
	} else {
		document.getElementById("plan_text").style.fontWeight = "normal";
		document.getElementById("plan_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("plan_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("plan_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("plan_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("plan_alert").style.display = "none";
	}
	
	// VALIDATE Bank Channnel OPTION
	if (!bankChannelSelect) {
		document.getElementById("Yes").focus();
		document.getElementById("banking_channel_text").style.fontWeight = "bold";
		document.getElementById("banking_channel_text_container").style.backgroundColor = alertColor;
		document.getElementById("banking_channel_mid_container").style.backgroundColor = alertColor;
		document.getElementById("banking_channel_input_container").style.backgroundColor = alertColor;
		document.getElementById("banking_channel_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("banking_channel_alert").style.display = "block";
		return false;
	} else {
		document.getElementById("banking_channel_text").style.fontWeight = "normal";
		document.getElementById("banking_channel_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("banking_channel_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("banking_channel_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("banking_channel_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("banking_channel_alert").style.display = "none";
	}
	// VALIDATE Distribution Platform
		if (document.getElementById("distribution_platform").value.length != 0) {
			document.getElementById("distribution_platform_text").style.fontWeight = "normal";
			document.getElementById("distribution_platform_container").style.backgroundColor = leftColColor2;
			document.getElementById("distribution_platform_mid_container").style.backgroundColor = leftColColor2;
			document.getElementById("distribution_platform_input_container").style.backgroundColor = rightColColor2;
			document.getElementById("distribution_platform").style.backgroundColor = "#ffffff";
			document.getElementById("distribution_platform_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("distribution_platform_alert").style.display = "none";
		} else {
			document.getElementById("distribution_platform").focus();
			document.getElementById("distribution_platform_text").style.fontWeight = "bold";
			document.getElementById("distribution_platform_text_container").style.backgroundColor = alertColor;
			document.getElementById("distribution_platform_mid_container").style.backgroundColor = alertColor;
			document.getElementById("distribution_platform_input_container").style.backgroundColor = alertColor;
			document.getElementById("distribution_platform").style.backgroundColor = textFieldAlertColor;
			document.getElementById("distribution_platform_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("distribution_platform_alert").style.display = "block";
			return false;
		}
	
	
	if (bankChannelExtra) {
		
		// VALIDATE Bank NAME
		if (document.getElementById("bank_name").value.length != 0) {
			document.getElementById("bank_name_text").style.fontWeight = "normal";
			document.getElementById("bank_name_text_container").style.backgroundColor = leftColColor2;
			document.getElementById("bank_name_mid_container").style.backgroundColor = leftColColor2;
			document.getElementById("bank_name_input_container").style.backgroundColor = rightColColor2;
			document.getElementById("bank_name").style.backgroundColor = "#ffffff";
			document.getElementById("bank_name_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("bank_name_alert").style.display = "none";
		} else {
			document.getElementById("bank_name").focus();
			document.getElementById("bank_name_text").style.fontWeight = "bold";
			document.getElementById("bank_name_text_container").style.backgroundColor = alertColor;
			document.getElementById("bank_name_mid_container").style.backgroundColor = alertColor;
			document.getElementById("bank_name_input_container").style.backgroundColor = alertColor;
			document.getElementById("bank_name").style.backgroundColor = textFieldAlertColor;
			document.getElementById("bank_name_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("bank_name_alert").style.display = "block";
			return false;
		}
	} else {
		// DO NOTHING
	}
	
	
	// VALIDATE ESTIMATED ANNUAL CONTRIBUTIONS
	if (validateNum(document.getElementById("estimated_annual_contributions").value)) {
		document.getElementById("estimated_annual_contributions_text").style.fontWeight = "normal";
		document.getElementById("estimated_annual_contributions_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("estimated_annual_contributions_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("estimated_annual_contributions_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("estimated_annual_contributions").style.backgroundColor = "#ffffff";
		document.getElementById("estimated_annual_contributions_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("estimated_annual_contributions_alert").style.display = "none";
	} else {
		document.getElementById("estimated_annual_contributions").focus();
		document.getElementById("estimated_annual_contributions_text").style.fontWeight = "bold";
		document.getElementById("estimated_annual_contributions_text_container").style.backgroundColor = alertColor;
		document.getElementById("estimated_annual_contributions_mid_container").style.backgroundColor = alertColor;
		document.getElementById("estimated_annual_contributions_input_container").style.backgroundColor = alertColor;
		document.getElementById("estimated_annual_contributions").style.backgroundColor = textFieldAlertColor;
		document.getElementById("estimated_annual_contributions_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("estimated_annual_contributions_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE CURRENT PLAN ASSETS
	if (validateNum(document.getElementById("current_plan_assets").value)) {
		document.getElementById("current_plan_assets_text").style.fontWeight = "normal";
		document.getElementById("current_plan_assets_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("current_plan_assets_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("current_plan_assets_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("current_plan_assets").style.backgroundColor = "#ffffff";
		document.getElementById("current_plan_assets_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("current_plan_assets_alert").style.display = "none";
	} else {
		document.getElementById("current_plan_assets").focus();
		document.getElementById("current_plan_assets_text").style.fontWeight = "bold";
		document.getElementById("current_plan_assets_text_container").style.backgroundColor = alertColor;
		document.getElementById("current_plan_assets_mid_container").style.backgroundColor = alertColor;
		document.getElementById("current_plan_assets_input_container").style.backgroundColor = alertColor;
		document.getElementById("current_plan_assets").style.backgroundColor = textFieldAlertColor;
		document.getElementById("current_plan_assets_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("current_plan_assets_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE ESTIMATED PARTICIPANTS
	if (validateNum(document.getElementById("estimated_participants").value)) {
		document.getElementById("estimated_participants_text").style.fontWeight = "normal";
		document.getElementById("estimated_participants_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("estimated_participants_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("estimated_participants_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("estimated_participants").style.backgroundColor = "#ffffff";
		document.getElementById("estimated_participants_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("estimated_participants_alert").style.display = "none";
	} else {
		document.getElementById("estimated_participants").focus();
		document.getElementById("estimated_participants_text").style.fontWeight = "bold";
		document.getElementById("estimated_participants_text_container").style.backgroundColor = alertColor;
		document.getElementById("estimated_participants_mid_container").style.backgroundColor = alertColor;
		document.getElementById("estimated_participants_input_container").style.backgroundColor = alertColor;
		document.getElementById("estimated_participants").style.backgroundColor = textFieldAlertColor;
		document.getElementById("estimated_participants_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("estimated_participants_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PLAN TYPE
	if (document.getElementById("plan_type").value != " ") {
		document.getElementById("plan_type_text").style.fontWeight = "normal";
		document.getElementById("plan_type_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("plan_type_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("plan_type_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("plan_type").style.backgroundColor = "#ffffff";
		document.getElementById("plan_type_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("plan_type_alert").style.display = "none";
	} else {
		document.getElementById("plan_type").focus();
		document.getElementById("plan_type_text").style.fontWeight = "bold";
		document.getElementById("plan_type_text_container").style.backgroundColor = alertColor;
		document.getElementById("plan_type_mid_container").style.backgroundColor = alertColor;
		document.getElementById("plan_type_input_container").style.backgroundColor = alertColor;
		document.getElementById("plan_type").style.backgroundColor = textFieldAlertColor;
		document.getElementById("plan_type_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("plan_type_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE PRICING OPTION
	if (!pricingOptionSelect) {
		document.getElementById("full_service").focus();
		document.getElementById("pricing_option_text").style.fontWeight = "bold";
		document.getElementById("pricing_option_text_container").style.backgroundColor = alertColor;
		document.getElementById("pricing_option_mid_container").style.backgroundColor = alertColor;
		document.getElementById("pricing_option_input_container").style.backgroundColor = alertColor;
		document.getElementById("pricing_option_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("pricing_option_alert").style.display = "block";
		return false;
	} else {
		document.getElementById("pricing_option_text").style.fontWeight = "normal";
		document.getElementById("pricing_option_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("pricing_option_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("pricing_option_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("pricing_option_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("pricing_option_alert").style.display = "none";
	}
	
	if (pricingOptionExtra) {
		
		// VALIDATE TPA NAME
		if (document.getElementById("tpa_name").value.length != 0) {
			document.getElementById("tpa_name_text").style.fontWeight = "normal";
			document.getElementById("tpa_name_text_container").style.backgroundColor = leftColColor2;
			document.getElementById("tpa_name_mid_container").style.backgroundColor = leftColColor2;
			document.getElementById("tpa_name_input_container").style.backgroundColor = rightColColor2;
			document.getElementById("tpa_name").style.backgroundColor = "#ffffff";
			document.getElementById("tpa_name_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("tpa_name_alert").style.display = "none";
		} else {
			document.getElementById("tpa_name").focus();
			document.getElementById("tpa_name_text").style.fontWeight = "bold";
			document.getElementById("tpa_name_text_container").style.backgroundColor = alertColor;
			document.getElementById("tpa_name_mid_container").style.backgroundColor = alertColor;
			document.getElementById("tpa_name_input_container").style.backgroundColor = alertColor;
			document.getElementById("tpa_name").style.backgroundColor = textFieldAlertColor;
			document.getElementById("tpa_name_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("tpa_name_alert").style.display = "block";
			return false;
		}
		
		// VALIDATE TPA SUBSIDY
		if (document.getElementById("tpa_subsidy").value.length != 0) {
			document.getElementById("tpa_subsidy_text").style.fontWeight = "normal";
			document.getElementById("tpa_subsidy_text_container").style.backgroundColor = leftColColor2;
			document.getElementById("tpa_subsidy_mid_container").style.backgroundColor = leftColColor2;
			document.getElementById("tpa_subsidy_input_container").style.backgroundColor = rightColColor2;
			document.getElementById("tpa_subsidy").style.backgroundColor = "#ffffff";
			document.getElementById("tpa_subsidy_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("tpa_subsidy_alert").style.display = "none";
		} else {
			document.getElementById("tpa_subsidy").focus();
			document.getElementById("tpa_subsidy_text").style.fontWeight = "bold";
			document.getElementById("tpa_subsidy_text_container").style.backgroundColor = alertColor;
			document.getElementById("tpa_subsidy_mid_container").style.backgroundColor = alertColor;
			document.getElementById("tpa_subsidy_input_container").style.backgroundColor = alertColor;
			document.getElementById("tpa_subsidy").style.backgroundColor = textFieldAlertColor;
			document.getElementById("tpa_subsidy_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("tpa_subsidy_alert").style.display = "block";
			return false;
		}
	} else {
		// DO NOTHING
	}
	
	
	// VALIDATE IMA Options
	if (document.getElementById("ima_option").value != " ") {
		document.getElementById("ima_option_text").style.fontWeight = "normal";
		document.getElementById("ima_option_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("ima_option_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("ima_option_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("ima_option").style.backgroundColor = "#ffffff";
		document.getElementById("ima_option_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("ima_option_alert").style.display = "none";
	} else {
		document.getElementById("ima_option").focus();
		document.getElementById("ima_option_text").style.fontWeight = "bold";
		document.getElementById("ima_option_text_container").style.backgroundColor = alertColor;
		document.getElementById("ima_option_mid_container").style.backgroundColor = alertColor;
		document.getElementById("ima_option_input_container").style.backgroundColor = alertColor;
		document.getElementById("ima_option").style.backgroundColor = textFieldAlertColor;
		document.getElementById("ima_option_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("ima_option_alert").style.display = "block";
		return false;
	}
	
	if (specialPricingExtra) {
		
		// VALIDATE SURRENDER FEE BUY-OUT
		if (document.getElementById("surrender_fee_buy-out").value.length != 0) {
			document.getElementById("surrender_fee_buy-out_text").style.fontWeight = "normal";
			document.getElementById("surrender_fee_buy-out_text_container").style.backgroundColor = leftColColor2;
			document.getElementById("surrender_fee_buy-out_mid_container").style.backgroundColor = leftColColor2;
			document.getElementById("surrender_fee_buy-out_input_container").style.backgroundColor = rightColColor2;
			document.getElementById("surrender_fee_buy-out").style.backgroundColor = "#ffffff";
			document.getElementById("surrender_fee_buy-out_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("surrender_fee_buy-out_alert").style.display = "none";
		} else {
			document.getElementById("surrender_fee_buy-out").focus();
			document.getElementById("surrender_fee_buy-out_text").style.fontWeight = "bold";
			document.getElementById("surrender_fee_buy-out_text_container").style.backgroundColor = alertColor;
			document.getElementById("surrender_fee_buy-out_mid_container").style.backgroundColor = alertColor;
			document.getElementById("surrender_fee_buy-out_input_container").style.backgroundColor = alertColor;
			document.getElementById("surrender_fee_buy-out").style.backgroundColor = textFieldAlertColor;
			document.getElementById("surrender_fee_buy-out_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("surrender_fee_buy-out_alert").style.display = "block";
			return false;
		}
		
		// VALIDATE SURRENDER FEE SCHEDULE
		if (document.getElementById("surrender_fee_schedule").value.length != 0) {
			document.getElementById("surrender_fee_schedule_text").style.fontWeight = "normal";
			document.getElementById("surrender_fee_schedule_text_container").style.backgroundColor = leftColColor2;
			document.getElementById("surrender_fee_schedule_mid_container").style.backgroundColor = leftColColor2;
			document.getElementById("surrender_fee_schedule_input_container").style.backgroundColor = rightColColor2;
			document.getElementById("surrender_fee_schedule").style.backgroundColor = "#ffffff";
			document.getElementById("surrender_fee_schedule_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("surrender_fee_schedule_alert").style.display = "none";
		} else {
			document.getElementById("surrender_fee_schedule").focus();
			document.getElementById("surrender_fee_schedule_text").style.fontWeight = "bold";
			document.getElementById("surrender_fee_schedule_text_container").style.backgroundColor = alertColor;
			document.getElementById("surrender_fee_schedule_mid_container").style.backgroundColor = alertColor;
			document.getElementById("surrender_fee_schedule_input_container").style.backgroundColor = alertColor;
			document.getElementById("surrender_fee_schedule").style.backgroundColor = textFieldAlertColor;
			document.getElementById("surrender_fee_schedule_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("surrender_fee_schedule_alert").style.display = "block";
			return false;
		}
		
		// VALIDATE OTHER SPECIAL PRICING
		if (document.getElementById("other_special_pricing").value.length != 0) {
			document.getElementById("other_special_pricing_text").style.fontWeight = "normal";
			document.getElementById("other_special_pricing_text_container").style.backgroundColor = leftColColor2;
			document.getElementById("other_special_pricing_mid_container").style.backgroundColor = leftColColor2;
			document.getElementById("other_special_pricing_input_container").style.backgroundColor = rightColColor2;
			document.getElementById("other_special_pricing").style.backgroundColor = "#ffffff";
			document.getElementById("other_special_pricing_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("other_special_pricing_alert").style.display = "none";
		} else {
			document.getElementById("other_special_pricing").focus();
			document.getElementById("other_special_pricing_text").style.fontWeight = "bold";
			document.getElementById("other_special_pricing_text_container").style.backgroundColor = alertColor;
			document.getElementById("other_special_pricing_mid_container").style.backgroundColor = alertColor;
			document.getElementById("other_special_pricing_input_container").style.backgroundColor = alertColor;
			document.getElementById("other_special_pricing").style.backgroundColor = textFieldAlertColor;
			document.getElementById("other_special_pricing_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("other_special_pricing_alert").style.display = "block";
			return false;
		}
	} else {
		// DO NOTHING
	}
	// VALIDATE 1st Year Deposit Compensation
	if (validateNum(document.getElementById("first_year_deposit_compensation").value)) {
		document.getElementById("first_year_deposit_compensation_text").style.fontWeight = "normal";
		document.getElementById("first_year_deposit_compensation_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("first_year_deposit_compensation_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("first_year_deposit_compensation_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("first_year_deposit_compensation").style.backgroundColor = "#ffffff";
		document.getElementById("first_year_deposit_compensation_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("first_year_deposit_compensation_alert").style.display = "none";
	} else {
		document.getElementById("first_year_deposit_compensation").focus();
		document.getElementById("first_year_deposit_compensation_text").style.fontWeight = "bold";
		document.getElementById("first_year_deposit_compensation_text_container").style.backgroundColor = alertColor;
		document.getElementById("first_year_deposit_compensation_mid_container").style.backgroundColor = alertColor;
		document.getElementById("first_year_deposit_compensation_input_container").style.backgroundColor = alertColor;
		document.getElementById("first_year_deposit_compensation").style.backgroundColor = textFieldAlertColor;
		document.getElementById("first_year_deposit_compensation_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("first_year_deposit_compensation_alert").style.display = "block";
		return false;
	}
	// VALIDATE Trail Compensation
	if (validateNum(document.getElementById("trail_compensation").value)) {
		document.getElementById("trail_compensation_text").style.fontWeight = "normal";
		document.getElementById("trail_compensation_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("trail_compensation_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("trail_compensation_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("trail_compensation").style.backgroundColor = "#ffffff";
		document.getElementById("trail_compensation_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("trail_compensation_alert").style.display = "none";
	} else {
		document.getElementById("trail_compensation").focus();
		document.getElementById("trail_compensation_text").style.fontWeight = "bold";
		document.getElementById("trail_compensation_text_container").style.backgroundColor = alertColor;
		document.getElementById("trail_compensation_mid_container").style.backgroundColor = alertColor;
		document.getElementById("trail_compensation_input_container").style.backgroundColor = alertColor;
		document.getElementById("trail_compensation").style.backgroundColor = textFieldAlertColor;
		document.getElementById("trail_compensation_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("trail_compensation_alert").style.display = "block";
		return false;
	}
	// VALIDATE FORMAT
	if (document.getElementById("format").value != " ") {
		document.getElementById("format_text").style.fontWeight = "normal";
		document.getElementById("format_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("format_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("format_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("format").style.backgroundColor = "#ffffff";
		document.getElementById("format_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("format_alert").style.display = "none";
	} else {
		document.getElementById("format").focus();
		document.getElementById("format_text").style.fontWeight = "bold";
		document.getElementById("format_text_container").style.backgroundColor = alertColor;
		document.getElementById("format_mid_container").style.backgroundColor = alertColor;
		document.getElementById("format_input_container").style.backgroundColor = alertColor;
		document.getElementById("format").style.backgroundColor = textFieldAlertColor;
		document.getElementById("format_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("format_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE DATE PROPOSAL NEEDED MONTH
	if (document.getElementById("date_proposal_needed_month").value != " ") {
		document.getElementById("date_proposal_needed_text").style.fontWeight = "normal";
		document.getElementById("date_proposal_needed_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("date_proposal_needed_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("date_proposal_needed_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("date_proposal_needed_month").style.backgroundColor = "#ffffff";
		document.getElementById("date_proposal_needed_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("date_proposal_needed_alert").style.display = "none";
	} else {
		document.getElementById("date_proposal_needed_month").focus();
		document.getElementById("date_proposal_needed_text").style.fontWeight = "bold";
		document.getElementById("date_proposal_needed_text_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_mid_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_input_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_month").style.backgroundColor = textFieldAlertColor;
		document.getElementById("date_proposal_needed_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("date_proposal_needed_alert").style.marginLeft = "0px";
		document.getElementById("date_proposal_needed_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE DATE PROPOSAL NEEDED DAY
	if (document.getElementById("date_proposal_needed_day").value != " ") {
		document.getElementById("date_proposal_needed_text").style.fontWeight = "normal";
		document.getElementById("date_proposal_needed_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("date_proposal_needed_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("date_proposal_needed_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("date_proposal_needed_day").style.backgroundColor = "#ffffff";
		document.getElementById("date_proposal_needed_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("date_proposal_needed_alert").style.display = "none";
	} else {
		document.getElementById("date_proposal_needed_day").focus();
		document.getElementById("date_proposal_needed_text").style.fontWeight = "bold";
		document.getElementById("date_proposal_needed_text_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_mid_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_input_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_day").style.backgroundColor = textFieldAlertColor;
		document.getElementById("date_proposal_needed_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("date_proposal_needed_alert").style.marginLeft = "57px";
		document.getElementById("date_proposal_needed_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE DATE PROPOSAL NEEDED YEAR
	if (document.getElementById("date_proposal_needed_year").value != " ") {
		document.getElementById("date_proposal_needed_text").style.fontWeight = "normal";
		document.getElementById("date_proposal_needed_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("date_proposal_needed_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("date_proposal_needed_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("date_proposal_needed_year").style.backgroundColor = "#ffffff";
		document.getElementById("date_proposal_needed_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("date_proposal_needed_alert").style.display = "none";
	} else {
		document.getElementById("date_proposal_needed_year").focus();
		document.getElementById("date_proposal_needed_text").style.fontWeight = "bold";
		document.getElementById("date_proposal_needed_text_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_mid_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_input_container").style.backgroundColor = alertColor;
		document.getElementById("date_proposal_needed_year").style.backgroundColor = textFieldAlertColor;
		document.getElementById("date_proposal_needed_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("date_proposal_needed_alert").style.marginLeft = "105px";
		document.getElementById("date_proposal_needed_alert").style.display = "block";
		return false;
	}
	
	// VALIDATE MAIL PROPOSAL TO
	if (!mailProposalToSelect) {
		document.getElementById("rms_wholesaler").focus();
		document.getElementById("mail_proposal_to_text").style.fontWeight = "bold";
		document.getElementById("mail_proposal_to_text_container").style.backgroundColor = alertColor;
		document.getElementById("mail_proposal_to_mid_container").style.backgroundColor = alertColor;
		document.getElementById("mail_proposal_to_input_container").style.backgroundColor = alertColor;
		document.getElementById("mail_proposal_to_alert_img").src = "/images/forms/req_red.gif";
		document.getElementById("mail_proposal_to_alert").style.display = "block";
		return false;
	} else {
		document.getElementById("mail_proposal_to_text").style.fontWeight = "normal";
		document.getElementById("mail_proposal_to_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("mail_proposal_to_alert_img").src = "/images/forms/req_green.gif";
		document.getElementById("mail_proposal_to_alert").style.display = "none";
	}
	
	if (mailProposalToExtra) {
		
		// VALIDATE MAIL PROPOSAL TO NAME
		if (document.getElementById("mail_proposal_to_name").value.length != 0) {
			document.getElementById("mail_proposal_to_name_text").style.fontWeight = "normal";
			document.getElementById("mail_proposal_to_name_text_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_name_mid_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_name_input_container").style.backgroundColor = rightColColor1;
			document.getElementById("mail_proposal_to_name").style.backgroundColor = "#ffffff";
			document.getElementById("mail_proposal_to_name_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("mail_proposal_to_name_alert").style.display = "none";
		} else {
			document.getElementById("mail_proposal_to_name").focus();
			document.getElementById("mail_proposal_to_name_text").style.fontWeight = "bold";
			document.getElementById("mail_proposal_to_name_text_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_name_mid_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_name_input_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_name").style.backgroundColor = textFieldAlertColor;
			document.getElementById("mail_proposal_to_name_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("mail_proposal_to_name_alert").style.display = "block";
			return false;
		}
		
		// VALIDATE MAIL PROPOSAL TO ADDRESS
		if (document.getElementById("mail_proposal_to_address").value.length != 0) {
			document.getElementById("mail_proposal_to_address_text").style.fontWeight = "normal";
			document.getElementById("mail_proposal_to_address_text_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_address_mid_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_address_input_container").style.backgroundColor = rightColColor1;
			document.getElementById("mail_proposal_to_address").style.backgroundColor = "#ffffff";
			document.getElementById("mail_proposal_to_address_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("mail_proposal_to_address_alert").style.display = "none";
		} else {
			document.getElementById("mail_proposal_to_address").focus();
			document.getElementById("mail_proposal_to_address_text").style.fontWeight = "bold";
			document.getElementById("mail_proposal_to_address_text_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_address_mid_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_address_input_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_address").style.backgroundColor = textFieldAlertColor;
			document.getElementById("mail_proposal_to_address_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("mail_proposal_to_address_alert").style.display = "block";
			return false;
		}
		
		// VALIDATE MAIL PROPOSAL TO CITY
		if (document.getElementById("mail_proposal_to_city").value.length != 0) {
			document.getElementById("mail_proposal_to_city_text").style.fontWeight = "normal";
			document.getElementById("mail_proposal_to_city_text_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_city_mid_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_city_input_container").style.backgroundColor = rightColColor1;
			document.getElementById("mail_proposal_to_city").style.backgroundColor = "#ffffff";
			document.getElementById("mail_proposal_to_city_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("mail_proposal_to_city_alert").style.display = "none";
		} else {
			document.getElementById("mail_proposal_to_city").focus();
			document.getElementById("mail_proposal_to_city_text").style.fontWeight = "bold";
			document.getElementById("mail_proposal_to_city_text_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_city_mid_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_city_input_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_city").style.backgroundColor = textFieldAlertColor;
			document.getElementById("mail_proposal_to_city_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("mail_proposal_to_city_alert").style.display = "block";
			return false;
		}
		
		// VALIDATE MAIL PROPOSAL TO STATE
		if (document.getElementById("mail_proposal_to_state").value != " ") {
			document.getElementById("mail_proposal_to_state_text").style.fontWeight = "normal";
			document.getElementById("mail_proposal_to_state_text_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_state_mid_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_state_input_container").style.backgroundColor = rightColColor1;
			document.getElementById("mail_proposal_to_state").style.backgroundColor = "#ffffff";
			document.getElementById("mail_proposal_to_state_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("mail_proposal_to_state_alert").style.display = "none";
		} else {
			document.getElementById("mail_proposal_to_state").focus();
			document.getElementById("mail_proposal_to_state_text").style.fontWeight = "bold";
			document.getElementById("mail_proposal_to_state_text_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_state_mid_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_state_input_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_state").style.backgroundColor = textFieldAlertColor;
			document.getElementById("mail_proposal_to_state_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("mail_proposal_to_state_alert").style.display = "block";
			return false;
		}
		
		// VALIDATE MAIL PROPOSAL TO ZIP
		if (validateNum(document.getElementById("mail_proposal_to_zip").value) && document.getElementById("mail_proposal_to_zip").value.length == 5) {
			document.getElementById("mail_proposal_to_zip_text").style.fontWeight = "normal";
			document.getElementById("mail_proposal_to_zip_text_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_zip_mid_container").style.backgroundColor = leftColColor1;
			document.getElementById("mail_proposal_to_zip_input_container").style.backgroundColor = rightColColor1;
			document.getElementById("mail_proposal_to_zip").style.backgroundColor = "#ffffff";
			document.getElementById("mail_proposal_to_zip_alert_img").src = "/images/forms/req_green.gif";
			document.getElementById("mail_proposal_to_zip_alert").style.display = "none";
		} else {
			document.getElementById("mail_proposal_to_zip").focus();
			document.getElementById("mail_proposal_to_zip_text").style.fontWeight = "bold";
			document.getElementById("mail_proposal_to_zip_text_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_zip_mid_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_zip_input_container").style.backgroundColor = alertColor;
			document.getElementById("mail_proposal_to_zip").style.backgroundColor = textFieldAlertColor;
			document.getElementById("mail_proposal_to_zip_alert_img").src = "/images/forms/req_red.gif";
			document.getElementById("mail_proposal_to_zip_alert").style.display = "block";
			return false;
		}
	} else {
		// DO NOTHING
	}
}
		
		/*
		
		// VALIDATE NON-REQUIRED FIELDS
		
		// VALIDATE EMPLOYER ZIP
		if (document.getElementById("employer_zip").value.length != 0) {
			if (validateNum(document.getElementById("employer_zip").value) && document.getElementById("employer_zip").value.length == 5) {
				document.getElementById("employer_zip_text").style.fontWeight = "normal";
				document.getElementById("employer_zip_text_container").style.backgroundColor = "#f7f3ea";
				document.getElementById("employer_zip_input_container").style.backgroundColor = "#f7f3ea";
				document.getElementById("employer_zip").style.backgroundColor = "#ffffff";
				document.getElementById("employer_zip_alert").style.display = "none";
			} else {
				document.getElementById("employer_zip").focus();
				document.getElementById("employer_zip_text").style.fontWeight = "bold";
				document.getElementById("employer_zip_text_container").style.backgroundColor = "#f1d16e";
				document.getElementById("employer_zip_input_container").style.backgroundColor = "#f1d16e";
				document.getElementById("employer_zip").style.backgroundColor = "#fff7c9";
				document.getElementById("employer_zip_alert").style.display = "inline";
				return false;
			}
		} else {
			document.getElementById("employer_zip_text").style.fontWeight = "normal";
			document.getElementById("employer_zip_text_container").style.backgroundColor = "#f7f3ea";
			document.getElementById("employer_zip_input_container").style.backgroundColor = "#f7f3ea";
			document.getElementById("employer_zip").style.backgroundColor = "#ffffff";
			document.getElementById("employer_zip_alert").style.display = "none";
		}
		
		return false;
		} else { //okToSubmit
		return true;
	}
}

function updateEmail(){
	newEmail = "," + document.rfp.requestor_email.value;
	document.rfp.sendto.value += newEmail;
}*/

function toggleMailProposalTo() {
	if (mailProposalToExtra) {
		document.getElementById("new_address_info").style.display = "block";
	} else if (!mailProposalToExtra) {
		document.getElementById("new_address_info").style.display = "none";
		// RESET FORM FIELDS
		document.getElementById("mail_proposal_to_name").value = "";
		document.getElementById("mail_proposal_to_name_text").style.fontWeight = "normal";
		document.getElementById("mail_proposal_to_name_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_name_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_name_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("mail_proposal_to_name").style.backgroundColor = "#ffffff";
		document.getElementById("mail_proposal_to_name_alert_img").src = "/images/forms/req.gif";
		document.getElementById("mail_proposal_to_name_alert").style.display = "none";
		
		document.getElementById("mail_proposal_to_address").value = "";
		document.getElementById("mail_proposal_to_address_text").style.fontWeight = "normal";
		document.getElementById("mail_proposal_to_address_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_address_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_address_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("mail_proposal_to_address").style.backgroundColor = "#ffffff";
		document.getElementById("mail_proposal_to_address_alert_img").src = "/images/forms/req.gif";
		document.getElementById("mail_proposal_to_address_alert").style.display = "none";
		
		document.getElementById("mail_proposal_to_city").value = "";
		document.getElementById("mail_proposal_to_city_text").style.fontWeight = "normal";
		document.getElementById("mail_proposal_to_city_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_city_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_city_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("mail_proposal_to_city").style.backgroundColor = "#ffffff";
		document.getElementById("mail_proposal_to_city_alert_img").src = "/images/forms/req.gif";
		document.getElementById("mail_proposal_to_city_alert").style.display = "none";
		
		document.getElementById("mail_proposal_to_state").selectedIndex = 0;
		document.getElementById("mail_proposal_to_state_text").style.fontWeight = "normal";
		document.getElementById("mail_proposal_to_state_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_state_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_state_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("mail_proposal_to_state").style.backgroundColor = "#ffffff";
		document.getElementById("mail_proposal_to_state_alert_img").src = "/images/forms/req.gif";
		document.getElementById("mail_proposal_to_state_alert").style.display = "none";
		
		document.getElementById("mail_proposal_to_zip").value = "";
		document.getElementById("mail_proposal_to_zip_text").style.fontWeight = "normal";
		document.getElementById("mail_proposal_to_zip_text_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_zip_mid_container").style.backgroundColor = leftColColor1;
		document.getElementById("mail_proposal_to_zip_input_container").style.backgroundColor = rightColColor1;
		document.getElementById("mail_proposal_to_zip").style.backgroundColor = "#ffffff";
		document.getElementById("mail_proposal_to_zip_alert_img").src = "/images/forms/req.gif";
		document.getElementById("mail_proposal_to_zip_alert").style.display = "none";
	}
}

function togglePricingOption() {
	if (pricingOptionExtra) {
		document.getElementById("tpa_info").style.display = "block";
	} else if (!pricingOptionExtra) {
		document.getElementById("tpa_info").style.display = "none";
		// RESET FORM FIELDS
		document.getElementById("tpa_name").value = "";
		document.getElementById("tpa_name_text").style.fontWeight = "normal";
		document.getElementById("tpa_name_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("tpa_name_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("tpa_name_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("tpa_name").style.backgroundColor = "#ffffff";
		document.getElementById("tpa_name_alert_img").src = "/images/forms/req.gif";
		document.getElementById("tpa_name_alert").style.display = "none";
		
		document.getElementById("tpa_subsidy").value = "";
		document.getElementById("tpa_subsidy_text").style.fontWeight = "normal";
		document.getElementById("tpa_subsidy_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("tpa_subsidy_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("tpa_subsidy_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("tpa_subsidy").style.backgroundColor = "#ffffff";
		document.getElementById("tpa_subsidy_alert_img").src = "/images/forms/req.gif";
		document.getElementById("tpa_subsidy_alert").style.display = "none";
	}
}

function toggleSpecialPricing() {
	if (specialPricingExtra) {
		document.getElementById("special_pricing").style.display = "block";
	} else if (!specialPricingExtra) {
		document.getElementById("special_pricing").style.display = "none";
		// RESET FORM FIELDS
		document.getElementById("surrender_fee_buy-out").value = "";
		document.getElementById("surrender_fee_buy-out_text").style.fontWeight = "normal";
		document.getElementById("surrender_fee_buy-out_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("surrender_fee_buy-out_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("surrender_fee_buy-out_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("surrender_fee_buy-out").style.backgroundColor = "#ffffff";
		document.getElementById("surrender_fee_buy-out_alert_img").src = "/images/forms/req.gif";
		document.getElementById("surrender_fee_buy-out_alert").style.display = "none";
		
		document.getElementById("surrender_fee_schedule").value = "";
		document.getElementById("surrender_fee_schedule_text").style.fontWeight = "normal";
		document.getElementById("surrender_fee_schedule_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("surrender_fee_schedule_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("surrender_fee_schedule_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("surrender_fee_schedule").style.backgroundColor = "#ffffff";
		document.getElementById("surrender_fee_schedule_alert_img").src = "/images/forms/req.gif";
		document.getElementById("surrender_fee_schedule_alert").style.display = "none";
		
		document.getElementById("other_special_pricing").value = "";
		document.getElementById("other_special_pricing_text").style.fontWeight = "normal";
		document.getElementById("other_special_pricing_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("other_special_pricing_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("other_special_pricing_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("other_special_pricing").style.backgroundColor = "#ffffff";
		document.getElementById("other_special_pricing_alert_img").src = "/images/forms/req.gif";
		document.getElementById("other_special_pricing_alert").style.display = "none";
	}
}
function togglebankChannel() {
	if (bankChannelExtra) {
		document.getElementById("bank_info").style.display = "block";
	} else if (!bankChannelExtra) {
		document.getElementById("bank_info").style.display = "none";
		// RESET FORM FIELDS
		document.getElementById("bank_name").value = "";
		document.getElementById("bank_name_text").style.fontWeight = "normal";
		document.getElementById("bank_name_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("bank_name_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("bank_name_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("bank_name").style.backgroundColor = "#ffffff";
		document.getElementById("bank_name_alert_img").src = "/images/forms/req.gif";
		document.getElementById("bank_name_alert").style.display = "none";
		
		document.getElementById("distribution_platform").value = "";
		document.getElementById("distribution_platform_text").style.fontWeight = "normal";
		document.getElementById("distribution_platform_text_container").style.backgroundColor = leftColColor2;
		document.getElementById("distribution_platform_mid_container").style.backgroundColor = leftColColor2;
		document.getElementById("distribution_platform_input_container").style.backgroundColor = rightColColor2;
		document.getElementById("distribution_platform").style.backgroundColor = "#ffffff";
		document.getElementById("distribution_platform_alert_img").src = "/images/forms/req.gif";
		document.getElementById("distribution_platform_alert").style.display = "none";
	}
}

