
/*
Milonic DHTML Menu - JavaScript Website Navigation System.
Copyright 2004 (c) Milonic Solutions Limited. All Rights Reserved.
Version 5+ Data File structure is the property of Milonic Solutions Ltd and must only be used in Milonic DHTML Products
This is a commercial software product, please visit http://www.milonic.com/ for more information.
See http://www.milonic.com/license.php for Commercial License Agreement
All Copyright statements must always remain in place in all files at all times
*******  PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE  ******* 
*/


/* DRAW MAIN MENU
*/

_menuCloseDelay=500
_menuOpenDelay=50
_subOffsetTop=0
_subOffsetLeft=0

var baseURL = "http://www.customfurnituredesign.com/";


with(menuMain=new mm_style()){
	padding=0;
	itemheight=28;
	offcolor="#b1abc1"; 
	oncolor="white"; 
	fontweight="bold"; 
	fontsize="11px"; 
	fontfamily="Lucida Grande, Verdana, Tahoma, Arial"; 
}

with(menuSub=new mm_style()){
	oncolor="white";
	offcolor="#777777";
	separatorsize=0;
	separatorpadding=2;
	separatorcolor="#dddddd";
	borderwidth=1;
	bordercolor="#dddddd";
	padding=0;
	onbgcolor='#b1abc1';
	offbgcolor='white';
	rawcss="padding-left:10px;padding-right:10px;padding-bottom:6px;padding-top:6px;";
	align="left";
	fontsize="10px";
	fontstyle="normal";
	fontweight="normal";
	fontfamily="Lucida Grande, Verdana, Tahoma, Arial";
	subimage= baseURL + 'images/tri_right.gif';
}

with(menuSub2=new mm_style()){
	oncolor="white";
	offcolor="#777777";
	separatorsize=0;
	separatorpadding=2;
	separatorcolor="#dddddd";
	borderwidth=1;
	bordercolor="#dddddd";
	padding=0;
	onbgcolor='#b1abc1';
	offbgcolor='white';
	rawcss="padding-left:10px;padding-right:10px;padding-bottom:6px;padding-top:6px;";
	align="left";
	fontsize="10px";
	fontstyle="normal";
	fontweight="normal";
	fontfamily="Lucida Grande, Verdana, Tahoma, Arial";
	subimage= baseURL + 'images/tri_right.gif';
}

with(milonic=new menuname("Main Menu")){
	style=menuMain;
	screenposition="center";
	top="offset=21";
	left="offset=8";
	align="left";
	alwaysvisible=1;
	orientation="horizontal";
	aI("text=Custom Furniture Design;showmenu=company;itemwidth=176;url=" + baseURL + "index.html;");
	aI("image=" + baseURL + "images/divider_menu_31.gif;");
	aI("text=Products;itemwidth=80;showmenu=products;");
	aI("image=" + baseURL + "images/divider_menu_31.gif;");
	aI("text=Clients;itemwidth=70;showmenu=clients;url=" + baseURL + "clients/html/clients_architects.html;");
	aI("image=" + baseURL + "images/divider_menu_31.gif;");
	aI("text=Request for Quote;itemwidth=135;url=" + baseURL + "general/html/requestForQuote.html;");
	aI("image=" + baseURL + "images/divider_menu_31.gif;");
	aI("text=Contact;itemwidth=234;showmenu=contact;url=" + baseURL + "general/html/contact.html;");
}			

with(milonic=new menuname("company")){
	style=menuSub;
	margin=0;
	top="offset=0";
	left="offset=-8";
	aI("text=Who we are;itemwidth=144;url=" + baseURL + "general/html/whoWeAre.html;");
	aI("separatorsize=1;text=Why custom;url=" + baseURL + "general/html/whyCustom.html;");
	aI("text=Miscellaneous info;showmenu=miscInfo;");
}

