<!--
var activeClass = new Array();

for (i=1; i< 5; i++) {
	activeClass[i] = " class='menuoff' ";
}

if ((currentmenu!=0) && (currentmenu!=1) && (currentmenu!=10) && (currentmenu!=20) && (currentmenu!=30) && (currentmenu!=40) && (currentmenu!=50)) {
	activeClass[currentmenu] = " class='menuon' ";
}

var homemenu="<img src='images/spacer.gif' width='1' height='13' border='0'/>"; // 0

var companymenu=""; // 1
companymenu+="<a href='aboutus.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[2]+" class='menuoff'>About Us</a> ";
companymenu+="<a href='jefftucker.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[3]+" class='menuoff'>Our Team</a> ";
companymenu+="<a href='ourapproach.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[4]+" class='menuoff'>Our Approach</a> ";
companymenu+="<a href='planninganddesign.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[5]+" class='menuoff'>Planning &amp; Design</a> ";
companymenu+="<a href='communityinvolvement.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[6]+" class='menuoff'>Community Involvement</a> ";

var developmentmenu=""; // 10
developmentmenu+="<a href='development.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[11]+" class='menuoff'>Featured Projects</a> ";
developmentmenu+="<a href='areasoffocus.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[12]+" class='menuoff'>Areas of Focus</a> ";
developmentmenu+="<a href='qualifications.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[13]+" class='menuoff'>Qualifications</a> ";

var tuckermenu="<img src='images/spacer.gif' width='1' height='13' border='0'/>"; //20

var investmentmenu=""; // 30
investmentmenu+="<a href='investmentdevelopment.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[31]+" class='menuoff'>Development</a> ";
investmentmenu+="<a href='propertyforsale.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[32]+" class='menuoff'>Property for Sale</a> ";

var newsmenu=""; // 40
newsmenu+="<a href='news1.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[41]+" class='menuoff'>News</a> ";
newsmenu+="<a href='archivenews1.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[42]+" class='menuoff'>Archived News</a> ";
newsmenu+="<a href='pressreleases1.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[43]+" class='menuoff'>Press Releases</a> ";
newsmenu+="<a href='archivepressreleases1.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[44]+" class='menuoff'>Archived Press Releases</a> ";

var contactmenu=""; // 50
contactmenu+="<a href='contactus.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[51]+" class='menuoff'>Contact Us</a> ";
contactmenu+="<a href='directions.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'"+activeClass[52]+" class='menuoff'>Directions</a> ";

var imgld=0;
 
function showLayer(name) {
    if (isNS){
    	document.layers[0].document.layers["subnav"].document.open();
		document.layers[0].document.layers["subnav"].document.write(eval(name));
		document.layers[0].document.layers["subnav"].document.close();
	}		
    if (isIE){
   		document.getElementById("sublyr").innerHTML=eval(name); 
	}
	if (isNS6){
		//document.getElementById("one").innerHTML="";
		document.getElementById("sublyr").innerHTML=eval(name);
	}
}

// preload navigation images
if (document.images){	
	
	var home_on = new Image();
	home_on.src = "images/nav/home_on.gif";
	var  home_off = new Image();
	home_off.src = "images/nav/home_off.gif";
	
	var company_on = new Image();
	company_on.src = "images/nav/company_on.gif";
	var  company_off = new Image();
	company_off.src = "images/nav/company_off.gif";
	
	var development_on = new Image();
	development_on.src = "images/nav/development_on.gif";
	var development_off = new Image();
	development_off.src = "images/nav/development_off.gif";
	
	var tucker_on = new Image();
	tucker_on.src = "images/nav/tucker_on.gif";
	var tucker_off = new Image();
	tucker_off.src = "images/nav/tucker_off.gif";
	
	var investment_on = new Image();
	investment_on.src = "images/nav/investment_on.gif";
	var investment_off = new Image();
	investment_off.src = "images/nav/investment_off.gif";
	
	var news_on = new Image();
	news_on.src = "images/nav/news_on.gif";
	var news_off = new Image();
	news_off.src = "images/nav/news_off.gif";
	
	var contact_on = new Image();
	contact_on.src = "images/nav/contact_on.gif";
	var contact_off = new Image();
	contact_off.src = "images/nav/contact_off.gif";
	
	imgld=1;
}
	
function init() {
	if (currentpage!="home") {
		if (isNS) {
			eval("document.images[currentpage].src = "+ currentpage + "_on.src");
		} else {
			document.images[currentpage].src = eval(currentpage + "_on.src");
		}
		showLayer(layertoshow);
	}
}


function swapImg(i,j) {
	if (imgld==0) return;
	if (i==currentpage) return;
	 	if (isNS) {
	 	eval("document.images[i].src = "+ i + "_" + j + ".src");
		} else {
			document.images[i].src = eval(i + "_" + j + ".src");
		}
}

function keepAlive(mouse_over) {
	if (mouse_over) {
		if (typeof TimerID != "undefined") clearTimeout(TimerID);
	} else {
		if (typeof TimerID != "undefined") clearTimeout(TimerID);
		TimerID = setTimeout('switchLayer()',1000);
	}
}

function swapImageOn(x,y) {
	swapImg(x,y);
	showme=(x+"menu");
	showLayer(showme);
}

function swapImageOff(x,y) {
	swapImg(x,y);
}

function switchLayer() {
	showLayer(layertoshow);
}

//-->
