var menuProps  = new MenuProps(0, -1, true, 10, 164, 'over', 'color', '#0f3d7c', 'white', '', true, 1, 'solid', '#333333', 'Verdana', 11, 'normal', 
							   'bold', '#999999', '#0f3d7c', 'symbol', '', '', '', '', '', '&raquo;', 1000, 'hand', 'pointer', 'none', false);
/*	(offsetH [horizontal offset of sub-menus when they appear in pixels], offsetV [vertical offset of sub-menus when they appear in pixels], 
	mainMenuH [Is the main menu horizontal?  true or false], mainLeft [left position of main menu in pixels], 
	mainTop [top position of main menu in pixels], showOption [What action opens the sub-menus?  'over' for mouseover or 'click' for mouseclick], 
	bgType [What kind of background do you want?  'color' for color or 'image' for an image], bgColorOver [background color on mouseover], 
	bgColorOut [background color on mouseout and normal background color], bgImage [URL of background image if applicable], 
	brdrBtwnItems [Do you want a border between the menu items?  true or false], borderSize [set to 0 for no border], 
	borderStyle ['solid', 'dashed', etc.], borderColor [self-explanatory], fontFamily [self-explanatory], fontSize [self-explanatory], 
	fontStyle ['italic' or 'normal'], fontWeight ['bold' or 'normal'], fontColorOver [text color on mouseover], 
	fontColorOut [text color on mouseout and normal text color], markType [What type of sub-menu marker do you want?  
	'image' or 'symbol' or 'none'], markImgHOver [URL of horizontal mouseover mark image], markImgHOut [URL of horizontal mouseout mark image], 
	markImgVOver [URL of vertical mouseover mark image], markImgVOut [URL of vertical mouseout mark image], markSymH [horizontal mark symbol], 
	markSymV [vertical mark symbol], cursorIE [mouseover cursor in Internet Explorer], cursorNS6 [mouseover cursor in Netscape 6], 
	textDec [text decoration for text in menu items], imgTrans [Do you want the roll-overs to fade in Internet Explorer?  true or false]);
*/
var numOfMenus = 6;
var hideTimer  = 300;
var propName   = menuProps;

/*
	new Menu(parentMenuNum [the menu that opens this menu - needs to be set to -1 for the main menu], 
	numOfItems [number of items in the menu], contentCentered [Do you want the item content centered?  true or false], 
	markOption [Do you want sub-menu markers to be shown?  true or false]);
*/

/*
	addItem(itemHeight [in pixels], itemWidth [in pixels], itemLink [URL of item link], 
	itemTarget [target of item link], itemContent [content of item - html, text or image], 
	menuToOpenNum [number of menu that this item is going to open or show - set to 0 if the item isn't going to open or show any menus], 
	showDirection [What direction do you want the sub-menu to pop-out at?  'l' for left, 'r' for right, 't' for top or 'b' for bottom]);

*/

var menu0 = new Menu(-1, 8, true, true);
menu0.addItem(32, 65, 'http://www.wongbros.com', '', 'Home ', 0, '');
menu0.addItem(32, 125, 'corporate.html', '', 'Corporate Profile', 0, '');
menu0.addItem(32, 125, 'refrigeration.html', '', 'Refrigeration', 1, 'b');
menu0.addItem(32, 85, 'nestle.html', '', 'Clean Room', 2, 'b');
menu0.addItem(32, 80, 'slidingdoor.html', '', 'Doors ', 3, 'b');
menu0.addItem(32, 80, 'panel.html', '', 'Panels', 0, 'b');
menu0.addItem(32, 110, 'compositetruck.html', '', 'Truck Body', 5, 'b');
menu0.addItem(32, 85, 'http://google.com/a/wongbros.com', '', 'Others', 4, 'b');
menu0.compile();

var menu1 = new Menu(0, 8, false, false); // Refrigeration
menu1.addItem(25, 170, 'indoorsnow.html', '', 'Indoor Snow', 0, '');
menu1.addItem(25, 170, 'rwarehouse.html', '', 'Refrigerated Warehouse', 0, '');
menu1.addItem(25, 170, 'coldstore.html', '', 'Cold Store', 0, '');
menu1.addItem(25, 170, 'mobilerack.html', '', 'Mobile Rack Cold Store', 0, '');
menu1.addItem(25, 170, 'asrs.html', '', 'ASRS Cold Store', 0, '');
menu1.addItem(25, 170, 'mcdonalds.html', '', 'McDonalds', 0, '');
menu1.addItem(25, 170, 'foodprocessing.html', '', 'Food Processing', 0, '');
menu1.addItem(25, 170, 'flightkitchen.html', '', 'Flight Kitchen', 0, '');
menu1.compile();

var menu2 = new Menu(0, 2, false, false); // Clean Room
menu2.addItem(25, 125, 'cabin.html', '', 'Telekom Cabin', 0, '');
menu2.addItem(25, 125, 'nestle.html', '', 'Nestle', 0, '');
menu2.compile();

var menu3 = new Menu(0, 5, false, false); // Insulated Door
menu3.addItem(25, 165, 'hingeddoor.html', '', 'Standard Hinged Door', 0, '');
menu3.addItem(25, 165, 'slidingdoor.html', '', 'Manual Sliding Door', 0, '');
menu3.addItem(25, 165, 'swingdoor.html', '', '40mm Swing Door', 0, '');
menu3.addItem(25, 165, 'asdoor.html', '', 'Auto Sliding Door', 0, '');
menu3.addItem(25, 165, 'secdoor.html', '', 'Sectional Door', 0, '');
menu3.compile();

var menu4 = new Menu(0, 3, false, false); // Others
menu4.addItem(25, 120, 'projects.html', '', 'Projects', 0, '');
menu4.addItem(25, 120, 'vacancy.html', '', 'Vacancy', 0, '');
menu4.addItem(25, 120, 'login.html', '', 'Staff Login', 0, '');
menu4.compile();

var menu5 = new Menu(0, 3, false, false); // Composite Truck
menu5.addItem(25, 170, 'compositetruck.html', '', 'Composites Truck Body', 0, '');
menu5.addItem(25, 170, 'compositespec.html', '', 'Specifications', 0, '');
menu5.addItem(25, 170, 'compositegallery.html', '', 'Gallery', 0, '');
menu5.compile();

propName.write();