<!--



javascript:window.history.forward(1);


//-->



function addName(what,where,howmany){
	document.all(where).innerHTML = (what);
}


function showAndHide(show,hide){
	document.all(show).style.display = "block";
	document.all(hide).style.display = "none";
}

function showTable(where){
	next.style.display = "block";
	res.style.display = "block";
	
	if(where == "com"){
	thisname = "commercial";
	}else{
	thisname = "residential";
	}
		for(i=0;i<3;i++){
		z=(i+1);
		spike = "typer" + z;
		document.all(spike).innerHTML = thisname;
		}
}






function checkIt(){
	with(document.MyForm){
	if((lessor.value == "") || (lessee.value == "") || (leasetype.value == "") || (leasedate.value == "") || (releasereason.value == "") || (effectivedate.value == "") || (vacatedate.value == "") || (address.value == "") || (city.value == "") || (state.value == "")){

		window.open('lease_release_missinginfo.cfm','missing','width=650,height=550,scrollbars=1,status=1');
		return false;
	}else{
		return true;
	}
	}
}
