<!--

function doSubmit() {
	
	if((document.quoteselector.instate.value == "Select") || (document.quoteselector.instate.value == "")) {
		switch(document.quoteselector.quotetype.value) {
			case "ARQ":
				window.location="/quote/arq.asp";
				break;
			case "HOW":
				window.location="/quote/homeowners.asp";
				break;
			case "CRQ":
				window.location="/quote/condo.asp";
				break;
			case "RRQ":
				window.location="/quote/renters.asp";
				break;
			case "LRQ":
				window.location="/quote/life.htm";
				break;
			case "HRQ":
				window.location="http://www.statefarm.com/apps/hrq_health/health_welcome.asp";
				break;
			case "DRQ":
				window.location="/disability/disability.asp";
				break;
			case "LTCRQ":
				window.location="http://www.statefarm.com/apps/hrq/welcomeltc_01.asp";
				break;
			case "BURQ":
				window.location="/business/business.asp";
				break;
			case "BRQ":
				window.location="/boat/boat.asp";
				break;
			case "Other":
				window.location="/other/other.asp";
				break;
			default:
				window.location="/other/other.asp";
				break;
		}
	}
                                   
	else
	{
		switch(document.quoteselector.quotetype.value) {
			case "ARQ":
				document.quoteselector.action="http://www.statefarm.com/apps/InsuranceApp/S1AppSelector.asp?appname=ARQ";
				document.quoteselector.method="POST";
				document.quoteselector.submit();
				break;
			case "HOW":
				document.quoteselector.action="http://www.statefarm.com/apps/InsuranceApp/S1AppSelector.asp?appname=HOW";
				document.quoteselector.method="POST";
				document.quoteselector.submit();
				break;
			case "CRQ":
				document.quoteselector.action="http://www.statefarm.com/apps/InsuranceApp/S1AppSelector.asp?appname=CRQ";
				document.quoteselector.method="POST";
				document.quoteselector.submit();
				break;
			case "RRQ":
				document.quoteselector.action="http://www.statefarm.com/apps/InsuranceApp/S1AppSelector.asp?appname=RRQ";
				document.quoteselector.method="POST";
				document.quoteselector.submit();
				break;
			
			case "LRQ":
				window.location="https://online.statefarm.com/apps/lrq3/lrq.asp";
				break;
			case "HRQ":
				window.location="/apps/hrq_health/health_welcome.asp";
				break;
			case "DRQ":
				window.location="/insurance/disability/disableprod.asp";
				break;
			case "LTCRQ":
				window.location="http://www.statefarm.com/apps/hrq/welcomeltc_01.asp";
				break;
			case "BURQ":
				window.location="/insurance/business/business.asp";
				break;
			case "BRQ":
				window.location="/insurance/boat/boat.asp";
				break;
			case "Other":
				window.location="/insurance/other/other.asp";
				break;
			default:
				window.location="/insurance/other/other.asp";
				break;
	
		}
	}
}

// -->
