<!--
/* *************************************************************
* set some global variables that will be checked later         *
***************************************************************/
var imageRootPath = "http://www.ffbuilders.com/images/";
var imageType = "gif";

var navArray = [
	/* here's are sample Array entryies for "nav" and "spacer" types
	["nav","inactive cue","Image Link","Image Root Name","image events (aside from 'Home' and 'Off' which are mandatory 'O' for over ,'D' so...'O' 'D' or 'OD' ", "alt text...if none found here just use],
	["spacer","spacer.gif","alt text"],
	*/


	["nav","main","http://www.ffbuilders.com/index.php","navHome","O","Home Page"],
	["nav","portfolio","http://www.ffbuilders.com/cgi/listman/exec/search.cgi?search=1&template=_portfolio.html&lfield2_keyword=Yes&perpage=1&sort_order=1%2C123%2Cforward&marknew=0","navPortfolio","O","Portfolio"],
	["nav","available","http://www.ffbuilders.com/cgi/listman/exec/search.cgi?search=1&template=_available.html&lfield8_keyword=Available&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1","navAvailable","O","Available Properties"],
	["nav","current","http://www.ffbuilders.com/cgi/listman/exec/search.cgi?search=1&template=_current.html&lfield8_keyword=Current&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1","navCurrent","O","Current Projects"],
	["nav","investors","http://www.ffbuilders.com/investors.php","navInvestors","O","Investors/FAQ"],
	["nav","contactUs","http://www.ffbuilders.com/contactUs.php","navContactUs","O","Contact Us"],
	["nav","commitment","http://www.ffbuilders.com/commitment.php","navCommitment","O","Our Commitment"],
	["nav","warranty","http://www.ffbuilders.com/warranty.php","navWarranty","O","Our Warranty"],
	["nav","resources","http://www.ffbuilders.com/resources.php","navResources","O","Client Resources"],
	
	// this last entry is here just to help protect you from screwing up the syntax when adding entries...just leave it be
	["image type values nav/spacer","inactive cue","off Image","over image","click image","alt text"]
];

function createImageObject(rootName){
	eval(rootName +'= new Image()');
	eval(rootName+'.src = "'+ imageRootPath + rootName + '.' +imageType+'"');
}

