		var DHTML = (document.getElementById || document.all || document.layers);
		
		//Check the Browser
		function getObj(name)
		{
		  if(document.getElementById)
		  {
		  	this.obj = document.getElementById(name);
			this.style = document.getElementById(name).style;
		  }
		  else if (document.all)
		  {
			this.obj = document.all[name];
			this.style = document.all[name].style;
		  }
		  else if (document.layers)
		  {
		   	this.obj = document.layers[name];
		   	this.style = document.layers[name];
		  }
		}
		

//Hide all the Group fields on load of the form
function divenotvisible()
{
		flag = 1;				
		view_state = 0;
		
		//Rental Insurance
		var x = new getObj('rental_insurance');
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';
		
		//Personal Info Additional fields
		var x = new getObj('div_personal_additional_info_two');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';
		
		var x = new getObj('div_personal_additional_info_three');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';

		var x = new getObj('div_personal_additional_info_four');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';
				
		//Trade Info Additional fields
		var x = new getObj('div_trade_additional_info_two');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';
		
		var x = new getObj('div_trade_additional_info_three');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';

		var x = new getObj('div_trade_additional_info_four');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';
		
		//Bank Info Additional fields
		var x = new getObj('div_bank_additional_info_two');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';
		
		var x = new getObj('div_bank_additional_info_three');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';

		var x = new getObj('div_bank_additional_info_four');				
		x.style.visibility = (flag) ? 'hidden' : 'visible';
		x.style.display = view_state ? 'block' : 'none';				
		
}		
		
function show_rental_insurance()
{
		var type_of_service = document.frm.type_of_service.value;
		var x = new getObj('rental_insurance');				
		
		if(type_of_service == "Rental")
		{
			flag = 0;				
			view_state = 1;
			
	 		x.style.visibility = (flag) ? 'hidden' : 'visible'
 			x.style.display = view_state ? 'block' : 'none';
		}
		else
		{
			flag = 1;				
			view_state = 0;
			
	 		x.style.visibility = (flag) ? 'hidden' : 'visible'
 			x.style.display = view_state ? 'block' : 'none';
		}
}			

