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";
}

//Amenities
with(milonic=new menuname("ame")){
orientation="horizontal";
style=submenuStyle;
left=0;
top=-26;
overflow="scroll";
aI("text=<img src='../images/amenities_on_mn1.gif'>;url=../amenities/index.cfm;");
aI("text=<img src='../images/the_spa_off.gif' alt='The Spa' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"the_spa_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"the_spa_off.gif\")'>;url=../the_spa;");
aI("text=<img src='../images/div_26.gif'>");
aI("text=<img src='../images/loran_loran_salon_off.gif' alt='Loran Loran Salon' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"loran_loran_salon_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"loran_loran_salon_off.gif\")'>;url=http://www.loranloran.net/;target='_blank';");
}

//Local Attractions
with(milonic=new menuname("loc")){
orientation="horizontal";
style=submenuStyle;
left=0;
top=-27;
overflow="scroll";
aI("text=<img src='../images/local_attractions_on_mn.gif'>;url=../local_attractions/index.cfm;");
aI("text=<img src='../images/resort_and_club_events_off.gif' alt='Resort and Club Events ' name='myimage21' id='myimage21' onmouseover='menu_highlight(\"myimage21\",\"resort_and_club_events_on.gif\")' onmouseout='menu_drop(\"myimage21\",\"resort_and_club_events_off.gif\")'>;url=../local_attractions/area_events.cfm;");
//aI("text=<img src='../images/div_26.gif'>");
//aI("text=<img src='../images/recreatin_and_leisure_off.gif' alt='Recreation and Leisure' name='myimage22' id='myimage22' onmouseover='menu_highlight(\"myimage22\",\"recreatin_and_leisure_on.gif\")' onmouseout='menu_drop(\"myimage22\",\"recreatin_and_leisure_off.gif\")'>;url=../local_attractions/recreation_and_leisure.cfm;");
}

//Accommodations
with(milonic=new menuname("acc")){
orientation="horizontal";
style=submenuStyle;
left=0;
top=-26;
overflow="scroll";
aI("text=<img src='../images/accommodations_on.gif'>;url=../accommodations/index.cfm;");
aI("text=<img src='../images/guest_suites_off.gif' alt='Guest Suites' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"guest_suites_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"guest_suites_off.gif\")'>;url=../accommodations/guest_suites.cfm;");
aI("text=<img src='../images/div_27.gif'>");
aI("text=<img src='../images/guest_rooms_off.gif' alt='Guest Rooms' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"guest_rooms_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"guest_rooms_off.gif\")'>;url=../accommodations/guest_rooms.cfm;");
aI("text=<img src='../images/div_27.gif'>");
aI("text=<img src='../images/short_off_bt1.gif' alt='Apartments' name='myimage004' id='myimage004' onmouseover='menu_highlight(\"myimage004\",\"short_on_bt1.gif\")' onmouseout='menu_drop(\"myimage004\",\"short_off_bt1.gif\")'>;url=../the_club/short_term_apartments.cfm;");
}

//Dining
with(milonic=new menuname("din")){
orientation="horizontal";
style=submenuStyle;
left=0;
top=-26;
overflow="scroll";
aI("text=<img src='../images/dining_on.gif'>;url=../dining/index.cfm;");
aI("text=<img src='../images/dukes_place_off.gif' alt='Dukes Place' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"dukes_place_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"dukes_place_off.gif\")'>;url=../dining/dukes_place.cfm;");
aI("text=<img src='../images/div_27.gif'>");
aI("text=<img src='../images/first_cabin_off.gif' alt='First Cabin Restaurant' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"first_cabin_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"first_cabin_off.gif\")'>;url=../dining/first_cabin_restaurant.cfm;");
aI("text=<img src='../images/div_27.gif'>");
/*aI("text=<img src='../images/special_events_off.gif' alt='Special Events' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"special_events_on.gif\")' onmouseout='menu_drop(\"myimage7\",\"special_events_off.gif\")'>;url=../dining/special_events.cfm;");
aI("text=<img src='../images/div_27.gif'>");*/
/*aI("text=<img src='../images/food_wine_off.gif' alt='Food and Wine Festival' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"food_wine_on.gif\")' onmouseout='menu_drop(\"myimage8\",\"food_wine_off.gif\")'>;url=../dining/food_and_wine_festival.cfm;");*/
}

