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";
}

//Specials and Package
//with(milonic=new menuname("spe")){
//orientation="vertical";
//style=submenuStyle;
//left=300;
//top=-23;
//overflow="scroll";
//aI("text=<img src='../images/top_strip.gif'");
//aI("text=<img src='../images/dining_nav_off.gif' alt='Dining' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"dining_nav_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"dining_nav_off.gif\")'>;url=../specials_and_packages/dining.cfm;");
//aI("text=<img src='../images/spa_off.gif' alt='Spa' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"spa_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"spa_off.gif\")'>;url=../specials_and_packages/spa.cfm;");
//aI("text=<img src='../images/bot_strip.gif'");
//}

//Accommodations
with(milonic=new menuname("acc")){
orientation="vertical";
style=submenuStyle;
left=300;
top=-23;
overflow="scroll";
aI("text=<img src='../images/top_strip.gif'");
aI("text=<img src='../images/rooms_and_suites_off.gif' alt='Rooms and Suites' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"rooms_and_suites_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"rooms_and_suites_off.gif\")'>;url=../accommodations/rooms_and_suites.cfm;");
aI("text=<img src='../images/vacation_rentals_off.gif' alt='Vacation Rentals' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"vacation_rentals_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"vacation_rentals_off.gif\")'>;url=../accommodations/vacation_rentals.cfm;");
aI("text=<img src='../images/bot_strip.gif'");
}

//Amenities and Services
with(milonic=new menuname("ame")){
orientation="vertical";
style=submenuStyle;
left=300;
top=-23;
overflow="scroll";
aI("text=<img src='../images/top_strip.gif'");
aI("text=<img src='../images/pets_at_saybrook_off.gif' alt='Pets at Saybrook Point Inn' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"pets_at_saybrook_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"pets_at_saybrook_off.gif\")'>;url=../amenities_and_services/pets_at_saybrook_point_inn.cfm;");
aI("text=<img src='../images/bot_strip.gif'");
}

//Weddings
with(milonic=new menuname("wed")){
orientation="vertical";
style=submenuStyle;
left=300;
top=-23;
overflow="scroll";
aI("text=<img src='../images/top_strip.gif'");
aI("text=<img src='../images/meeting_pack_off_new.gif' alt='Packages' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"meeting_pack_on_new.gif\")' onmouseout='menu_drop(\"myimage7\",\"meeting_pack_off_new.gif\")'>;url=../weddings/wedding_packages.cfm;");
aI("text=<img src='../images/special_dates_off.gif' alt='Special Dates' name='myimage60' id='myimage60' onmouseover='menu_highlight(\"myimage60\",\"special_dates_on.gif\")' onmouseout='menu_drop(\"myimage60\",\"special_dates_off.gif\")'>;url=../weddings/special_dates.cfm;");
aI("text=<img src='../images/pricing_off.gif' alt='Pricing' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"pricing_on.gif\")' onmouseout='menu_drop(\"myimage8\",\"pricing_off.gif\")'>;url=../weddings/pricing.cfm;");
aI("text=<img src='../images/wedding_memories_off.gif' alt='Wedding Memories' name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"wedding_memories_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"wedding_memories_off.gif\")'>;url=javascript:PopUpPhotoGallery('../photo_gallery/index_wedding.cfm')");
aI("text=<img src='../images/preferred_vendors_off.gif' alt='Preferred Vendors' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"preferred_vendors_on.gif\")' onmouseout='menu_drop(\"myimage10\",\"preferred_vendors_off.gif\")'>;url=../weddings/preferred_vendors.cfm;");
aI("text=<img src='../images/wedding_request_off.gif' alt='Wedding Request for Information' name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"wedding_request_on.gif\")' onmouseout='menu_drop(\"myimage11\",\"wedding_request_off.gif\")'>;url=../weddings/wedding_rfp.cfm;");
aI("text=<img src='../images/bot_strip.gif'");
}

