var bn=navigator.platform
var ie=navigator.appName
var leftmargin=0
if(ie.indexOf("Microsoft Internet Explorer")!=-1)
leftmargin=-3;

_menuCloseDelay=100           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=5              // Sub menu top offset
_subOffsetLeft=0            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x


with(menuStyle=new mm_style()){
onbgcolor="#666666";
oncolor="#ffffff";
offbgcolor="#000000";
offcolor="#ffffff";
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
separatorcolor="#2D729D";
separatorsize="1";
padding=2;
fontsize="10px";
fontstyle="bold";
fontfamily="verdana,san-serif,Arial,Helvetica";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
//subimage="../images/arrow.gif";
subimagepadding="5";
}

with(submenuStyle=new mm_style()){
separatorsize="0";
padding=0;
fontsize="10px";
fontweight="bold"
fontstyle="bold";
fontfamily="verdana,Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#000000";
headercolor="#ffffff";
headerbgcolor="#ffffff";
//subimage="../images/arrow.gif";
subimagepadding="5";
}

//Reservation
with(milonic=new menuname("reserv")){                         
orientation="vertical";
style=submenuStyle;
left=0;
top=-68;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='../images/reservations_on.gif' title='Reservations';url=https://booking.ihotelier.com/istay/istay.jsp?hotelid=4499;target=_blank;");
aI("text=<img src='../images/special_off.gif' alt='Specials and Packages' title='Specials and Packages' name='myimage00' id='myimage00' onmouseover='menu_highlight(\"myimage00\",\"special_on.gif\")' onmouseout='menu_drop(\"myimage00\",\"special_off.gif\")'>;url=../specials-and-packages/#pac1;");
aI("text=<img src='../images/reserv_btm_strip.gif' alt=''");
}

//Accommodations
with(milonic=new menuname("acc")){                         
orientation="vertical";
style=submenuStyle;
left=0;
top=-68;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='../images/accommodations-on1.png' title='Reservations';url=../accommodations/;");
aI("text=<img src='../images/pet_off.png' alt='pet friendly' title='pet friendly' name='myimage007' id='myimage007' onmouseover='menu_highlight(\"myimage007\",\"pet_on.png\")' onmouseout='menu_drop(\"myimage007\",\"pet_off.png\")'>;url=../accommodations/pets.cfm ;");
aI("text=<img src='../images/acco_btm_strip.gif' alt=''");
}

//Spa and the Essex
with(milonic=new menuname("spa")){                         
orientation="vertical";
style=submenuStyle;
left=0;
top=-68;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='../images/spa-essex-on.gif' title='Spa at the Essex';url=../spa-at-the-essex/");
aI("text=<img src='../images/spa_offering_off.gif' alt='Spa Offerings' title='Spa Offerings' name='myimage0' id='myimage0' onmouseover='menu_highlight(\"myimage0\",\"spa_offering_on.gif\")' onmouseout='menu_drop(\"myimage0\",\"spa_offering_off.gif\")'>;url=../pdf/Essex_Spa_booklet-rates.pdf;target=_blank;");
//aI("text=<img src='../images/price_list_off.gif' alt='Price List' title='Price List' name='myimageb' id='myimageb' onmouseover='menu_highlight(\"myimageb\",\"price_list_on.gif\")' onmouseout='menu_drop(\"myimageb\",\"price_list_off.gif\")'>;url=../pdf/Essex-Spa-Rates.pdf;target=_blank;");
aI("text=<img src='../images/fitness_center_off.gif' alt='Fitness Center and Pools' title='Fitness Center and Pools' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"fitness_center_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"fitness_center_off.gif\")'>;url=../spa-at-the-essex/fitness-center-and-pools.cfm;");
aI("text=<img src='../images/group_experience_off.gif' alt='Group Experiences' title='Group Experiences' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"group_experience_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"group_experience_off.gif\")'>;url=../spa-at-the-essex/group-experiences.cfm;");
aI("text=<img src='../images/spa_facts_off.gif' alt='Spa Facts' title='Spa Facts' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"spa_facts_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"spa_facts_off.gif\")'>;url=../spa-at-the-essex/spa-facts.cfm;");
aI("text=<img src='../images/membership_off.gif' alt='Memberships' title='Memberships' name='myimagea' id='myimagea' onmouseover='menu_highlight(\"myimagea\",\"membership_on.gif\")' onmouseout='menu_drop(\"myimagea\",\"membership_off.gif\")'>;url=../spa-at-the-essex/membership.cfm;");
//aI("text=<img src='../images/sweeps_off.gif' alt='Sweeps' title='Sweeps' name='myimageas' id='myimageas' onmouseover='menu_highlight(\"myimageas\",\"sweeps_on.gif\")' onmouseout='menu_drop(\"myimageas\",\"sweeps_off.gif\")'>;url=../spa-at-the-essex/sweeps.cfm;");
aI("text=<img src='../images/spa_btm_strip.gif' alt=''");
}