//show / hide Groups; val->yes,no target_id->div element id ; group->personal, trade, bank 
function show_additional_info(val, target_id, group)
{
		//var x = new getObj('div_personal_additional_info_two');				
		var x = new getObj(target_id);				
		
		if(val == "yes")
		{
			flag = 0;				
			view_state = 1;
			
	 		x.style.visibility = (flag) ? 'hidden' : 'visible'
 			x.style.display = view_state ? 'block' : 'none';
		}
		else
		{	
			//The below code is used to HIDE Groups on the basis of conditions
			
			flag = 1;				
			view_state = 0;
			
			if(group == "personal")
			{
				//One is calling to close All
				if(target_id == "div_personal_additional_info_two")
				{
					//Reset the radio buttons to "NO"
	 	 			document.frm.personal_additional_info_two[1].checked = true;
	 	 			document.frm.personal_additional_info_three[1].checked = true;
	 	 			
	 	 			//Hide all the frame groups
					var x = new getObj('div_personal_additional_info_two');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
	
					var x = new getObj('div_personal_additional_info_three');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
		 			
					var x = new getObj('div_personal_additional_info_four');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
				}
				
				//Two is calling to close three and four
				else if(target_id == "div_personal_additional_info_three")	
				{
					//Reset the radio buttons to "NO"
					document.frm.personal_additional_info_three[1].checked = true;
					
					//Hide all the frame groups
					var x = new getObj('div_personal_additional_info_three');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
		 			
					var x = new getObj('div_personal_additional_info_four');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
				}
				else	//Three is calling to close four
				{
					//Hide all the frame groups
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
			 		x.style.display = view_state ? 'block' : 'none';
		 		}
	 		}	// End of Group Personal
	 		
	 		//Start Trade
	 		if(group == "trade")
			{
				//One is calling to close All
				if(target_id == "div_trade_additional_info_two")
				{
					//Reset the radio buttons to "NO"
	 	 			document.frm.trade_additional_info_two[1].checked = true;
	 	 			document.frm.trade_additional_info_three[1].checked = true;
	 	 			
	 	 			//Hide all the frame groups
					var x = new getObj('div_trade_additional_info_two');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
	
					var x = new getObj('div_trade_additional_info_three');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
		 			
					var x = new getObj('div_trade_additional_info_four');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
				}
				
				//Two is calling to close three and four
				else if(target_id == "div_trade_additional_info_three")	
				{
					//Reset the radio buttons to "NO"
					document.frm.trade_additional_info_three[1].checked = true;
					
					//Hide all the frame groups
					var x = new getObj('div_trade_additional_info_three');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
		 			
					var x = new getObj('div_trade_additional_info_four');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
				}
				else	//Three is calling to close four
				{
					//Hide all the frame groups
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
			 		x.style.display = view_state ? 'block' : 'none';
		 		}
	 		}	// End of Group Trade

	 		
	 		//Start Bank
	 		if(group == "bank")
			{
				//One is calling to close All
				if(target_id == "div_bank_additional_info_two")
				{
					//Reset the radio buttons to "NO"
	 	 			document.frm.bank_additional_info_two[1].checked = true;
	 	 			document.frm.bank_additional_info_three[1].checked = true;
	 	 			
	 	 			//Hide all the frame groups
					var x = new getObj('div_bank_additional_info_two');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
	
					var x = new getObj('div_bank_additional_info_three');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
		 			
					var x = new getObj('div_bank_additional_info_four');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
				}
				
				//Two is calling to close three and four
				else if(target_id == "div_bank_additional_info_three")	
				{
					//Reset the radio buttons to "NO"
					document.frm.bank_additional_info_three[1].checked = true;
					
					//Hide all the frame groups
					var x = new getObj('div_bank_additional_info_three');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
		 			
					var x = new getObj('div_bank_additional_info_four');
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
		 			x.style.display = view_state ? 'block' : 'none';
				}
				else	//Three is calling to close four
				{
					//Hide all the frame groups
			 		x.style.visibility = (flag) ? 'hidden' : 'visible'
			 		x.style.display = view_state ? 'block' : 'none';
		 		}
	 		}	// End of Group bank
	 		
	 		
	 		
	 		
	 		
		}	
}


		/*	Form Validation  */

		function trim(strVar) { 
		     if(strVar.length >0)
			 {
			        while(strVar.charAt(0)==" ") 
					strVar=strVar.substring(1,strVar.length); 
					while(strVar.charAt(strVar.length-1)==" ") 
					strVar=strVar.substring(0,strVar.length-1); 			
			 }
			 return strVar; 
		}

		// Email Validation
		function checkEmail(email)
		{
		 
		 if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email))
		 {
			return (true)
		 }
			return (false)
		}
				
		function isNotNumeric(str)
		{
				for (var i = 0; i < str.length; i++)
				{
						var ch = str.substring(i, i + 1);
						if((ch < '0' || '9' < ch)) 
						{
							if(ch == "+" || ch == "-" || ch == "." || ch == ")" || ch == "("  || ch == " ") continue;
							return true;
						}
				}
				return false;
		}
		
		function isNotAlphabets(str){
				for (var i = 0; i < str.length; i++)
				{
						re = / /gi				//Replace the space between words with no space
						str = str.replace(re,"");
					
						var ch = str.substring(i, i + 1);
						
						if((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) 
						{
							return true;
						}
				}
				return false;
		}

		function MM_openBrWindow(theURL,winName,features) { //v2.0
		  window.open(theURL,winName,features);
		}
		
			
		function check_credit_app(chk)
		{
			
			var first_name  = trim(chk.first_name.value);	
			var company_name  = trim(chk.company_name.value);
			
			var billing_address	= trim(chk.billing_address.value);
			var billing_city	= trim(chk.billing_city.value);
			var billing_state	= trim(chk.billing_state.value);
			var billing_zip  = trim(chk.billing_zip.value);
			
			var delivery_address  = trim(chk.delivery_address.value);
			var delivery_city  = trim(chk.delivery_city.value);
			var delivery_state   = trim(chk.delivery_state.value);
			var delivery_zip 	= trim(chk.delivery_zip.value);
			
			var business_phone_a		= trim(chk.business_phone_a.value);
			var business_phone_b		= trim(chk.business_phone_b.value);
			var business_phone_c		= trim(chk.business_phone_c.value);
			
			var fax_a		= trim(chk.fax_a.value);
			var fax_b		= trim(chk.fax_b.value);
			var fax_c		= trim(chk.fax_c.value);	
			
			var cell_a		= trim(chk.cell_a.value);
			var cell_b		= trim(chk.cell_b.value);
			var cell_c		= trim(chk.cell_c.value);		
				
			var hm_no		= trim(chk.hm_no.value);			
			var email		= trim(chk.email.value);
			var established_a	= trim(chk.established_a.value);
			var established_b	= trim(chk.established_b.value);
			var established_c	= trim(chk.established_c.value);
			
			var social_security_no_a			= trim(chk.social_security_no_a.value);
			var social_security_no_b	= trim(chk.social_security_no_b.value);
			var social_security_no_c	= trim(chk.social_security_no_c.value);
			var taxpayer_id	= trim(chk.taxpayer_id.value);
			var ca_sales_tax_permit_no	= trim(chk.ca_sales_tax_permit_no.value);
			
			var type_of_service		= trim(chk.type_of_service.value);
			var type_of_organization = trim(chk.type_of_organization.value);			
			
			var personal_name_one		= trim(chk.personal_name_one.value);
			var personal_title_one		= trim(chk.personal_title_one.value);
			var personal_address_one			= trim(chk.personal_address_one.value);
			var personal_city_one	= trim(chk.personal_city_one.value);
			var personal_state_one	= trim(chk.personal_state_one.value);
			var personal_zip_one	= trim(chk.personal_zip_one.value);
			var personal_social_security_no_one_a			= trim(chk.personal_social_security_no_one_a.value);
			var personal_social_security_no_one_b	= trim(chk.personal_social_security_no_one_b.value);
			var personal_social_security_no_one_c	= trim(chk.personal_social_security_no_one_c.value);
			var personal_birthdate_one_a	= trim(chk.personal_birthdate_one_a.value);
			var personal_birthdate_one_b	= trim(chk.personal_birthdate_one_b.value);
			var personal_birthdate_one_c	= trim(chk.personal_birthdate_one_c.value);
			var personal_ownership_one	= trim(chk.personal_ownership_one.value);
			
			var insurance_phone_number_a		= trim(chk.insurance_phone_number_a.value);
			var insurance_phone_number_b		= trim(chk.insurance_phone_number_b.value);
			var insurance_phone_number_c		= trim(chk.insurance_phone_number_c.value);
			var insurance_contact_name		= trim(chk.insurance_contact_name.value);
			var insurance_agent		= trim(chk.insurance_agent.value);
				
				var banks_balance_checking_one	= trim(chk.banks_balance_checking_one.value);
				var banks_balance_saving_one	= trim(chk.banks_balance_saving_one.value);

				var banks_name_one  = trim(chk.banks_name_one.value);
				var banks_contact_one  = trim(chk.banks_contact_one.value);
				var banks_phone_number_one_a   = trim(chk.banks_phone_number_one_a.value);
				var banks_phone_number_one_b 	= trim(chk.banks_phone_number_one_b.value);
				var banks_phone_number_one_c		= trim(chk.banks_phone_number_one_c.value);
				
				var banks_address_one		= trim(chk.banks_address_one.value);
				var banks_city_one		= trim(chk.banks_city_one.value);
				var banks_state_one			= trim(chk.banks_state_one.value);
				var banks_zip_one	= trim(chk.banks_zip_one.value);
				var banks_account_number_one	= trim(chk.banks_account_number_one.value);
				var banks_account_type_one	= trim(chk.banks_account_type_one.value);
				
				var disclaimer_chk	= trim(chk.disclaimer_chk.value);
				if(chk.website[0].checked == false && chk.website[1].checked == false && chk.website[2].checked == false)
				 {
					 alert("Please check where your initial purchase will be made.");
					 chk.website[0].focus();
					 return false;
				 }
				if(first_name == "")
				 {
					alert("Please enter your applicant name.");
					chk.first_name.focus();
					return false;
				}
				if(isNotAlphabets(first_name))
				 {
					alert("Invalid characters in applicant name.");
					chk.first_name.focus();
					return false;		  
				 }
			/*	if(company_name == "")
				 {
					alert("Please enter your trade name.");
					chk.company_name.focus();
					return false;
				}	*/		
				if(billing_address == "")
				 {
					alert("Please enter your billing address.");
					chk.billing_address.focus();
					return false;
				 }
				 
				 if(billing_city == "")
				 {
					alert("Please enter your billing city.");
					chk.billing_city.focus();
					return false;
				 }
				 if(isNotAlphabets(billing_city))
				 {
					alert("Invalid characters in billing city.");
					chk.billing_city.focus();
					return false;		  
				 }

				 if(billing_state == "")
				 {
					alert("Please select your billing state.");
					chk.billing_state.focus();
					return false;
				 }
				 if(billing_zip == "")
				 {
					alert("Please enter your billing zip.");
					chk.billing_zip.focus();
					return false;
				 }
				
				if(delivery_address == "")
					 {
						alert("Please enter your physical address.");
						chk.delivery_address.focus();
						return false;
					 }
					 if(delivery_city == "")
					 {
						alert("Please enter your physical city.");
						chk.delivery_city.focus();
						return false;
					 }
					  if(isNotAlphabets(delivery_city))
				 {
					alert("Invalid characters in physical city.");
					chk.billing_city.focus();
					return false;		  
				 }
					 if(delivery_state == "")
					 {
						alert("Please select your physical state.");
						chk.delivery_state.focus();
						return false;
					 }
					 if(delivery_zip == "")
					 {
						alert("Please enter your physical zip.");
						chk.delivery_zip.focus();
						return false;
					 }
				 if(business_phone_a == "")
				 {
					alert("Please enter your phone number.");
					chk.business_phone_a.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(business_phone_a))
				 {
					alert("Invalid characters in phone number.");
					chk.business_phone_a.focus();
					return false;		  
				 }				 
				 
				 if(business_phone_b == "")
				 {
					alert("Please enter your phone number.");
					chk.business_phone_b.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(business_phone_b))
				 {
					alert("Invalid characters in phone number.");
					chk.business_phone_b.focus();
					return false;		  
				 }				 

				 if(business_phone_c == "")
				 {
					alert("Please enter your phone number.");
					chk.business_phone_c.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(business_phone_c))
				 {
					alert("Invalid characters in phone number.");
					chk.business_phone_c.focus();
					return false;		  
				 }				 

				 
				 if(fax_a == "")
				 {
					alert("Please enter your fax number.");
					chk.fax_a.focus();
					return false;
				 }				
				 if(isNotNumeric(fax_a))
				 {
					alert("Invalid characters in fax number.");
					chk.fax_a.focus();
					return false;		  
				 }				 
				 
				 if(fax_b == "")
				 {
					alert("Please enter your fax number.");
					chk.fax_b.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(fax_b))
				 {
					alert("Invalid characters in fax number.");
					chk.fax_b.focus();
					return false;		  
				 }				 

				 if(fax_c == "")
				 {
					alert("Please enter your fax number.");
					chk.fax_c.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(fax_c))
				 {
					alert("Invalid characters in fax number.");
					chk.fax_c.focus();
					return false;		  
				 }				 				 
				 if(cell_a == "")
				 {
					alert("Please enter your cell number.");
					chk.cell_a.focus();
					return false;
				 }				
				 if(isNotNumeric(cell_a))
				 {
					alert("Invalid characters in cell number.");
					chk.cell_a.focus();
					return false;		  
				 }				 
				 
				 if(cell_b == "")
				 {
					alert("Please enter your cell number.");
					chk.cell_b.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(cell_b))
				 {
					alert("Invalid characters in cell number.");
					chk.cell_b.focus();
					return false;		  
				 }				 

				 if(cell_c == "")
				 {
					alert("Please enter your cell number.");
					chk.cell_c.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(cell_c))
				 {
					alert("Invalid characters in cell number.");
					chk.cell_c.focus();
					return false;		  
				 }
				if(hm_no == "")
				 {
					alert("Please enter your HM number.");
					chk.hm_no.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(hm_no))
				 {
					alert("Invalid characters in HM number.");
					chk.hm_no.focus();
					return false;		  
				 }
				if(email == "")
				 {
					alert("Please enter your email address.");
					chk.email.focus();
					return false;
				 }
				 				
				 if(!checkEmail(email))
				 {
					alert("Invalid email address.");
					chk.email.focus();
					return false;		  
				 }			 
				 if(established_a == "")
				 {
					alert("Please enter established day.");
					chk.established_a.focus();
					return false;
				 }
				 if(established_b == "")
				 {
					alert("Please enter established.");
					chk.established_b.focus();
					return false;
				 }
				 if(established_c == "")
				 {
					alert("Please enter established year.");
					chk.established_c.focus();
					return false;
				 }	
				 if(social_security_no_a == "")
				 {
					alert("Please enter social security number.");
					chk.social_security_no_a.focus();
					return false;
				 }
				 if(social_security_no_b == "")
				 {
					alert("Please enter social security number.");
					chk.social_security_no_b.focus();
					return false;
				 }
				 if(social_security_no_c == "")
				 {
					alert("Please enter social security number.");
					chk.social_security_no_c.focus();
					return false;
				 }
				 if(taxpayer_id == "")
				 {
					alert("Please enter taxpayer id number.");
					chk.taxpayer_id.focus();
					return false;
				 }	
				 if(isNotNumeric(taxpayer_id))
				 {
					alert("Invalid characters in taxpayer id number.");
					chk.taxpayer_id.focus();
					return false;		  
				 }
				 if(ca_sales_tax_permit_no == "")
				 {
					alert("Please enter CA sales tax permit number.");
					chk.ca_sales_tax_permit_no.focus();
					return false;
				 }	
				 if(isNotNumeric(ca_sales_tax_permit_no))
				 {
					alert("Invalid characters in CA sales tax permit number.");
					chk.ca_sales_tax_permit_no.focus();
					return false;		  
				 }
				 if(type_of_service == "")
				 {
					alert("Please select nature of business.");
					chk.type_of_service.focus();
					return false;
				 }
				  if(type_of_organization == "")
				 {
					alert("Please select type of business.");
					chk.type_of_organization.focus();
					return false;
				 }
				 
				if(personal_name_one == "")
				 {
					alert("Please enter name of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_name_one.focus();
					return false;
				}
				if(isNotAlphabets(personal_name_one))
				 {
					alert("Invalid characters in name of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_name_one.focus();
					return false;		  
				 }
				if(personal_title_one == "")
				 {
					alert("Please enter title of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_title_one.focus();
					return false;
				}
				if(personal_address_one == "")
				 {
					alert("Please enter address of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_address_one.focus();
					return false;
				}
				if(personal_city_one == "")
				 {
					alert("Please enter city of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_city_one.focus();
					return false;
				}
				
			if(isNotAlphabets(personal_city_one))
				 {
					alert("Invalid characters in principal city.");
					chk.personal_city_one.focus();
					return false;		  
				 }
				if(personal_state_one == "")
				 {
					alert("Please select state of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_state_one.focus();
					return false;
				}																 
				if(personal_zip_one == "")
				 {
					alert("Please enter zip code of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_zip_one.focus();
					return false;
				}																 
				 
				if(personal_ownership_one == "")
				 {
					alert("Please enter % ownership. of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_ownership_one.focus();
					return false;
				 }	 				 
				if(personal_social_security_no_one_a == "")
				 {
					alert("Please enter personal social security_no. of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_social_security_no_one_a.focus();
					return false;
				 }
				 if(personal_social_security_no_one_b == "")
				 {
					alert("Please enter personal social security_no. of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_social_security_no_one_b.focus();
					return false;
				 }
				 if(personal_social_security_no_one_c == "")
				 {
					alert("Please enter personal social security_no. of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_social_security_no_one_c.focus();
					return false;
				 }
				 
				 
				 if(personal_birthdate_one_a == "")
				 {
					alert("Please enter birth day of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_birthdate_one_a.focus();
					return false;
				 }
				 if(personal_birthdate_one_b == "")
				 {
					alert("Please enter birth month of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_birthdate_one_b.focus();
					return false;
				 }
				 if(personal_birthdate_one_c == "")
				 {
					alert("Please enter birth year of OWNER / PRINCIPAL / PARTNERS.");
					chk.personal_birthdate_one_c.focus();
					return false;
				 }				 				 				 
				 	 
				 					 
				if(insurance_agent == "")
				 {
					alert("Please enter insurance agent.");
					chk.insurance_agent.focus();
					return false;
				 }
				 				
				 if(isNotAlphabets(insurance_agent))
				 {
					alert("Invalid characters in insurance agent.");
					chk.insurance_agent.focus();
					return false;		  
				 }	
				 if(insurance_contact_name == "")
				 {
					alert("Please enter insurance contact name.");
					chk.insurance_contact_name.focus();
					return false;
				 }
				 				
				 if(isNotAlphabets(insurance_contact_name))
				 {
					alert("Invalid characters in insurance contact name.");
					chk.insurance_contact_name.focus();
					return false;		  
				 }
				 if(insurance_phone_number_a == "")
				 {
					alert("Please enter phone number.");
					chk.insurance_phone_number_a.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(insurance_phone_number_a))
				 {
					alert("Invalid characters in phone number.");
					chk.insurance_phone_number_a.focus();
					return false;		  
				 }				 
				 
				 if(insurance_phone_number_b == "")
				 {
					alert("Please enter number.");
					chk.insurance_phone_number_b.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(insurance_phone_number_b))
				 {
					alert("Invalid characters in phone number.");
					chk.insurance_phone_number_b.focus();
					return false;		  
				 }				 

				 if(insurance_phone_number_c == "")
				 {
					alert("Please enter phone number.");
					chk.insurance_phone_number_c.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(insurance_phone_number_c))
				 {
					alert("Invalid characters in phone number.");
					chk.insurance_phone_number_c.focus();
					return false;		  
				 }			
				 if(banks_balance_checking_one == "")
				 {
					alert("Please enter bank checking balance.");
					chk.banks_balance_checking_one.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(banks_balance_checking_one))
				 {
					alert("Invalid characters in bank checking balance.");
					chk.banks_balance_checking_one.focus();
					return false;		  
				 }
				if(banks_balance_saving_one == "")
				 {
					alert("Please enter bank savings balance.");
					chk.banks_balance_saving_one.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(banks_balance_saving_one))
				 {
					alert("Invalid characters in bank savings balance.");
					chk.banks_balance_saving_one.focus();
					return false;		  
				 }			 
				 
				if(banks_name_one == "")
				 {
					alert("Please enter your bank name.");
					chk.banks_name_one.focus();
					return false;
				}
				if(banks_contact_one == "")
				 {
					alert("Please enter your bank contact name.");
					chk.banks_contact_one.focus();
					return false;
				}
				 if(banks_phone_number_one_a == "")
				 {
					alert("Please enter your bank phone number.");
					chk.banks_phone_number_one_a.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(banks_phone_number_one_a))
				 {
					alert("Invalid characters in bank phone number.");
					chk.banks_phone_number_one_a.focus();
					return false;		  
				 }				 
				 
				 if(banks_phone_number_one_b == "")
				 {
					alert("Please enter your bank phone number.");
					chk.banks_phone_number_one_b.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(banks_phone_number_one_b))
				 {
					alert("Invalid characters in bank phone number.");
					chk.banks_phone_number_one_b.focus();
					return false;		  
				 }				 

				 if(banks_phone_number_one_c == "")
				 {
					alert("Please enter your bank phone number.");
					chk.banks_phone_number_one_c.focus();
					return false;
				 }
				 				
				 if(isNotNumeric(banks_phone_number_one_c))
				 {
					alert("Invalid characters in bank phone number.");
					chk.banks_phone_number_one_c.focus();
					return false;		  
				 }
				 if(banks_address_one == "")
				 {
					alert("Please enter your bank address.");
					chk.banks_address_one.focus();
					return false;
				 }				 
				 if(banks_city_one == "")
				 {
					alert("Please enter your bank city.");
					chk.banks_city_one.focus();
					return false;
				 }
			if(isNotAlphabets(banks_city_one))
				 {
					alert("Invalid characters in bank/finance city.");
					chk.banks_city_one.focus();
					return false;		  
				 }
				 if(banks_state_one == "")
				 {
					alert("Please select your bank state.");
					chk.banks_state_one.focus();
					return false;
				 }				 				 
				 if(banks_zip_one == "")
				 {
					alert("Please enter your bank zip code.");
					chk.banks_zip_one.focus();
					return false;
				 }
				 if(banks_account_type_one == "")
				 {
					alert("Please select your bank account type.");
					chk.banks_account_type_one.focus();
					return false;
				 }
				 if(banks_account_number_one == "")
				 {
					alert("Please enter your bank account no.");
					chk.banks_account_number_one.focus();
					return false;
				 }				 				 
				 
				 if(chk.purchasing_for_resale[0].checked == false && chk.purchasing_for_resale[1].checked == false)
				 {
					 alert("Please select purchase order required.");
					 chk.purchasing_for_resale[0].focus();
					 return false;
				 }
				 if(chk.exemption_certificate[0].checked == false && chk.exemption_certificate[1].checked == false)
				 {
					 alert("Please select sales tax exempt.");
					 chk.exemption_certificate[0].focus();
					 return false;
				 }
				 if(chk.disclaimer_chk.checked==false)
				 {
					alert("Please accept Terms & Conditions.");
					chk.disclaimer_chk.focus();
					return false;
					 
				 }	 		
				 
				 		 				 
		}	