function drawImageSet(imageSet,nativeTrigger){
	document.write('<table cellspacing="0" cellpadding="0"><tr>');
	for( x=0; x < imageSet.length-1; x++){
		document.write('<td class="navButton">');
		if(imageSet[x][0].toLowerCase() == "nav"){
			tmpAText = "";
			tmpAltText = "";
			if (imageSet[x][1].toLowerCase() != nativeTrigger.toLowerCase() ){
				tmpAText += '<a href="'+imageSet[x][2]+'"';
				if (imageSet[x][4].toLowerCase().indexOf("o") > -1) tmpAText += ' onMouseOver="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Over.src"';
				if (imageSet[x][4].toLowerCase().indexOf("d") > -1) tmpAText += ' onMouseDown="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Down.src"';
				if (imageSet[x][4].toLowerCase().indexOf("d") > -1 ||imageSet[x][4].toLowerCase().indexOf("o") > -1) tmpAText += ' onMouseOut="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Off.src"';
				( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
				tmpAText += ">";
				document.write(tmpAText+'<img name="autoDrawn'+imageSet[x][3]+'" src='+imageRootPath+imageSet[x][3]+'Off.'+imageType+ ' border="0" '+tmpAltText+'></a>');
			}else{
				( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
				document.write('<img src="'+imageRootPath+imageSet[x][3]+'Home.'+imageType+'" border="0" '+tmpAltText+'>');
			}
		}else{
			( !imageSet[x][2] || imageSet[x][2] == "" ) ? tmpAltText = ' alt="'+imageSet[x][1]+'"' : tmpAltText = ' alt="'+imageSet[x][2]+'"';
			document.write('<img src="'+imageRootPath+imageSet[x][1]+'" border="0" '+tmpAltText+'>');
		}
		document.write('</td>');
	}
	document.write('</tr></table>');
}

for( x=0; x < navArray.length; x++){
	if ( navArray[x][0].toLowerCase() == "nav" ){
		createImageObject(navArray[x][3]+"Off");
		if(navArray[x][4].toLowerCase().indexOf("o") > -1 ) createImageObject(navArray[x][3]+"Over");
		if(navArray[x][4].toLowerCase().indexOf("d") > -1 ) createImageObject(navArray[x][3]+"Down");
	}
}

<!-- Copyright 2002 Bontrager Connection, LLC

function getCalendarDate()
{
   var months = new Array(13);
   months[0]  = "January";
   months[1]  = "February";
   months[2]  = "March";
   months[3]  = "April";
   months[4]  = "May";
   months[5]  = "June";
   months[6]  = "July";
   months[7]  = "August";
   months[8]  = "September";
   months[9]  = "October";
   months[10] = "November";
   months[11] = "December";
   var now         = new Date();
   var monthnumber = now.getMonth();
   var monthname   = months[monthnumber];
   var monthday    = now.getDate();
   var year        = now.getYear();
   if(year < 2000) { year = year + 1900; }
   var dateString = monthname +
                    ' ' +
                    monthday +
                    ', ' +
                    year;
   return dateString;
} // function getCalendarDate()

function getClockTime()
{
   var now    = new Date();
   var hour   = now.getHours();
   var minute = now.getMinutes();
   var second = now.getSeconds();
   var ap = "AM";
   if (hour   > 11) { ap = "PM";             }
   if (hour   > 12) { hour = hour - 12;      }
   if (hour   == 0) { hour = 12;             }
   if (hour   < 10) { hour   = "" + hour;   }
   if (minute < 10) { minute = "0" + minute; }
   if (second < 10) { second = "0" + second; }
   var timeString = hour +
                    ':' +
                    minute +                    
                    " " +
                    ap;
   return timeString;
} // function getClockTime()


function footerDate()
{
	
	var calendarDate = getCalendarDate();
	var clockTime = getClockTime();
		
	document.write(calendarDate);
	document.write('&nbsp;');


}

function copyright()
{
	
	var today=new Date();
	var nyear=today.getYear();
	
	if (nyear<=99)
  	nyear= "19"+nyear;

	if ((nyear>99) && (nyear<2000))
 	nyear+=1900;
		
		document.write('copyright &copy; ');
		document.write(nyear);
		document.write(" Firm Foundation Builders, LLC<br />");


}

function footer()
{
	

	document.write("<br /><a href='http://www.ffbuilders.com/index.php' alt='Home Page'>Main</a> | ");
	document.write("<a href='http://www.ffbuilders.com/cgi/listman/exec/search.cgi?search=1&template=_portfolio.html&lfield2_keyword=Yes&perpage=1&sort_order=1%2C123%2Cforward&marknew=0' alt='Portfolio'>Portfolio</a> | ");
	document.write("<a href='http://www.ffbuilders.com/cgi/listman/exec/search.cgi?search=1&template=_available.html&lfield8_keyword=Available&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1' alt='Available Properties'>Available Properties</a> | ");
	document.write("<a href='http://www.ffbuilders.com/cgi/listman/exec/search.cgi?search=1&template=_current.html&lfield8_keyword=Current&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1' alt='Current Projects'>Current Projects</a> | ");
	document.write("<a href='http://www.ffbuilders.com/investors.php' alt='Investors/FAQ'>Investors/FAQ</a><br />");

	document.write("<a href='mailto:specinvestments@firmfoundationbuilders.com' alt='Contact Us'>Contact Us</a> | ");
	document.write("<a href='http://www.ffbuilders.com/commitment.php' alt='Our Commitment'>Our Commitment</a> | ");
	document.write("<a href='http://www.ffbuilders.com/warranty.php' alt='Our Warranty'>Our Warranty</a> | ");
	document.write("<a href='http://www.ffbuilders.com/resources.php' alt='Client Resources'>Client Resources</a> | ");
	document.write("<a href='http://www.ffbuilders.com/land.php' alt='Build on Your Land'>Build on Your Land</a> |");
	document.write("<a href='http://www.ffbuilders.com/clientAccess.php' alt='Client Project Access'>Client Access</a><br />");
}

//-->