//Meetings and Groups
with(milonic=new menuname("grp")){
orientation="vertical";
style=submenuStyle;
left=300;
top=-23;
overflow="scroll";
aI("text=<img src='../images/top_strip.gif'");
aI("text=<img src='../images/celebration_off.gif' alt='Celebrations' name='myimage35' id='myimage35' onmouseover='menu_highlight(\"myimage35\",\"celebration_on.gif\")' onmouseout='menu_drop(\"myimage35\",\"celebration_off.gif\")'>;url=../meetings_and_groups/celebrations.cfm;");
aI("text=<img src='../images/meeting_pack_off_new.gif' alt='Packages' name='myimage14' id='myimage14' onmouseover='menu_highlight(\"myimage14\",\"meeting_pack_on_new.gif\")' onmouseout='menu_drop(\"myimage14\",\"meeting_pack_off_new.gif\")'>;url=../meetings_and_groups/packages_and_special_dates.cfm;");
aI("text=<img src='../images/capacity_set_up_off.gif' alt='Capacity and Set-Up' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"capacity_set_up_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"capacity_set_up_off.gif\")'>;url=../meetings_and_groups/capacity_and_setup.cfm;");
aI("text=<img src='../images/menus_off.gif' alt='Menus' name='myimage13' id='myimage13' onmouseover='menu_highlight(\"myimage13\",\"menus_on.gif\")' onmouseout='menu_drop(\"myimage13\",\"menus_off.gif\")'>;url=../meetings_and_groups/menus.cfm;");
aI("text=<img src='../images/special_dates_off.gif' alt='Special Dates' name='myimage61' id='myimage61' onmouseover='menu_highlight(\"myimage61\",\"special_dates_on.gif\")' onmouseout='menu_drop(\"myimage61\",\"special_dates_off.gif\")'>;url=../meetings_and_groups/special_dates.cfm;");
aI("text=<img src='../images/events_rfp_off.gif' alt='Meeting and Event RFP' name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage15\",\"events_rfp_on.gif\")' onmouseout='menu_drop(\"myimage15\",\"events_rfp_off.gif\")'>;url=../meetings_and_groups/meeting_rfp.cfm;");
aI("text=<img src='../images/green_meetings_off.gif' alt='Green Meetings' name='myimage72' id='myimage72' onmouseover='menu_highlight(\"myimage72\",\"green_meetings_on.gif\")' onmouseout='menu_drop(\"myimage72\",\"green_meetings_off.gif\")'>;url=../meetings_and_groups/green_meetings.cfm;");
aI("text=<img src='../images/bot_strip.gif'");
}