with(milonic=new menuname("miscInfo")){
	style=menuSub2;
	margin=0;
	top="offset=0";
	left="offset=0";
	aI("text=Payment & shipping;itemwidth=144;url=" + baseURL + "general/html/paymentShipping.html;");
	aI("text=Terms & conditions;url=" + baseURL + "general/html/termsConditions.html;");
	aI("text=Your privacy;url=" + baseURL + "general/html/privacy.html;");
}

with(milonic=new menuname("products")){
	style=menuSub;
	margin=0;
	top="offset=0";
	left="offset=-8";
	aI("text=Armoires & cabinets;showmenu=armoires;");
	aI("text=Tables;showmenu=tables;itemwidth=140;");
	aI("text=Desks & beds;url=" + baseURL + "general/html/productCategory.php?cat=Desks and Beds;");
	aI("separatorsize=1;text=Custom installations;url=" + baseURL + "general/html/productCategory.php?cat=Custom Installations;");
	aI("separatorsize=1;text=Wood finish samples;url=" + baseURL + "woods/html/index.html;");
	aI("text=Why custom;fontweight=bold;url=" + baseURL + "general/html/whyCustom.html;");
}

with(milonic=new menuname("tables")){
	style=menuSub2;
	margin=0;
	top="offset=0";
	left="offset=0";
	aI("text=Bedside tables;url=" + baseURL + "general/html/productCategory.php?cat=Tables&subcat=Bedside Tables;");
	aI("text=Cocktail tables;url=" + baseURL + "general/html/productCategory.php?cat=Tables&subcat=Cocktail Tables;");
	aI("text=Console tables;url=" + baseURL + "general/html/productCategory.php?cat=Tables&subcat=Console Tables;");
	aI("text=Dining tables;itemwidth=110;url=" + baseURL + "general/html/productCategory.php?cat=Tables&subcat=Dining Tables;");
	aI("text=Side tables;url=" + baseURL + "general/html/productCategory.php?cat=Tables&subcat=Side Tables;");
}

with(milonic=new menuname("armoires")){
	style=menuSub2;
	margin=0;
	top="offset=0";
	left="offset=0";
	aI("text=Bedroom armoires & cabinets;itemwidth=170;url=" + baseURL + "general/html/productCategory.php?cat=Armoires and Cabinets&subcat=Bedroom Armoires and Cabinets;");
	aI("text=Dining room cabinets;url=" + baseURL + "general/html/productCategory.php?cat=Armoires and Cabinets&subcat=Dining Room Cabinets;");
	aI("text=Display armoires & cabinets;url=" + baseURL + "general/html/productCategory.php?cat=Armoires and Cabinets&subcat=Display Armoires and Cabinets;");
	aI("text=Media armoires & cabinets;url=" + baseURL + "general/html/productCategory.php?cat=Armoires and Cabinets&subcat=Media Armoires and Cabinets;");
}

with(milonic=new menuname("clients")){
	style=menuSub;
	margin=0;
	top="offset=0";
	left="offset=-8";
	aI("text=Interior designers;url=" + baseURL + "clients/html/clients_designers.html;");
	aI("text=Architects;itemwidth=120;url=" + baseURL + "clients/html/clients_architects.html;");
	aI("text=Contractors;url=" + baseURL + "clients/html/clients_contractors.html;");
	aI("separatorsize=1;text=Retail;url=" + baseURL + "clients/html/clients_retail.html;");
	aI("text=Trade courtesy;url=" + baseURL + "general/html/tradeCourtesy.html;");
}

with(milonic=new menuname("contact")){
	style=menuSub;
	margin=0;
	top="offset=0";
	left="offset=-8";
	aI("text=Contact us;itemwidth=120;url=" + baseURL + "general/html/contact.html;");
	aI("text=Keep posted;itemwidth=120;url=" + baseURL + "general/html/keepPosted.html;");
	aI("text=Map & directions;url=" + baseURL + "general/html/mapDirections.html;");
}

drawMenus();

