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";
}

//Local Attractions
with(milonic=new menuname("loc")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
aI("text=<img src='../images/local_events_off.gif' alt='Local Events' name='myimage0' id='myimage0' onmouseover='menu_highlight(\"myimage0\",\"local_events_on.gif\")' onmouseout='menu_drop(\"myimage0\",\"local_events_off.gif\")'>;url=../local_attractions/local_events.cfm;");
aI("text=<img src='../images/area_info_off.gif' alt='Area Information' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"area_info_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"area_info_off.gif\")'>;url=../local_attractions/area_information.cfm;");
aI("text=<img src='../images/local_weather_off.gif' alt='Local Weather' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"local_weather_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"local_weather_off.gif\")'>;url=../local_attractions/local_weather.cfm;");
}

//Virtual Tour
with(milonic=new menuname("vt")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
aI("text=<img src='../images/virtual_tour_off.gif' alt='Virtual Tour' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"virtual_tour_on.gif\")' onmouseout='menu_drop(\"myimage7\",\"virtual_tour_off.gif\")'>;url=javascript:virtual_tour('../pop_ups/virtual_tour.html');");
}


//meetings
with(milonic=new menuname("meet")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
left=-123;
aI("text=<img src='../images/req_meet_prop_off.gif' alt='Request for Meeting Proposal' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"req_meet_prop_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"req_meet_prop_off.gif\")'>;url=../meetings/meeting_rfp.cfm;");

aI("text=<img src='../images/floor_plans_off.gif' alt='Floor Plans' title='Floor Plans' name='myimage411' id='myimage411' onmouseover='menu_highlight(\"myimage411\",\"floor_plans_on.gif\")' onmouseout='menu_drop(\"myimage411\",\"floor_plans_off.gif\")'>;url=../meetings/floor_plans.cfm;");

aI("text=<img src='../images/meeting_off.gif' alt='Meetings Menu' title='Meetings Menu' name='myimage512' id='myimage512' onmouseover='menu_highlight(\"myimage512\",\"meeting_on.gif\")' onmouseout='menu_drop(\"myimage512\",\"meeting_off.gif\")'>;url=../pdf/meetingmenu.pdf;target=blank/;");
}

////amenities
//with(milonic=new menuname("amen")){
//orientation="horizontal";
//style=submenuStyle;
//overflow="scroll";
//left=-30;
//aI("text=<img src='../images/nuevo_tem_off.gif' alt='Nuevo Temazcal Spa' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"nuevo_tem_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"nuevo_tem_off.gif\")'>;url=http://www.nuevotemazcal.com/;target=blank/");
//}

//dining
with(milonic=new menuname("ding")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
left=-00;
aI("text=<img src='../images/menu_off.gif' alt='Menu' name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage15\",\"menu_on.gif\")' onmouseout='menu_drop(\"myimage15\",\"menu_off.gif\")'>;url=../pdf/PDS_C7034Menu.pdf;target=blank/");
}

//weddings
with(milonic=new menuname("wed")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
left=-206;
aI("text=<img src='../images/req_wed_prop_off.gif' alt='Request for Wedding Proposal' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"req_wed_prop_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"req_wed_prop_off.gif\")'>;url=../weddings_and_banquets/wedding_rfp.cfm;");

aI("text=<img src='../images/wedding_menu_off.gif' alt='Wedding Menu' title='Wedding Menu' name='myimage155' id='myimage155' onmouseover='menu_highlight(\"myimage155\",\"wedding_menu_on_new.gif\")' onmouseout='menu_drop(\"myimage155\",\"wedding_menu_off.gif\")'>;url=../pdf/PDS_WeddingMeetings.pdf;target=blank/");
}

function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

drawMenus();