//Spa and the Essex
with(milonic=new menuname("dinn")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-68;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='../images/dining-culinary-on.gif' alt='Dining and Culinary Experiences';url=../dining-and-culinary-experiences/");
aI("text=<img src='../images/dining_off.gif' alt='Amuse' title='Amuse' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"dining_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"dining_off.gif\")'>;url=../dining-and-culinary-experiences/dining.cfm;");
aI("text=<img src='../images/tavern_rfp_off.gif' title='The Tavern' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"tavern_rfp_on.gif\")' onmouseout='menu_drop(\"myimage7\",\"tavern_rfp_off.gif\")'>;url=../dining-and-culinary-experiences/the_tavern.cfm;");
aI("text=<img src='../images/cook_academy_off.gif' alt='Cook Academy' title='Cook Academy' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"cook_academy_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"cook_academy_off.gif\")'>;url=../dining-and-culinary-experiences/cook-academy.cfm;");
aI("text=<img src='../images/catered_events_off.gif' alt='Catered Events' title='Catered Events' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"catered_events_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"catered_events_off.gif\")'>;url=../dining-and-culinary-experiences/catered-events.cfm;");

aI("text=<img src='../images/catering_rfp_off.gif' title='Request Info' name='rfp' id='rfp' onmouseover='menu_highlight(\"rfp\",\"catering_rfp_on.gif\")' onmouseout='menu_drop(\"rfp\",\"catering_rfp_off.gif\")'>;url=../dining-and-culinary-experiences/catering-rfp.cfm;");
aI("text=<img src='../images/culinary_calendar1_off.gif' title='Request Info' name='rfp1' id='rfp1' onmouseover='menu_highlight(\"rfp1\",\"culinary_calendar1_on.gif\")' onmouseout='menu_drop(\"rfp1\",\"culinary_calendar1_off.gif\")'>;url=http://atyourschool.youritdept.com/vcr/jsp/Calendar.jsp?GROUP=B&TIME=Y;target=_blank;");
aI("text=<img src='../images/dining_btm_strip.gif' alt=''");
}


//Things to do
with(milonic=new menuname("thing")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-68;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='../images/thingstodo-on.gif' title='Vermont Tennis Vacations & Things To Do';url=../things-to-do/");
aI("text=<img src='../images/on_site_off.gif' title='On Site'  name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"on_site_on.gif\")' onmouseout='menu_drop(\"myimage8\",\"on_site_off.gif\")'>;url=../things-to-do/on-site.cfm;");
aI("text=<img src='../images/activities_calendar_off.gif' title='Activities Calendar'  name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"activities_calendar_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"activities_calendar_off.gif\")'>;url=http://atyourschool.youritdept.com/vcr/jsp/Calendar.jsp?GROUP=B2&TIME=Y;target=_blank;");
aI("text=<img src='../images/of_site_off.gif' title='Off Site'  name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"of_site_on.gif\")' onmouseout='menu_drop(\"myimage10\",\"of_site_off.gif\")'>;url=../things-to-do/off-site.cfm;");
aI("text=<img src='../images/Tennis_m_off.gif' title='Off Site'  name='myimage30' id='myimage30' onmouseover='menu_highlight(\"myimage30\",\"Tennis_m_on.gif\")' onmouseout='menu_drop(\"myimage30\",\"Tennis_m_off.gif\")'>;url=../things-to-do/tennis.cfm;");
aI("text=<img src='../images/things_btm_strip.gif' alt=''");
}

