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=-29;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/accommodations_on.gif';url=accommodations.shtml;");
aI("text=<img src='images/suites_off.gif' alt='Suites' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"suites_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"suites_off.gif\")'>;url=suites.shtml;");
aI("text=<img src='images/guest_ame_off.gif' alt='Guest Amenities' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"guest_ame_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"guest_ame_off.gif\")'>;url=guest-amenities.shtml;");
aI("text=<img src='images/business_serv_off.gif' alt='Business Services' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"business_serv_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"business_serv_off.gif\")'>;url=business-services.shtml;");
aI("text=<img src='images/accom_strip.gif'");
}

//Meeting and Conference
with(milonic=new menuname("mee")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-29;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/meeting_conf_on.gif';url=meetings-and-conferences.shtml;");
aI("text=<img src='images/hot_special_off.gif' alt='Hot Deals and Specials' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"hot_special_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"hot_special_off.gif\")'>;url=hot-deals-and-specials.shtml;");
aI("text=<img src='images/meet_spac_off.gif' alt='Meeting Space Floorplans' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"meet_spac_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"meet_spac_off.gif\")'>;url=pdf/BurbankMeetingRoomLayoutandFactSheet.pdf;target=_blank");
aI("text=<img src='images/meting_rfp_off.gif' alt='Meeting RFP' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"meting_rfp_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"meting_rfp_off.gif\")'>;url=http://www.rfplink.com/hotels/marriottburbank/index.php;target=_blank");
aI("text=<img src='images/meeting-strip.gif'");
}

//weddings
with(milonic=new menuname("wed")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-29;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/wedding_on.gif';url=weddings.shtml;");
aI("text=<img src='images/weeding_event_off.gif' alt='Wedding Events' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"weeding_event_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"weeding_event_off.gif\")'>;url=wedding-events.shtml;");
aI("text=<img src='images/wedding_rfp_off.gif' alt='Wedding RFP' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"wedding_rfp_on.gif\")' onmouseout='menu_drop(\"myimage7\",\"wedding_rfp_off.gif\")'>;url=http://www.rfplink.com/hotels/marriottburbank/index.php;target=_blank");
aI("text=<img src='images/weding_strip.gif'");
}


//Events and Catering
with(milonic=new menuname("eve")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-29;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/event_on.gif';url=events-and-catering.shtml;");
aI("text=<img src='images/menus_off.gif' alt='Menus' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"menus_on.gif\")' onmouseout='menu_drop(\"myimage10\",\"menus_off.gif\")'>;url=menus.shtml;");
aI("text=<img src='images/social_event_off.gif' alt='Social Events' name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"social_event_on.gif\")' onmouseout='menu_drop(\"myimage11\",\"social_event_off.gif\")'>;url=social-events.shtml;");
aI("text=<img src='images/event_strip.gif'");
}
//Local Attractions
with(milonic=new menuname("loc")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-29;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/local_attract_on.gif';url=local-attractions.shtml;");
aI("text=<img src='images/airport_info_off.gif' alt='Airport Information' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"airport_info_on.gif\")' onmouseout='menu_drop(\"myimage8\",\"airport_info_off.gif\")'>;url=airport-information.shtml;");
aI("text=<img src='images/universal_studio_off.gif' alt='Universal Studios' name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"universal_studio_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"universal_studio_off.gif\")'>;url=http://www.universalstudios.com/;target=blank;");
aI("text=<img src='images/local_strip.gif'");
}


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

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

drawMenus();


