var mmItemHeight = 28; //Menu item height in pixels
var mmFontFamily = "Verdana,Helvetica,Georgia"; //Font family
var mmFontSize = 12; //Font size in pixels
var mmFontColor = "#FFFFFF"; //Font Color
var mmFontWeight = "normal";
var mmMouseOverFontColor = "#FFFFFF"; //Mouse-over font color
var mmMenuBgColor = "#FFFFFF"; //Background color of the whole menu layer
var mmMenuBorderThickness = 1; //Thickness of menu borders
var mmMenuLiteBgColor = "#FFFFFF";
var mmMenuBorderBgColor = "#4C4C4C";
var mmBgColor = "#5D7990"; //Menu item normal background color
var mmMouseOverBgColor = "#686868"; //Menu item mouse-over background color
var mmHorizontalAlign = "left"; //Menu item horizontal alignment
var mmVerticalAlign = "middle"; //Menu item vertical alignment
var mmCellPadding = 0;
var mmCellSpacing = 0;
var mmHideDelay = 200;
var mmChildOffsetX = 0;
var mmChildOffsetY = 0;
var mmShowDividers = true;
var mmVerticalMenu = true; //true: Vertical menu, false: Horizontal Menu
var mmLeftIndent = 3;

function CreateMenu(menuText, menuWidth)
{
	mnu = new Menu(menuText, menuWidth,mmItemHeight,mmFontFamily,mmFontSize,mmFontColor,mmMouseOverFontColor
				  ,mmBgColor,mmMouseOverBgColor,mmHorizontalAlign,mmVerticalAlign,mmCellPadding,mmCellSpacing
				  ,mmHideDelay,mmChildOffsetX,mmChildOffsetY,true,mmShowDividers,mmVerticalMenu,mmLeftIndent,true,true);
	mnu.fontWeight = mmFontWeight;
	mnu.bgColor = mmMenuBgColor;
	mnu.menuBorder = mmMenuBorderThickness;
	mnu.menuLiteBgColor = mmMenuLiteBgColor;
	mnu.childMenuIcon="";
	mnu.menuBorderBgColor = mmMenuBorderBgColor;
	return mnu;
}

function mmLoadMenus()
{
	if (window.about) return;

	//Services(Main)
	window.servMain = CreateMenu("root", 190);
	servMain.addMenuItem("Interior &amp; Exterior Painting","location='service_listing.php?cid=2'");
	servMain.addMenuItem("Front Doors &amp; Garage Doors","location='service_listing.php?cid=3'");
	servMain.addMenuItem("Bathroom Remodels","location='service_listing.php?cid=8'");
	servMain.addMenuItem("Decks &amp; Patio Covers","location='service_listing.php?cid=5'");
	servMain.addMenuItem("BaseBoard &amp; Crown Molding","location='service_listing.php?cid=6'");
	servMain.addMenuItem("Texturing","location='service_listing.php?cid=7'");
	servMain.addMenuItem("Kitchen Remodels","location='service_listing.php?cid=4'");
	servMain.addMenuItem("Hardwood, Tile &amp; Laminate","location='service_listing.php?cid=9'");
	servMain.addMenuItem("Additional Services","location='service_listing.php?cid=10'");

	//Gallery(Main)
	window.galMain = CreateMenu("root", 190);
	galMain.addMenuItem("Interior &amp; Exterior Painting","location='photo_gallery.php?cid=2'");
	galMain.addMenuItem("Front Doors &amp; Garage Doors","location='photo_gallery.php?cid=3'");
	galMain.addMenuItem("Bathroom Remodels","location='photo_gallery.php?cid=8'");
	galMain.addMenuItem("Decks &amp; Patio Covers","location='photo_gallery.php?cid=5'");
	galMain.addMenuItem("Baseboard &amp; Crown Molding","location='photo_gallery.php?cid=6'");
	galMain.addMenuItem("Texturing","location='photo_gallery.php?cid=7'");
	galMain.addMenuItem("Kitchen Remodels","location='photo_gallery.php?cid=4'");
	galMain.addMenuItem("Hardwood, Tile &amp; Laminate","location='photo_gallery.php?cid=9'");
	galMain.addMenuItem("Additional Services","location='photo_gallery.php?cid=10'");

	//History and Experience(Main)
	window.heMain = CreateMenu("root", 150);
	heMain.addMenuItem("The Founder", "location='the_founder.php'");
	heMain.addMenuItem("Top Quality Materials", "location='top_quality_materials.php'");

	writeMenus();
}
mmLoadMenus();