//The Spa and Health Club
with(milonic=new menuname("shc")){
orientation="vertical";
style=submenuStyle;
left=300;
top=-23;
overflow="scroll";
aI("text=<img src='../images/top_strip.gif'");
aI("text=<img src='../images/the_spa_off.gif' alt='The Spa' name='myimage16' id='myimage16' onmouseover='menu_highlight(\"myimage16\",\"the_spa_on.gif\")' onmouseout='menu_drop(\"myimage16\",\"the_spa_off.gif\")'>;url=../the_spa_and_health_club/the_spa.cfm;");
<!--aI("text=<img src='../images/products_and_services_off.gif' alt='Products and Services' name='myimage17' id='myimage17' onmouseover='menu_highlight(\"myimage17\",\"products_and_services_on.gif\")' onmouseout='menu_drop(\"myimage17\",\"products_and_services_off.gif\")'>;url=../the_spa_and_health_club/products_and_services.cfm;");-->
<!--aI("text=<img src='../images/spa_brochure_off.gif' alt='Spa Brochure' name='myimage18' id='myimage18' onmouseover='menu_highlight(\"myimage18\",\"spa_brochure_on.gif\")' onmouseout='menu_drop(\"myimage18\",\"spa_brochure_off.gif\")'>;url=../the_spa_and_health_club/spa_brochure.cfm;");-->
<!--aI("text=<img src='../images/policies_off.gif' alt='Policies' name='myimage19' id='myimage19' onmouseover='menu_highlight(\"myimage19\",\"policies_on.gif\")' onmouseout='menu_drop(\"myimage19\",\"policies_off.gif\")'>;url=../the_spa_and_health_club/policies.cfm;");-->
aI("text=<img src='../images/health_club_off.gif' alt='Health Club' name='myimage20' id='myimage20' onmouseover='menu_highlight(\"myimage20\",\"health_club_on.gif\")' onmouseout='menu_drop(\"myimage20\",\"health_club_off.gif\")'>;url=../the_spa_and_health_club/health_club.cfm;");
<!--aI("text=<img src='../images/classes_off.gif' alt='Classes' name='myimage21' id='myimage21' onmouseover='menu_highlight(\"myimage21\",\"classes_on.gif\")' onmouseout='menu_drop(\"myimage21\",\"classes_off.gif\")'>;url=../the_spa_and_health_club/classes.cfm;");-->
<!--aI("text=<img src='../images/personal_training_off.gif' alt='Personal Training and Programs' name='myimage22' id='myimage22' onmouseover='menu_highlight(\"myimage22\",\"personal_training_on.gif\")' onmouseout='menu_drop(\"myimage22\",\"personal_training_off.gif\")'>;url=../the_spa_and_health_club/personal_training_and_programs.cfm;");-->
<!--aI("text=<img src='../images/nordic_walking_off.gif' alt='Nordic Walking' name='myimage23' id='myimage23' onmouseover='menu_highlight(\"myimage23\",\"nordic_walking_on.gif\")' onmouseout='menu_drop(\"myimage23\",\"nordic_walking_off.gif\")'>;url=../the_spa_and_health_club/nordic_walking.cfm;");-->
aI("text=<img src='../images/bot_strip.gif'");
}

//The Marina
with(milonic=new menuname("mar")){
orientation="vertical";
style=submenuStyle;
left=300;
top=-27;
overflow="scroll";
aI("text=<img src='../images/top_strip.gif'");
aI("text=<img src='../images/awards_off.gif' alt='Awards' name='myimage24' id='myimage24' onmouseover='menu_highlight(\"myimage24\",\"awards_on.gif\")' onmouseout='menu_drop(\"myimage24\",\"awards_off.gif\")'>;url=../the_marina/awards.cfm;");
aI("text=<img src='../images/activities_off.gif' alt='Activities' name='myimage25' id='myimage25' onmouseover='menu_highlight(\"myimage25\",\"activities_on.gif\")' onmouseout='menu_drop(\"myimage25\",\"activities_off.gif\")'>;url=../the_marina/activities.cfm;");
aI("text=<img src='../images/mega_yachts_off.gif' alt='Mega Yachts' name='myimage26' id='myimage26' onmouseover='menu_highlight(\"myimage26\",\"mega_yachts_on.gif\")' onmouseout='menu_drop(\"myimage26\",\"mega_yachts_off.gif\")'>;url=../the_marina/mega_yachts.cfm;");
aI("text=<img src='../images/getting_here_off.gif' alt='Getting Here' name='myimage27' id='myimage27' onmouseover='menu_highlight(\"myimage27\",\"getting_here_on.gif\")' onmouseout='menu_drop(\"myimage27\",\"getting_here_off.gif\")'>;url=../the_marina/getting_here.cfm;");
aI("text=<img src='../images/tran_res_off.gif' alt='Transient Reservations' name='myimage29' id='myimage29' onmouseover='menu_highlight(\"myimage29\",\"tran_res_on.gif\")' onmouseout='menu_drop(\"myimage29\",\"tran_res_off.gif\")'>;url=../the_marina/marina_reservations.cfm;");
aI("text=<img src='../images/seasonal_membership_off.gif' alt='Seasonal Membership' name='myimage28' id='myimage28' onmouseover='menu_highlight(\"myimage28\",\"seasonal_membership_on.gif\")' onmouseout='menu_drop(\"myimage28\",\"seasonal_membership_off.gif\")'>;url=../the_marina/seasonal_membership.cfm;");

aI("text=<img src='../images/bot_strip.gif'");
}


function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

drawMenus();

