function DisplayForm() {
	var strState = document.frmQuote.state.value;
	var strForm = "";
	var strExtra = "";
	for (var i = 0; i < document.frmQuote.insurance.length; i++) {
		if (document.frmQuote.insurance[i].checked) {
			strForm = document.frmQuote.insurance[i].value;
			break;
		}
	}
	
	if (strForm == "life") { 
		strForm = "health";
		strExtra = "life";
	}

	if (strForm.length == 0) { 
		var strError = "You must choose an insurance product\nbefore submitting this form."; 
		alert(strError);
	}
	else {
			window.location = "/"+strForm+"/ratequote" + strExtra + "/index.asp?state=" + strState;
	}
}




function ShowSelectedState(strState) {
	for (var i =0; i < document.frmRateform.state.length; i++) {
		if (document.frmRateform.state[i].value == strState) {
			document.frmRateform.state[i].selected = true;
			break;
		}	
	}
}



function jumpToRecord(intNum) {
	document.frmPages.startindex.value = intNum;
	document.frmPages.submit();
}