//Wedding and Celebration Events
with(milonic=new menuname("wedd")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-68;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='../images/weddings-on.gif' title='Weddings and Celebration Events';url=../weddings-and-celebration-events/");
aI("text=<img src='../images/wedding_packages_off.gif' title='Wedding Packages'  name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"wedding_packages_on.gif\")' onmouseout='menu_drop(\"myimage11\",\"wedding_packages_off.gif\")'>;url=../weddings-and-celebration-events/wedding-packages.cfm;");
aI("text=<img src='../images/photo_gall_off.gif' title='Photo Gallery'  name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"photo_gall_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"photo_gall_off.gif\")'>;url=../weddings-and-celebration-events/photo-gallery.cfm;");
aI("text=<img src='../images/celebration_events_off.gif' title='Celebration Events'  name='myimage13' id='myimage13' onmouseover='menu_highlight(\"myimage13\",\"celebration_events_on.gif\")' onmouseout='menu_drop(\"myimage13\",\"celebration_events_off.gif\")'>;url=../weddings-and-celebration-events/celebration-events.cfm;");
aI("text=<img src='../images/wedding_faqs_off.gif' title='Weddings Facts'  name='myimage14' id='myimage14' onmouseover='menu_highlight(\"myimage14\",\"wedding_faqs_on.gif\")' onmouseout='menu_drop(\"myimage14\",\"wedding_faqs_off.gif\")'>;url=../weddings-and-celebration-events/weddings-facts.cfm;");
aI("text=<img src='../images/contact_experts_off.gif' title='Request Info'  name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage15\",\"contact_experts_on.gif\")' onmouseout='menu_drop(\"myimage15\",\"contact_experts_off.gif\")'>;url=../weddings-and-celebration-events/contact-our-experts.cfm;");
aI("text=<img src='../images/wedding_btm_strip.gif' alt=''");
}

//Conferences and Gatherings
with(milonic=new menuname("conf")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-68;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='../images/conferences-on.gif' title='Conferences and Gatherings';url=../conferences-and-gatherings/");
aI("text=<img src='../images/group_gateway_off.gif' title='Group Gateways'  name='myimage16' id='myimage16' onmouseover='menu_highlight(\"myimage16\",\"group_gateway_on.gif\")' onmouseout='menu_drop(\"myimage16\",\"group_gateway_off.gif\")'>;url=../conferences-and-gatherings/group-getaways.cfm;");
aI("text=<img src='../images/team_building_off.gif' title='Team Building'  name='myimage17' id='myimage17' onmouseover='menu_highlight(\"myimage17\",\"team_building_on.gif\")' onmouseout='menu_drop(\"myimage17\",\"team_building_off.gif\")'>;url=../conferences-and-gatherings/team-building.cfm;");
aI("text=<img src='../images/meetings_confer_off.gif' title='Meetings and Conferences'  name='myimage18' id='myimage18' onmouseover='menu_highlight(\"myimage18\",\"meetings_confer_on.gif\")' onmouseout='menu_drop(\"myimage18\",\"meetings_confer_off.gif\")'>;url=../conferences-and-gatherings/meetings-and-conferences.cfm;");
aI("text=<img src='../images/plan_event_off.gif' title='Plan your Events'  name='myimage19' id='myimage19' onmouseover='menu_highlight(\"myimage19\",\"plan_event_on.gif\")' onmouseout='menu_drop(\"myimage19\",\"plan_event_off.gif\")'>;url=../conferences-and-gatherings/plan-your-event.cfm;");
aI("text=<img src='../images/cat_menu_off.gif' title='Catering Menus'  name='myimage20' id='myimage20' onmouseover='menu_highlight(\"myimage20\",\"cat_menu_on.gif\")' onmouseout='menu_drop(\"myimage20\",\"cat_menu_off.gif\")'>;url=../pdf/COMPLETE_MENUS_2010.pdf;target=_blank;");
aI("text=<img src='../images/conference_btm_strip.gif' alt=''");
}


function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

drawMenus();


