//*------------------------------------------------------------------------------------------------------
//*  MAIN MENU - LANGDON HALL
//*  Update Log
//*  2009-07-30 New - Some Tooltips are included, but not activated yet.
//*------------------------------------------------------------------------------------------------------
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var thefile = location.href.substring(dir.length,location.href.length+1);
	lang = ".htm;";   //* Language suffix
	lang2 = ".htm";   //* Language suffix, for use with anchors (#string)

//*----------------------------------------------
//*  TOP HORIZONTAL MENU   left="offset=156";
//*----------------------------------------------
nPosTop = 294;		//Vert position of top menu bar Firefox
nPosMain = 314;		//Vert position of main menu bar Firefox

//* Adjust for Internet Explorer
if (ie55) {
	nPosTop = 297;
	nPosMain = 322;	
}

//* Adjust for home page which has a deeper banner
//alert(thefile);
if (thefile.substring(0,"index".length) == "index" || thefile.length == 0)	{
	nPosTop = nPosTop + 35;		//Vert position of top menu bar Firefox
	nPosMain = nPosMain + 35;		//Vert position of main menu bar Firefox
}
 
	with(milonic=new menuname("topmenu")){
	style=homeMenuStyle;
	 menuwidth=710;  itemheight=17; top=nPosTop; screenposition="center";  xleft="offset=145"; alwaysvisible=1; orientation="horizontal";
	 zindex=80;	//* This is for Gallery Creator lightbox.js which uses value 90 for overlay.
	
//   alert(homepg)
// 	if (thefile.substring(0,"home".length) == "home")	{
// 		aI("text=&nbsp;type=header;headerbgcolor=transparent;align=center;itemwidth=45;");
//	}
//	else {
// 		aI("text=HOME;align=center;itemwidth=45;url=home" + lang + ";showmenu=HOME;" );
//	}
//	aI("text=&nbsp;itemwidth=7;");
	aI("text=HOME;align=center;xitemwidth=55;url=index" + lang + ";showmenu=HOME;" );
//	aI("text=BOOK ONLINE;align=center;url=https://webres.langdonhall.ca/;target=blank;" + lang );
 	aI("text=ABOUT LANGDON;align=center;url=about" + lang + ";showmenu=ABOUT;" );
 	aI("text=ADVENTURES;align=center;url=escapes" + lang + ";showmenu=ADVENTURES;" );  	
    aI("text=PHOTO ALBUM;url=photoalbum.htm;target=blank" ); 
 	aI("text=GIFTS;align=center;url=gifts_intro" + lang + ";showmenu=GIFTS;" );
 	aI("text=CONTACT&nbsp;/ DIRECTIONS;align=center;url=contact" + lang );
	}

//*----------------------------------------------
//*   HOME
//*----------------------------------------------
with(milonic=new menuname("HOME")){
style=subMenuStyle; xmenuwidth=97;
//	aI("text=Site Map;url=sitemap" + lang );
//	aI("text=Site index;url=javascript:mm_siteIndex('top=0,left=0,toolbar=1,menubar=1,height=500,width=400','Site Map');");
//	aI("text=Privacy Policy;url=privacypolicy" + lang );
}
//*----------------------------------------------
//*   ABOUT 
//	pref="about_";  
//*----------------------------------------------
with(milonic=new menuname("ABOUT")){
style=subHomeMenuStyle; menuwidth=135;
//	aI("text=PAGE COLOUR;url=dining2" + lang );
	aI("text=About Langdon Hall Intro;url=about" + lang );
	aI("text=History;url=history" + lang );
	aI("text=Relais & Chateaux;url=relaischateaux" + lang );
	aI("text=Guest Memories;url=guest_stories" + lang );
 	aI("text=Langdon Gardens;url=dining_gardens" + lang + ";showmenu=GARDENS;" );	
//	aI("text=Tell Us Your Experience;url=tellus_yourexperience" + lang );
	aI("text=Gift Certificates;url=giftcertificates" + lang );
	aI("text=Accolades;url=accolades" + lang );
	aI("text=Awards;url=awards" + lang );
 	aI("text=Media Centre;url=media" + lang );	 		
}

