<!--



javascript:window.history.forward(1);


//-->

function showMore(where,gone){
	document.all(where).style.display = "block";
	document.all(gone).style.display = "none";
}

function addName(who,howmany,where){
	for (i=0;i<howmany;i++){
	z = (i +1);
	spike = where + z;
	document.all(spike).innerHTML = who;
	}
}

function checkIt(){
	with(document.MyForm){
	
		if((releasor.value == "") || (releasoraddress.value == "") || (releasorcity.value == "") || (releasorstate.value == "") || (releasorzip.value == "") || (releasorcounty.value == "") || (releaseecounty.value == "") || (childname.value == "") || (othrelee2.value == "") || (releasee.value == "") || (releasoring.value == "") || (activityarea.value == "") || (statelaw.value == "") || (releaseeaddress.value == "") || (releaseecity.value == "") || (releaseestate.value == "") || (releaseezip.value == "") || (executionplace.value == "") || (releasedate.value == "") || (claimdescription.value == "") || !checkMore()) {
		window.open('parental_waiver_of_liability_missing.cfm','missing','width=500,height=500,scrollbars=1,status=1');
		return false;
		}else{
		return true;
		}
	}
}
function checkMore(){
	
	for(i=1;i<4;i++){
		z=(i+1);
		poth = "othrelee" + z;
		morel = "releasee" + z;
			if(document.MyForm(poth).value == "1"){
				if(document.MyForm(morel).value == ""){
				return false;
				}else{
				continue;
				}
			}		
	}
	
	
	
	
	return true;
	
}

function spouseY(){


	if(document.MyForm.hasspouse.value == "1"){
		
		if(document.MyForm.releasorspouse.value == ""){
			return false;
		}else{			
			return true;		
		}
	}
	return true;

}

function showY(what,where){
	if(what == "1"){
		document.all(where).style.display = "block";
	}else{
		document.all(where).style.display = "none";
	}
	if(where.indexOf("oth")>=0){
		if(what == "2"){
			document.all.end.style.display = "block";
		}
	}
	if(where == "oth3"){
		document.all.end.style.display = "block";
	}
}