<!--
database=new Array("howmuch.asp","calculator.asp","costofowning.asp","findprogram.asp","prequalified.asp","findingahome.asp","certifiedhousing.asp","lookingathomes.asp","location.asp","makeoffer.asp","youroffer.asp","counteroffers.asp","homewarranties.asp","applyforloan.asp","findlender.asp","choosemortgage.asp","shoppinginterest.asp","loanapplicationcosts.asp","appraisalprocess.asp","qualifyingloan.asp","inspections.asp","importanceinspections.asp","qualifiedinspector.asp","typesinspections.asp","closing.asp","prepclosing.asp","closingcosts.asp","closingdate.asp","yourclosing.asp","afterclosing.asp","glossary.asp");
NumberOfFiles=database.length;
StringA=location.href;
LengthA=StringA.length;
A=StringA.lastIndexOf("/")+1;
ThisFilename=StringA.substring(A,LengthA);
n=NumberOfFiles-1;

for (var i = 0; i <= n; i++)
{
	if (database[i]==ThisFilename)
	{
	ThisPageNumber=i;
	}
}


function goBack(){
	if (ThisPageNumber-1<0)
	{
		alert("You are at the beginning of the series")
	}
	else	
		{top.location=database[ThisPageNumber-1]}}

function goForward(){
	if (ThisPageNumber+1>n){
		alert("You are at the end of the series")
	}
	else
		{top.location=database[ThisPageNumber+1]}}
		// -->