//*----------------------------------------------
//*   ADVENTURES 
	pref="escapes_";  
//*----------------------------------------------
with(milonic=new menuname("ADVENTURES")){
style=subHomeMenuStyle; menuwidth=115;
	//aI("text=Excursions;url=" + pref + "excursions" + lang );
	aI("text=Adventures Intro;url=escapes" + lang );
	aI("text=On Site Adventures;url=" + pref + "onsite" + lang );
	aI("text=Off Site Adventures;url=" + pref + "offsite" + lang );
} 
//*----------------------------------------------
//*   GIFTS 
	pref="http://shop.langdonhall.ca/displaycategory.cfm?Category=";  
	pref2="gifts_";
//*----------------------------------------------
with(milonic=new menuname("GIFTS")){
style=subHomeMenuStyle; xmenuwidth=141;   
	aI("text=Gifts Intro;url=" + pref2 + "intro" + lang );  
	aI("text=E-Boutique;url=http://shop.langdonhall.ca;" ); 
	aI("text=Gift Certificates;url=" + pref + "2;" );  
	aI("text=In-Room Gifts;url=" + pref + "5;" ); 
//	aI("text=Linens;url=" + pref + "3;" + lang );	
//	aI("text=Tea;url=" + pref + "12;" + lang );	
//	aI("text=Toiletries;url=" + pref + "6;" + lang ); 
//	aI("text=Wine & Champagne;url=" + pref + "7;" + lang ); 
}
//*----------------------------------------------
//*   DINING - GARDENS
	pref="dining_";  	
//*----------------------------------------------
with(milonic=new menuname("GARDENS")){
style=subMenuStyle;  menuwidth=145;
//	aI("text=<center><img src='images/dining_gardens_thumb.jpg' border=1></center><br><b>Langdon Hall Gardens</b><br>Alive with flora & fauna, our<br>gardens provide an escape<br>unlike any other.;type=header;" );  
	aI("text=Alive with flora & fauna, our gardens provide an escape unlike any other.;type=header;" ); 
	aI("text=Gardens History;url=" + pref + "gardens_history" + lang );
	aI("text=Walking Trails;url=" + pref + "gardens_trails" + lang ); 		
}  
//*----------------------------------------------
//*  MAIN HORIZONTAL MENU 
//*----------------------------------------------
 
	with(milonic=new menuname("main")){
	style=mainMenuStyle;
	menuwidth=740;  itemheight=15; top=nPosMain; screenposition="center";  xleft="offset=35"; alwaysvisible=1; orientation="horizontal";
//	zindex=80;	//* This is for Gallery Creator lightbox.js which uses value 90 for overlay.	
 
	aI("text=ACCOMMODATIONS;align=center;url=rooms" + lang + ";showmenu=ROOMS;" );
 
	aI("text=FIVE DIAMOND DINING;align=center;url=dining" + lang + ";showmenu=DINING;" );
 	
	aI("text=THE SPA;align=center;url=spa" + lang + ";showmenu=SPA;" );

//    aI("text=PACKAGES;align=center;xitemwidth=85;url=packages" + lang + ";showmenu=PACKAGES;" );
	
	aI("text=SPECIALS;align=center;;url=specials" + lang + ";showmenu=SPECIALS;" );
	
	aI("text=EVENTS;align=center;url=events" + lang ); 	
	
	aI("text=CELEBRATIONS;align=center;url=celebrations" + lang );

  	aI("text=MEETINGS;align=center;url=meetings" + lang + ";showmenu=MEETINGS;" );       	 
 
 	aI("text=&nbsp;WEDDINGS&nbsp;;align=center;url=weddings" + lang + ";showmenu=WEDDINGS;" );  
 		     	   
	}

//*----------------------------------------------
//*   ROOMS
	pref="rooms_";  	
//*----------------------------------------------
 
