// (c)2007 Engineering Solutions Inc.gButtons = ["Home","Accessor","Omniguard","Mistral","Support","Downloads","WhatsNew","Contact"];gButtonDescriptions = ["Home","Accessor","Omniguard","Mistral","Support","Downloads","Whats New","Contact ESi"];gButtonLinks = ["index.html","acfeatures.html","ogfeatures.html","stfeatures.html","techsupport.html","softwaredownloads.html","new.html","contact.html"];//// Return image pointed located at imageFilename.//function LoadGraphic(imageFilename) {	var a = new Image(); 	a.src = imageFilename; 	return a; 	}////  Return image for requested button and button state//function GetGraphic(button,state) {if(state==0)	return(LoadGraphic("graphics/buttons/b" + gButtons[button] + ".png"));else	return(LoadGraphic("graphics/buttons/bo" + gButtons[button] + ".png"));}//// Build graphic menu.//function BuildMainMenu(activeButton) {//buttons are contained in a table so they can be right next to each other//start table and put in left graphicdocument.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td><img src=\"graphics/buttons/bLeft.png\"></td>");for(i=0 ; i<gButtons.length ; i++)	if(i != activeButton)		document.write("<td><a href=\"" + gButtonLinks[i] + "\" onmouseover = \"document[\'mbutton" + i + "\'].src = gButtonGraphic[" + i + "][1].src; window.status=\'" + gButtonDescriptions[i] + "\'; return true;\" onmouseout = \"document[\'mbutton" + i + "\'].src = gButtonGraphic[" + i + "][0].src;\"> <img src=\"graphics/buttons/b" + gButtons[i] + ".png\" border=\"0\" alt=\"[" + gButtonDescriptions[i] + "]\" name=\"mbutton" + i + "\"></a></td>");	else		document.write("<td><img src=\"graphics/buttons/ba" + gButtons[i] + ".png\" border=\"0\" alt=\"[" + gButtonDescriptions[i] + "]\" name=\"mbutton" + i + "\"></td>");//end with right graphic and close out table for buttonsdocument.write("<td><img src=\"graphics/buttons/bRight.png\"></td></tr></table>");}