fixMozillaZIndex=true;		//Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps

_menuCloseDelay=500;           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150;            // The time delay before menus open on mouse over
_subOffsetTop=10;              // Sub menu top offset
_subOffsetLeft=-2;            // Sub menu left offset


with(menuStyle=new mm_style()){
	onbgcolor="transparent";		//Background color on mouseover
	oncolor="#ffcc99";			//Text color of menu item on mouseover
	offbgcolor="transparent";		//Background color of menu
	offcolor="#ffffff";			//Text color of menu items
	borderwidth=0;
	separatorsize=0;			//Size of line between menu items
	padding=5;
	margin=0;
	fontfamily="Verdana, Tahoma, Arial";
	fontsize="90%";				//Always use a percentage so it will adjust for user settings
/*	fontstyle="none"; */
	fontweight="bold"; 
	pagecolor="#cc9933";			//Sets the current page text color of the menu item
	pagebgcolor="transparent";		//Sets the current page background color of the menu item
	subimage="/gs/images/arrow.gif";
	subimagepadding=2;
	/* overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#847B73', Direction=135, Strength=5)";
	outfilter="randomdissolve(duration=0.3)"; */
}

with(subMenuStyle=new mm_style()){
	onbgcolor="#336799";
	oncolor="#ffcc99";
	offbgcolor="#336799";
	offcolor="#ffffff";
	borderwidth=0;
	separatorsize=0;
	padding=5;
	fontfamily="Verdana, Tahoma, Arial";
	fontsize="90%";
/*	fontstyle="none"; */
	fontweight="bold";
	pagecolor="#cc9933";
	pagebgcolor="#336699";
	subimage="/gs/images/arrow.gif";
	subimagepadding=1;
}

with(milonic=new menuname("Main Menu")){	//Every link in the main menu should link to a page
	style=menuStyle;
	top=150; 	//This orients the menu 165 pixels from the top
	left=0;		//This orients the menu 0 pixels from the left
	alwaysvisible=1;
	orientation="vertical";
	itemwidth=135; 	//Use this code to specify the menu width
	menuwidth=130; 	//Use this code to specify the menu width
	followscroll=1;		//This allows the menu to always be visible on the page
	aI("text=General Services Home;url=/gs/index.htm;status=General Services Home Page;");
	aI("text=Department Head Message & The Business We're In;url=/gs/administration/index.htm;status=Dept Head Message & the Business We're In;");
	aI("text=Mission, Vision, Goals & Values;url=/gs/administration/mission_vision.htm;status=Mission, Vision, Goals & Values;");
	aI("text=Divisions & Contacts;url=/gs/administration/contacts.htm;showmenu=divisions;status=Divisions & Contacts;"); 
	/* aI("text=Current Topics of Interest;url=/gs/administration/cur_topics.htm;status=Current Topics of Interest;"); */
	aI("text=Doing Business with the County;url=/purchasing/selling.htm;status=Doing Business with the County;");
	aI("text=Capital Project Plan and Climate Protection Plan;url=/gs/administration/cpp.htm;status=Capital Project Plan and Climate Protection Plan;");
	//aI("text=Climate Protection Plan;url=/gs/administration/cpp.htm;status=Climate Protection Plan;");
	
	aI("image=/gs/images/spacer.gif;imagewidth=10;imagepadding=15;");
	aI("image=/gs/images/logo.gif;imagewidth=106;imagealign=center;imagepadding=5;url=/gs/index.htm;status=General Services Department;");
}

with(milonic=new menuname("divisions")){	
	style=subMenuStyle;
	overflow="scroll";	//Use this code when numerous links are entered - the flyout menu will scroll
	aI("text=Accounting;url=/gs/accounting/index.htm;status=Accounting;");
	aI("text=Administration;url=/gs/administration/index.htm;status=Administration;");
	aI("text=Architecture;url=/gs/architect/index.htm;showmenu=architect;status=Architecture;");
	/* aI("text=Facilities Operations;url=/gs/facops/index.htm;status=Facilities Operations;"); */
	/* aI("text=Fleet Operations;url=/gs/fleetops/index.htm;status=Fleet Operations;"); */
	aI("text=Purchasing;url=/purchasing/index.htm;status=Purchasing;");
	/* aI("text=Real Estate;url=/gs/realestate/index.htm;status=Real Estate;"); */
	/*aI("text=Risk Management;url=/gs/riskmgmt/index.htm;showmenu=risk;status=Risk Management;");*/
	aI("text=Energy and Sustainability;url= /gs/energy/index.htm;status=Energy Sustainability;");
}

with(milonic=new menuname("architect")){
	style=subMenuStyle;
	overflow="scroll";	//Use this code when numerous links are entered - the flyout menu will scroll
	aI("text=About Architecture & Our Mission;url=/gs/architect/index.htm;status=About Architecture;");
/*	aI("text=Our Mission;url=/gs/architect/index.htm;status=Our Mission;");*/
	aI("text=What We Do;url=/gs/architect/what_we_do.htm;status=What We Do;");
	aI("text=Contractor / Consultant Selection and Bids;url=/gs/architect/how_to.htm;status=Contractor / Consultant Selection and Bids;");
	/* aI("text=Current Projects;url=/gs/architect/current_projects.htm;status=Current Projects;"); */
}
	
with(milonic=new menuname("risk")){
		style=subMenuStyle;
		overflow="scroll";	//Use this code when numerous links are entered - the flyout menu will scroll
		aI("text=About Risk Management;url=/gs/riskmgmt/index.htm;status=About Risk Management;");
		aI("text=Employee Benefits;url=/gs/riskmgmt/employee_benefits.htm;status=Employee Health & Benefits;");
		aI("text=Liability Claims;url=/gs/riskmgmt/liability_claims.htm;status=Liability Claims;");
		aI("text=Occupational Health & Safety;url=/gs/riskmgmt/occupational_health.htm;status=Occupational Health & Safety;");
		aI("text=Workers Compensation;url=/gs/riskmgmt/workers_comp.htm;status=Workers Compensation;");
}

drawMenus();