with(milonic=new menuname("ROOMS")){
style=subMenuStyle;  menuwidth=131;
 	aI("text=Rooms & Suites Intro;url=rooms" + lang );
	aI("text=Our Rooms & Rates;url=" + pref + "descriptions" + lang + ";showmenu=ROOMSRATES;" ); 
	aI("text=Overnight Packages;url=packages" + lang + ";showmenu=PACKAGES;" );
	aI("text=Guest Services;url=" + pref + "guestservices" + lang );
}  
with(milonic=new menuname("ROOMSRATES")){
style=subMenuStyle;
	aI("text=View the wide range of<br>luxurious accommodations<br>offered at Langdon Hall.;type=header;" );
	aI("text=House Rooms;url=" + pref + "houserooms" + lang );
	aI("text=Cloister Rooms;url=" + pref + "cloister" + lang );	
	aI("text=Original Masters;url=" + pref + "originalmasters" + lang );
	aI("text=Stable Terrace Rooms;url=" + pref + "stableterrace" + lang );
	aI("text=Stable Loft Rooms;url=" + pref + "stablelofts" + lang );
	aI("text=Rose Suite Room;url=" + pref + "rosesuite" + lang );
	aI("text=Attic Suites;url=" + pref + "atticsuites" + lang );
	aI("text=Stable Suite;url=" + pref + "stablesuite" + lang );
	aI("text=Pine & Orchard Suites;url=" + pref + "pineorchard" + lang );
}	 

//*----------------------------------------------
//*   PACKAGES 
	pref ="packages_";  
//*----------------------------------------------
with(milonic=new menuname("PACKAGES")){
style=subMenuStyle; xmenuwidth=100;
	aI("text=Package Intro;url=packages" + lang );
	//aI("text=Christmas & New Year's;url=" + pref + "xmas" + lang );
 	aI("text=Gourmet;url=" + pref + "gourmet" + lang );
 	aI("text=Romance;url=" + pref + "romantic" + lang );
 	aI("text=Spa & Golf;url=" + pref + "spa" + lang );
 	aI("text=Current Specials;url=" + pref + "specials" + lang );
 	aI("text=Leisure Group Escapes<br>& Girlfriend Get-Aways;url=" + pref + "groups" + lang );
} 
 
//*----------------------------------------------
//*   DINING  
	pref="dining_";  	
//*----------------------------------------------
 
with(milonic=new menuname("DINING")){
style=subMenuStyle; xmenuwidth=150;
	aI("text=Dining Intro;url=dining" + lang );
	aI("text=Dining Room Menus;url=" + pref + "menu" + lang + ";showmenu=MENUS;" );
	aI("text=Private Dining;url=" + pref + "parties" + lang )
	aI("text=Grand Chef Jonathan Gushue;url=" + pref + "chef" + lang );		
 	aI("text=Wilk's Bar;url=" + pref + "wilksbar" + lang );	
	aI("text=Afternoon Tea;url=" + pref + "tea" + lang ); 
 	//aI("text=The Terrace;url=" + pref + "terrace" + lang );
 	aI("text=The Wine Cellar;url=" + pref + "cellar" + lang + ";showmenu=WINE;" );
 	aI("text=Home Grown;url=" + pref + "homegrown" + lang );
//	aI("text=Christmas Day Menu;url=" + pref + "christmas" + lang );
}  
 
with(milonic=new menuname("MENUS")){
style=subMenuStyle; menuwidth=145;
	aI("text=Delightful dishes to excite your senses. View our extensive menu options.;type=header;" );
	aI("text=Breakfast Menu;url=" + pref + "breakfastmenu" + lang );
	aI("text=Lunch Menu;url=" + pref + "lunchmenu" + lang );
	aI("text=Dinner Menu;url=" + pref + "dinnermenu" + lang );
	aI("text=Sunday Brunch;url=" + pref + "brunchmenu" + lang );
	aI("text=Tasting Menu;url=" + pref + "tastingmenu" + lang );
//	aI("text=Easter Menu;url=" + pref + "eastermenu" + lang );
//	aI("text=Christmas;url=" + pref + "christmas" + lang );			
} 
with(milonic=new menuname("WINE")){
style=subMenuStyle;
	aI("text=<b>Langdon’s Cellar</b><br>Let us recommend the<br>perfect wine from our cellar.;type=header;" ); 
//	aI("text=Sommelier&nbsp;(Recommended);url=" + pref + "cellar_sommelier" + lang );
	aI("text=Champagne;url=" + pref + "cellar_champagne" + lang );
	aI("text=White Wines;url=" + pref + "cellar_whitewine" + lang );
	aI("text=Red Wines;url=" + pref + "cellar_redwine" + lang );
	aI("text=Half Bottle;url=" + pref + "cellar_halfbottle" + lang );
	aI("text=Dessert Wines;url=" + pref + "cellar_dessertwines" + lang );		
}
 
