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

//Accommodations
with(milonic=new menuname("acc")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-37;
overflow="scroll";
aI("text=<img src='../images/accommodations_on.gif' alt='Accommodations';url=../accommodations/;");
aI("text=<img src='../images/executive_level_off.gif' alt='Executive Level' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"executive_level_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"executive_level_off.gif\")'>;url=../accommodations/executive_level.cfm;");
}

//Executive Meeting Center
with(milonic=new menuname("ex")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-37;
overflow="scroll";
aI("text=<img src='../images/executive_sub_on.gif' alt='Executive Meeting Center';url=../executive_meeting_center/;");
aI("text=<img src='../images/meeting_services_off.gif' alt='Meeting Services' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"meeting_services_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"meeting_services_off.gif\")'>;url=../executive_meeting_center/meeting_services.cfm;");
aI("text=<img src='../images/meeting_packages_off.gif' alt='Meeting Packages' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"meeting_packages_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"meeting_packages_off.gif\")'>;url=../executive_meeting_center/meeting_packages.cfm;");
aI("text=<img src='../images/floor_plans_off.gif' alt='Floor Plans' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"floor_plans_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"floor_plans_off.gif\")'>;url=../executive_meeting_center/floor_plans.cfm;");
aI("text=<img src='../images/meeting_request_off.gif' alt='Meeting Request for Proposal' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"meeting_request_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"meeting_request_off.gif\")'>;url=../executive_meeting_center/meeting_request_for_proposal.cfm;");
}

//Weddings And Groups
with(milonic=new menuname("wed")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-37;
overflow="scroll";
aI("text=<img src='../images/weddings_sub_on.gif' alt='Weddings';url=../weddings_and_groups/;");
aI("text=<img src='../images/reception_drop_off1.gif' alt='Receptions and Ceremonies' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"reception_drop_on1.gif\")' onmouseout='menu_drop(\"myimage7\",\"reception_drop_off1.gif\")'>;url=../weddings_and_groups/rehearsal_dinner_and_receptions.cfm;");
aI("text=<img src='../images/wed_event_drop_off.gif' alt='Wedding Events' name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"wed_event_drop_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"wed_event_drop_off.gif\")'>;url=../weddings_and_groups/wedding_events.cfm;");
aI("text=<img src='../images/cultural_drop_off.gif' alt='Cultural Weddings' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"cultural_drop_on.gif\")' onmouseout='menu_drop(\"myimage10\",\"cultural_drop_off.gif\")'>;url=../weddings_and_groups/cultural_weddings.cfm;");
aI("text=<img src='../images/wed_rfp_drop_off.gif' alt='Wedding Request for Proposal' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"wed_rfp_drop_on.gif\")' onmouseout='menu_drop(\"myimage8\",\"wed_rfp_drop_off.gif\")'>;url=../weddings_and_groups/wedding_request_for_proposal.cfm;");
}

//Service
with(milonic=new menuname("ser")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-29;
overflow="scroll";
aI("text=<img src='../images/service_sub_on.gif' alt='Services and Amenities';url=../services_and_amenities/;");
aI("text=<img src='../images/bus_serv_drop_off.gif' alt='Business Services' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"bus_serv_drop_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"bus_serv_drop_off.gif\")'>;url=../stamford_area_guide/businesses.cfm;");
aI("text=<img src='../images/stam_area_drop_off.gif' alt='Stamford Area Guide' name='myimage13' id='myimage13' onmouseover='menu_highlight(\"myimage13\",\"stam_area_drop_on.gif\")' onmouseout='menu_drop(\"myimage13\",\"stam_area_drop_off.gif\")'>;url=../stamford_area_guide/;");
aI("text=<img src='../images/health_club_off.gif' alt='Health Club' name='myimage1700' id='myimage1700' onmouseover='menu_highlight(\"myimage1700\",\"health_club_on.gif\")' onmouseout='menu_drop(\"myimage1700\",\"health_club_off.gif\")'>;url=../services_and_amenities/health_club.cfm;");
}

//Event
with(milonic=new menuname("eve")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-29;
overflow="scroll";
aI("text=<img src='../images/event_sub_on.gif' alt='Events and Catering';url=../events_catering/;");
aI("text=<img src='../images/bar_drop_off.gif' alt='Bar/Bat Mitzvah' name='myimage14' id='myimage14' onmouseover='menu_highlight(\"myimage14\",\"bar_drop_on.gif\")' onmouseout='menu_drop(\"myimage14\",\"bar_drop_off.gif\")'>;url=../events_catering/bar_bat_mitzvah.cfm;");
aI("text=<img src='../images/association_drop_off.gif' alt='Associations' name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage15\",\"association_drop_on.gif\")' onmouseout='menu_drop(\"myimage15\",\"association_drop_off.gif\")'>;url=../events_catering/associations.cfm;");
aI("text=<img src='../images/catering_drop_off.gif' alt='Catering' name='myimage16' id='myimage16' onmouseover='menu_highlight(\"myimage16\",\"catering_drop_on.gif\")' onmouseout='menu_drop(\"myimage16\",\"catering_drop_off.gif\")'>;url=../events_catering/catering.cfm;");
aI("text=<img src='../images/event_rfp_drop_off.gif' alt='Event Request for Proposal' name='myimage17' id='myimage17' onmouseover='menu_highlight(\"myimage17\",\"event_rfp_drop_on.gif\")' onmouseout='menu_drop(\"myimage17\",\"event_rfp_drop_off.gif\")'>;url=../executive_meeting_center/meeting_request_for_proposal.cfm;");
}

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

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

drawMenus();