//Meetings and Events
with(milonic=new menuname("mee")){
orientation="horizontal";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='../images/meetings_events_on.gif'>;url=../meetings_and_events/index.cfm;");
aI("text=<img src='../images/meeting_off_new.gif' alt='Meetings' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"meeting_on_new.gif\")' onmouseout='menu_drop(\"myimage8\",\"meeting_off_new.gif\")'>;url=../meetings_and_events/index.cfm;");
aI("text=<img src='../images/div_26.gif'>");
aI("text=<img src='../images/rfp_off.gif' alt='RFP' name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"rfp_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"rfp_off.gif\")'>;url=https://my.meetingbroker.com/UIToolKit/?SiteId=393&SitePageId=7155&locationids=3100;target='_blank';");
aI("text=<img src='../images/div_26.gif'>");
aI("text=<img src='../images/floor_plans_off.gif' alt='Floor Plans' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"floor_plans_on.gif\")' onmouseout='menu_drop(\"myimage10\",\"floor_plans_off.gif\")'>;url=../meetings_and_events/floor_plans.cfm;");
}

//The Club
with(milonic=new menuname("tcb")){
orientation="horizontal";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='../images/the_club_on.gif'>;url=../the_club/index.cfm;");
aI("text=<img src='../images/members_only_off.gif' alt='Members Only' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"members_only_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"members_only_off.gif\")'>;url=http://members.balboabayclub.com/;target='_blank';");  
aI("text=<img src='../images/div_25.gif'>");
aI("text=<img src='../images/club_amenities_off.gif' alt='Club Amenities' name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"club_amenities_on.gif\")' onmouseout='menu_drop(\"myimage11\",\"club_amenities_off.gif\")'>;url=../the_club/club_amenities.cfm;");
aI("text=<img src='../images/div_25.gif'>");
/*aI("text=<img src='../images/club_news_off.gif' alt='Club News' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"club_news_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"club_news_off.gif\")'>;url=../the_club/club_news.cfm;");
aI("text=<img src='../images/div_25.gif'>");*/
aI("text=<img src='../images/terrace_apartments_off.gif' alt='Terrace Apartments' name='myimage13' id='myimage13' onmouseover='menu_highlight(\"myimage13\",\"terrace_apartments_on.gif\")' onmouseout='menu_drop(\"myimage13\",\"terrace_apartments_off.gif\")'>;url=../the_club/terrace_apartments.cfm;");
aI("text=<img src='../images/div_25.gif'>");
aI("text=<img src='../images/history_off.gif' alt='History' name='myimage14' id='myimage14' onmouseover='menu_highlight(\"myimage14\",\"history_on.gif\")' onmouseout='menu_drop(\"myimage14\",\"history_off.gif\")'>;url=../the_club/history.cfm;");
aI("text=<img src='../images/div_25.gif'>");
aI("text=<img src='../images/membership_off.gif' alt='Membership' name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage15\",\"membership_on.gif\")' onmouseout='menu_drop(\"myimage15\",\"membership_off.gif\")'>;url=../the_club/membership.cfm;");
}

//About Us
with(milonic=new menuname("abu")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-11;
overflow="scroll";
aI("text=<img src='../images/about_us_on.gif'>;url=../about_us/index.cfm;");
aI("text=<img src='../images/history_top_off.gif' alt='History' name='myimage17' id='myimage17' onmouseover='menu_highlight(\"myimage17\",\"history_top_on.gif\")' onmouseout='menu_drop(\"myimage17\",\"history_top_off.gif\")'>;url=../about_us/history.cfm;");
aI("text=<img src='../images/top_drp_div.gif'>");
<!--aI("text=<img src='../images/employment_off.gif' alt='Employment' name='myimage18' id='myimage18' onmouseover='menu_highlight(\"myimage18\",\"employment_on.gif\")' onmouseout='menu_drop(\"myimage18\",\"employment_off.gif\")'>;url=../about_us/employment.cfm;");-->
}