//*----------------------------------------------
//*   SPA 
	pref="spa_";  
//*----------------------------------------------

with(milonic=new menuname("SPA")){
style=subMenuStyle; xmenuwidth=97;
	aI("text=Spa Intro;url=spa" + lang );
	aI("text=Spa Services;url=" + pref + "services" + lang + ";showmenu=SPASERVICES;" );
	aI("text=Spa Packages;url=" + pref + "signature" + lang );	
	aI("text=Spa Price List;url=" + pref + "pricelist" + lang ); 
	aI("text=Spa Gift Certificates;url=http://shop.langdonhall.ca/displaycategory.cfm?Category=13;" );  
//	aI("text=Body Revitalizer Package;url=" + pref + "revitalizer" + lang );
// 	aI("text=Spa Train;url=" + pref + "partners" + lang );
	aI("text=Join the Spa Club;url=" + pref + "club" + lang );	
} 
 
with(milonic=new menuname("SPASERVICES")){
style=subMenuStyle; xmenuwidth=97;
	aI("text=View our relaxing spa<br>treatments & services.;type=header;" ); 
	aI("text=For the Face;url=" + pref + "treatments_face" + lang );
	aI("text=Hand & Foot;url=" + pref + "treatments_handfoot" + lang );
	aI("text=Body Wraps & Treatments;url=" + pref + "treatments_body" + lang );
	aI("text=Hydrotherapy;url=" + pref + "treatments_hydro" + lang );
	aI("text=Therapeutic Massage &<br>Alternative Therapies;url=" + pref + "treatments_massage" + lang );
}

//*** NOT USED ***
with(milonic=new menuname("SPAPACKAGES")){
style=subMenuStyle; 
	aI("text=Partner Packages;url=" + pref + "partners" + lang );
}	 
 
//*----------------------------------------------
//*   MEETINGS 
	pref="meetings_";  
	pref2="meeting_";  
//*----------------------------------------------
with(milonic=new menuname("MEETINGS")){
style=subMenuStyle; xmenuwidth=141;
	aI("text=Meeting Intro;url=meetings" + lang );
	aI("text=Meeting Rooms;url=" + pref2 + "descriptions" + lang + ";showmenu=MEETINGROOMS;" );
	aI("text=Conference Packages;url=" + pref + "packages" + lang );
	aI("text=Group Activities;url=" + pref + "activities" + lang );
	aI("text=Group Menus;url=" + pref + "menu" + lang );
	aI("text=Client Feedback;url=" + pref + "reviews" + lang );
	
//	aI("text=Spring Meeting Package Options;url=" + pref + "packages_spring" + lang );
//	aI("text=Customized Retreats;url=" + pref + "retreats" + lang );
//	aI("text=Team Building;url=" + pref + "retreats" + lang );     //* SAME AS CUSTOMIZED RETREATS
// 	aI("text=Team Building;url=" + pref + "retreats" + lang2 + "#team");	
 
} 
 
with(milonic=new menuname("MEETINGROOMS")){
style=subMenuStyle; menuwidth=141;	
	aI("text=Day Meetings & Complete Meeting Packages are available for day & overnight meetings.;type=header;" ); 
	aI("text=Carolinian Room;url=" + pref + "carolinian" + lang );
	aI("text=Colonel Langdon's Room;url=" + pref + "colonel" + lang );
	aI("text=Orchard Room;url=" + pref + "orchard" + lang );
	aI("text=Red Room;url=" + pref + "redroom" + lang );
	aI("text=Stable Room;url=" + pref + "stableroom" + lang );
	aI("text=Room 25 & Room 26;url=" + pref + "room2526" + lang );
} 
 
