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";
}

//Eat and Drink
with(milonic=new menuname("etd")){
orientation="horizontal";
style=submenuStyle;
left=-30;
top=-0;
overflow="scroll";
aI("text=<img src='../images/restaurant_off.gif' alt='Restaurant' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"restaurant_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"restaurant_off.gif\")'>;url=../eat_and_drink/restaurant.php;");
aI("text=<img src='../images/bar_off.gif' alt='Bar' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"bar_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"bar_off.gif\")'>;url=../eat_and_drink/bar.php;");
}

//Meetings and Events
with(milonic=new menuname("mae")){
orientation="horizontal";
style=submenuStyle;
left=-30;
top=-0;
overflow="scroll";
aI("text=<img src='../images/meetings_off.gif' alt='Meetings' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"meetings_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"meetings_off.gif\")'>;url=https://www.hollywoodheightshotel.com/meetings_and_events/meetings_rfp.php;");
aI("text=<img src='../images/social_events_off.gif' alt='Social Events' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"social_events_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"social_events_off.gif\")'>;url=../meetings_and_events/social_events.php;");
}

//Areas and Touches
with(milonic=new menuname("are")){
orientation="horizontal";
style=submenuStyle;
left=-10;
top=-0;
overflow="scroll";
aI("text=<img src='../images/lobby_off.gif' alt='Lobby' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"lobby_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"lobby_off.gif\")'>;url=../areas_and_touches/lobby.php;");
aI("text=<img src='../images/gym_off.gif' alt='Gym' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"gym_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"gym_off.gif\")'>;url=../areas_and_touches/gym.php;");
aI("text=<img src='../images/pool_off.gif' alt='Pool' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"pool_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"pool_off.gif\")'>;url=../areas_and_touches/pool.php;");
}

//Hot Hollywood
with(milonic=new menuname("hlw")){
orientation="horizontal";
style=submenuStyle;
left=-265;
top=-0;
overflow="scroll";
aI("text=<img src='../images/entertainment_off.gif' alt='Entertainment' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"entertainment_on.gif\")' onmouseout='menu_drop(\"myimage7\",\"entertainment_off.gif\")'>;url=../hot_hollywood/entertainment.php;");
aI("text=<img src='../images/shopping_off.gif' alt='Shopping' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"shopping_on.gif\")' onmouseout='menu_drop(\"myimage8\",\"shopping_off.gif\")'>;url=../hot_hollywood/shopping.php;");
aI("text=<img src='../images/businesses_off.gif' alt='Businesses' name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"businesses_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"businesses_off.gif\")'>;url=../hot_hollywood/businesses.php;");
aI("text=<img src='../images/arts_museums_off.gif' alt='Arts - Museums, Theaters' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"arts_museums_on.gif\")' onmouseout='menu_drop(\"myimage10\",\"arts_museums_off.gif\")'>;url=../hot_hollywood/arts.php;");
aI("text=<img src='../images/calendar_off.gif' alt='Calendar of Events' name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"calendar_on.gif\")' onmouseout='menu_drop(\"myimage11\",\"calendar_off.gif\")'>;url=../hot_hollywood/calendar_of_events.php;");
}


function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='../images/'+imgsrc;
}

drawMenus();

