var selectsRun=false;

var B = "0";


function showMenu( sCatID, sBackground, sHighLight, sContent, aEntries ) {
	var nLoop, sLinkCatID, sLinkZoneID, sLinkWindow, sLinkDescription;

	document.write("<div style=\"visibility:hidden; position:absolute; margin-top: 21px; margin-left:0px; border:1px #0099CC solid;\" id=cat" + sCatID + ">");
	document.write("<table border=0px bgcolor=\"" + sBackground + "\" WIDTH=110px>");

	for (nLoop = 0; nLoop < aEntries.length; nLoop++) {
		var aComponents=aEntries[nLoop].split("~");
		sLinkCatID = aComponents[0];
		sLinkZoneID = aComponents[1];
		sLinkWindow = aComponents[2];
		sLinkDescription = aComponents[3];

		document.write("<TR>");
		document.write("<TD CLASS=\"sub\" ONCLICK=\"Off(this," + sCatID+ ");"+sLinkWindow+"('" + sLinkCatID + "','" + sLinkZoneID + "');\" ONMOUSEOVER=\"B='1'; On(this," + sCatID+ ");this.style.backgroundColor='" + sHighLight + "';this.style.cursor='pointer';this.style.textDecorationUnderline=false;\" ONMOUSEOUT=\"B='0';this.style.backgroundColor='';this.style.textDecorationUnderline=false;\">");
		document.write("<NOBR><IMG SRC=\"" + sContent + "/Spacer.gif\" HEIGHT=0 WIDTH=0 BORDER=0 HSPACE=0 VSPACE=0>");
		document.write(sLinkDescription);
		document.write("<IMG SRC=\"" + sContent + "/Spacer.gif\" HEIGHT=0 WIDTH=0 BORDER=0 HSPACE=0 VSPACE=0></NOBR>");
		document.write("</TD>");
		document.write("</TR>");
	}

	document.write("</table>");
	document.write("</div>");
}





function menu1() {
showMenu('8001','#9BC95B','#00333E','',new Array('about-us.php~~gotoPage~Introduction','our-team.php~~gotoPage~Our Team','consultants.php~~gotoPage~Consultants'));
}

function menu2() {
showMenu('8002','#9BC95B','#00333E','',new Array('projects-EIAM.php~~gotoPage~Environmental Impact Assessment & Masterplanning','projects-PRUD.php~~gotoPage~Public Realm & Urban Design','projects-ITS.php~~gotoPage~Infrastructure Transport & Services','projects-HPG.php~~gotoPage~Heritage Parks & Gardens','projects-LT.php~~gotoPage~Leisure & Tourism','projects-HE.php~~gotoPage~Health & Education','projects-RC.php~~gotoPage~Residential & Community','projects-CRI.php~~gotoPage~Commercial, Retail & Industrial'));
}

function menu3() {
showMenu('8003','#9BC95B','#00333E','',new Array('blank.php~~gotoPage~Blank'));
}

function menu4() {
showMenu('8004','#9BC95B','#00333E','',new Array(
'news_practice_update_spring10.php~~gotoPage~Pratice Update – Spring 2010',
'news_practice_update_autumn09.php~~gotoPage~Pratice Update – Autumn 2009',
'news_practice_update_spring09.php~~gotoPage~Pratice Update – Spring 2009',
'news_practice_update_winter08.php~~gotoPage~Pratice Update – Winter 2008',
'news_landscape_journal.php~~gotoPage~Green roofs article',
'news_le_court.php~~gotoPage~A selection from 2008 press cuttings',
'summer.php~~gotoPage~Pratice Update – Summer 2008',
'news_practice_update_08.php~~gotoPage~Pratice Update – Spring 2008', 
'news_butterfly_world_08.php~~gotoPage~Butterfly World',
'news_looking_ahead_08.php~~gotoPage~Looking ahead to 2008'
));
}






agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0,7) == "Mozilla")
	if ( parseInt(agent.substring(8,9) ) >= 3)
		browserVer = 1;