//*----------------------------------------------
//*   WEDDINGS 
	pref ="weddings_";  
	pref2="wedding_";  
//*----------------------------------------------
with(milonic=new menuname("WEDDINGS")){
style=subMenuStyle; xmenuwidth=96;
	aI("text=Wedding Intro;url=weddings" + lang );
	aI("text=Wedding Venues;url=" + pref2 + "venues" + lang + ";showmenu=WEDDINGVENUES;" );
	aI("text=Helpful Guidelines;url=" + pref + "guidelines" + lang );
	aI("text=Our Recommendations;url=" + pref + "recommendations" + lang );
	aI("text=Wedding Menus;url=" + pref + "menu" + lang );
	aI("text=Bridal Afternoon Tea;url=" + pref + "bridal" + lang );
	aI("text=Wedding Comments;url=" + pref + "comments" + lang );
} 

with(milonic=new menuname("WEDDINGVENUES")){
style=subMenuStyle; menuwidth=133;	
aI("text=Choose the perfect setting for your special day.;type=header;" ); 
	aI("text=Orchard Room (72 max.);url=" + pref + "orchard" + lang );
	aI("text=Colonel Langdon's Room (22&nbsp;max.);url=" + pref + "colonels" + lang );
	aI("text=Red Room (14 max.);url=" + pref + "redroom" + lang );
	aI("text=Exclusive Wedding (120&nbsp;max.);url=" + pref + "2night" + lang );
} 
 
//*----------------------------------------------
//*  POPUP Box for PDF Icon
//*----------------------------------------------
with(milonic=new menuname("pdfhelp")){
style=menuStylePOPUP; left="offset=25"; itemwidth=232; top=-170;
aI("text=<img src='../images/pdf-icon.gif' width=15 height=16 border=0 align='absmiddle'> <b>About PDF Files</b> <img src='../images/pdf-icon-red.gif' width=21 height=12 border=0 align='absmiddle'>;type=header;align=center;");
aI("text=To download PDF files to your hard disk for <b>offline viewing</b>, right-click on the link, then select \"Save Target As...\" from the pop-up menu. To view the PDF in a new browser window, just click on the link.");
aI("text=Adobe Acrobat Reader is required to view the Portable Document Format (PDF) files found on this web site.<br><br>Download the latest free version of Acrobat Reader by clicking the button below:");
aI("text=<img src='../images/getacrobat-e.gif' width=88 height=31 border=0 align='absmiddle' alt='Get Acrobat Reader'>;url=http://www.adobe.com/products/acrobat/readstep.html;target=blank;align=center;");
} 

//*----------------------------------------------
//*  POPUP Box for Privacy Policy
//*----------------------------------------------
with(milonic=new menuname("Privacy")){
style=menuStylePOPUP; 
left=-212; 
itemwidth=200; 
top=-160;
aI("text=<b>Privacy Policy</b>;type=header;align=center;");
aI("text=We will never share, sell, or rent your personal information with anyone. Information submitted to us is only available to our employees for the purpose of contacting you or sending you emails related to Langdon Hall services.");
} 

//*----------------------------------------------
//*  POPUP Box for Privacy Policy
//*----------------------------------------------
with(milonic=new menuname("Privacy2")){
style=menuStylePOPUP; left=-212; itemwidth=200; top=-100;
aI("text=<b>Privacy Policy</b>;type=header;align=center;");
aI("text=We will never give, trade, sell or rent submitted information to a third party.");
} 

//*----------------------------------------------
//*  Top of Page Floating Menu for Certain Pages
//*----------------------------------------------
 
 if ( thefile.substring(0,"faq".length) == "faqx") {	

	with(milonic=new menuname("top")){
	style=menuStyleTop;
	menuwidth=10;
	itemheight=6;
	left="offset=371";  
	screenposition="bottom, center"; 
	top="offset=-25";
	followscroll=1;
//	followscroll="0,40,5"
	alwaysvisible=1;
	orientation="horizontal";
	aI("text=&nbsp;Top&nbsp;url=#top");
	}
}
 
drawMenus();
 