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";
left=5
aI("text=<img src='../images/eventos_locales_off.gif' alt='Eventos Locales' name='myimage0' id='myimage0' onmouseover='menu_highlight(\"myimage0\",\"eventos_locales_on.gif\")' onmouseout='menu_drop(\"myimage0\",\"eventos_locales_off.gif\")'>;url=../local_attractions/local_events.cfm;");
aI("text=<img src='../images/alrededores_off.gif' alt='Alrededores' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"alrededores_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"alrededores_off.gif\")'>;url=../local_attractions/area_information.cfm;");
aI("text=<img src='../images/tempo_local.off.gif' alt='Tiempo Local' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"tempo_local.on.gif\")' onmouseout='menu_drop(\"myimage3\",\"tempo_local.off.gif\")'>;url=../local_attractions/local_weather.cfm;");
}


//Virtual Tour
with(milonic=new menuname("ptgv")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
aI("text=<img src='../images/visita_off.gif' alt='Visita Virtual' name='myimage16' id='myimage16' onmouseover='menu_highlight(\"myimage16\",\"visita_on.gif\")' onmouseout='menu_drop(\"myimage16\",\"visita_off.gif\")'>;url=javascript:virtual_tour('../pop_ups/virtual_tour.html');");
}


//meetings
with(milonic=new menuname("meet")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
left=-238;
aI("text=<img src='../images/para_evento_prop_off.gif' alt='Solicitud De Propuestas Para Eventos' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"para_evento_prop_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"para_evento_prop_off.gif\")'>;url=../meetings/meeting_rfp.cfm;");

aI("text=<img src='../images/planos_off.gif' alt='Planos de Pisos' title='Planos De Pisos' name='myimage411' id='myimage411' onmouseover='menu_highlight(\"myimage411\",\"planos_on.gif\")' onmouseout='menu_drop(\"myimage411\",\"planos_off.gif\")'>;url=../meetings/floor_plans.cfm;");

aI("text=<img src='../images/para_menu_off.gif' alt='Menu para eventos' title='Menu para eventos' name='myimage512' id='myimage512' onmouseover='menu_highlight(\"myimage512\",\"para_menu_on.gif\")' onmouseout='menu_drop(\"myimage512\",\"para_menu_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_spanish_off.gif' alt='Menu' name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage15\",\"menu_spanish_on.gif\")' onmouseout='menu_drop(\"myimage15\",\"menu_spanish_off.gif\")'>;url=../pdf/PDS_C7034Menu.pdf;target=blank/");
}

//weddings
with(milonic=new menuname("wed")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
left=-239;
aI("text=<img src='../images/solicitud_bodas_off.gif' alt='Solicitud De Propuestas Para Bodas' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"solicitud_bodas_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"solicitud_bodas_off.gif\")'>;url=../weddings_and_banquets/wedding_rfp.cfm;");

aI("text=<img src='../images/para_bodas_off.gif' alt='Menu Para Bodas' title='Menu Para Bodas' name='myimage155' id='myimage155' onmouseover='menu_highlight(\"myimage155\",\"para_bodas_on.gif\")' onmouseout='menu_drop(\"myimage155\",\"para_bodas_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();