//About Us
with(milonic=new menuname("holab")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-11;
overflow="scroll";
aI("text=<img src='../images/holiday_about_on.gif'>;url=../about_us/index.cfm;");
aI("text=<img src='../images/history_top_off.gif' alt='History' name='myimage170' id='myimage170' onmouseover='menu_highlight(\"myimage170\",\"history_top_on.gif\")' onmouseout='menu_drop(\"myimage170\",\"history_top_off.gif\")'>;url=../about_us/history.cfm;");
aI("text=<img src='../images/top_drp_div.gif'>");
<!--aI("text=<img src='../images/employment_off.gif' alt='Employment' name='myimage180' id='myimage180' onmouseover='menu_highlight(\"myimage180\",\"employment_on.gif\")' onmouseout='menu_drop(\"myimage180\",\"employment_off.gif\")'>;url=../about_us/employment.cfm;");-->
}

//Press Room
with(milonic=new menuname("holprr")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-11;
overflow="scroll";
aI("text=<img src='../images/holiday_press_on.gif'>;url=../press_room/index.cfm;");
aI("text=<img src='../images/press_relea_off.gif' alt='Press Releases' name='myimage1901' id='myimage1901' onmouseover='menu_highlight(\"myimage1901\",\"press_relea_on.gif\")' onmouseout='menu_drop(\"myimage1901\",\"press_relea_off.gif\")'>;url=../press_room/press_releases.cfm;");
aI("text=<img src='../images/awards_off.gif' alt='Awards' name='myimage191' id='myimage191' onmouseover='menu_highlight(\"myimage191\",\"awards_on.gif\")' onmouseout='menu_drop(\"myimage191\",\"awards_off.gif\")'>;url=../press_room/awards.cfm;");
aI("text=<img src='../images/top_drp_div.gif'>");
aI("text=<img src='../images/testimonials_off.gif' alt='Testimonials' name='myimage200' id='myimage200' onmouseover='menu_highlight(\"myimage200\",\"testimonials_on.gif\")' onmouseout='menu_drop(\"myimage200\",\"testimonials_off.gif\")'>;url=../press_room/testimonials.cfm;");
}

//Press Room
with(milonic=new menuname("prr")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-11;
overflow="scroll";
aI("text=<img src='../images/press_room_on.gif'>;url=../press_room/index.cfm;");
aI("text=<img src='../images/press_relea_off.gif' alt='Press Releases' name='myimage190' id='myimage190' onmouseover='menu_highlight(\"myimage190\",\"press_relea_on.gif\")' onmouseout='menu_drop(\"myimage190\",\"press_relea_off.gif\")'>;url=../press_room/press_releases.cfm;");
aI("text=<img src='../images/awards_off.gif' alt='Awards' name='myimage19' id='myimage19' onmouseover='menu_highlight(\"myimage19\",\"awards_on.gif\")' onmouseout='menu_drop(\"myimage19\",\"awards_off.gif\")'>;url=../press_room/awards.cfm;");
aI("text=<img src='../images/top_drp_div.gif'>");
aI("text=<img src='../images/testimonials_off.gif' alt='Testimonials' name='myimage20' id='myimage20' onmouseover='menu_highlight(\"myimage20\",\"testimonials_on.gif\")' onmouseout='menu_drop(\"myimage20\",\"testimonials_off.gif\")'>;url=../press_room/testimonials.cfm;");
aI("text=<img src='../images/top_drp_div.gif'>");
aI("text=<img src='../images/in_the_news_off.gif' alt='In the News' name='myimage202' id='myimage202' onmouseover='menu_highlight(\"myimage202\",\"in_the_news_on.gif\")' onmouseout='menu_drop(\"myimage202\",\"in_the_news_off.gif\")'>;url=../press_room/in_the_news.cfm;");
}



function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

drawMenus();

