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";
}
var scrheight=0;scrwidth=0;
var bw=navigator.userAgent;
var bn=navigator.platform;
var ie=false;
var fx=false
var os="Win";
var ns=false;
var sf=false;
var op=false;
var mz=false;
//Location
with(milonic=new menuname("loc")){
orientation="vertical";
style=submenuStyle;
left=-30;
top=5;
overflow="scroll";
aI("text=<img src='images/area_attractions_off2.gif' alt='Area Attractions' name='myimage25' id='myimage25' onmouseover='menu_highlight(\"myimage25\",\"area_attractions_on.gif\")' onmouseout='menu_drop(\"myimage25\",\"area_attractions_off.gif\")'>;url=area-attractions/index.cfm;showmenu=attraction");
}

//Platinum Specials & Promotions
with(milonic=new menuname("spp")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='images/specials_and_promotions_on2.gif' alt='Specials and Promotions';url=specials-and-promotions/;");
//aI("text=<img src='images/military_discount_off.png' alt='Military Discount' name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"military_discount_on.png\")' onmouseout='menu_drop(\"myimage11\",\"military_discount_off.png\")'>;url=specials-and-promotions/military-discount.cfm;");
}

//Platinum Amenities
with(milonic=new menuname("ame")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='images/amenities_on2.gif' alt='Amenities';url=platinum-amenities/;");
aI("text=<img src='images/concierge_custom_off.png' alt='Concierge Request' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"concierge_custom_on.png\")' onmouseout='menu_drop(\"myimage1\",\"concierge_custom_off.png\")'>;url=platinum-amenities/concierge-custom-form.cfm;");
aI("text=<img src='images/green_off.png' alt='Green' name='myimage92' id='myimage92' onmouseover='menu_highlight(\"myimage92\",\"green_on.png\")' onmouseout='menu_drop(\"myimage92\",\"green_off.png\")'>;url=platinum-amenities/green.cfm;");
}

//Dining and Lounge 
with(milonic=new menuname("dal")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='images/dining_on2.gif' alt='Dining';url=dining-and-lounge/;");
//aI("text=<img src='images/entertainment_event_off.png' alt='Entertainment Event Calendar' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"entertainment_event_on.png\")' onmouseout='menu_drop(\"myimage3\",\"entertainment_event_off.png\")'>;url=dining-and-lounge/entertainment-event-calendar.cfm;");
aI("text=<img src='images/kilawat_off.png' alt='Kil@wat' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"kilawat_on.png\")' onmouseout='menu_drop(\"myimage4\",\"kilawat_off.png\")'>;url=dining-and-lounge/kilawat.cfm;");
aI("text=<img src='images/stir_cafe_off.png' alt='Kil@wat' name='myimage14' id='myimage14' onmouseover='menu_highlight(\"myimage14\",\"stir_cafe_on.png\")' onmouseout='menu_drop(\"myimage14\",\"stir_cafe_off.png\")'>;url=dining-and-lounge/stir-cafe.cfm;");
aI("text=<img src='images/happy_hour_new_off.png' alt='Daily Happy Hour Specials' name='myimage50' id='myimage50' onmouseover='menu_highlight(\"myimage50\",\"happy_hour_new_on.png\")' onmouseout='menu_drop(\"myimage50\",\"happy_hour_new_off.png\")'>;url=dining-and-lounge/happy_hour.cfm;");
}

//Attractions 
with(milonic=new menuname("att")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='images/attractions_on2.gif' alt='Attractions';url=area-attractions/;");
aI("text=<img src='images/area_events_off.gif' alt='Area Events' name='myimage79' id='myimage79' onmouseover='menu_highlight(\"myimage79\",\"area_events_on.gif\")' onmouseout='menu_drop(\"myimage79\",\"area_events_off.gif\")'>;url=area-attractions/events.cfm;");



//aI("text=<img src='images/rodeo_events_off.gif' alt='Rodeo Events' name='myimage78' id='myimage78' onmouseover='menu_highlight(\"myimage78\",\"rodeo_events_on.gif\")' onmouseout='menu_drop(\"myimage78\",\"rodeo_events_off.gif\")'>;url=area-attractions/rodeo.cfm;");

aI("text=<img src='images/nascar_off.gif' alt='Nascar Weekend' name='myimage80' id='myimage80' onmouseover='menu_highlight(\"myimage80\",\"nascar_on.gif\")' onmouseout='menu_drop(\"myimage80\",\"nascar_off.gif\")'>;url=area-attractions/nascar.cfm;");

aI("text=<img src='images/unlv_off.png' alt='Unlv' name='myimage33' id='myimage33' onmouseover='menu_highlight(\"myimage33\",\"unlv_on.png\")' onmouseout='menu_drop(\"myimage33\",\"unlv_off.png\")'>;url=area-attractions/unlv.cfm;");
aI("text=<img src='images/red_rock_off.png' alt='Red Rock Canyon' name='myimage34' id='myimage34' onmouseover='menu_highlight(\"myimage34\",\"red_rock_on.png\")' onmouseout='menu_drop(\"myimage34\",\"red_rock_off.png\")'>;url=area-attractions/red-rock-canyon.cfm;");
aI("text=<img src='images/convention_off.png' alt='Convention Center' name='myimage35' id='myimage35' onmouseover='menu_highlight(\"myimage35\",\"convention_on.png\")' onmouseout='menu_drop(\"myimage35\",\"convention_off.png\")'>;url=area-attractions/convention-center.cfm;");
}

//Meetings and Events
with(milonic=new menuname("mev")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='images/meetings_and_events_on2.gif' alt='Meetings';url=meetings-and-events/;");
aI("text=<img src='images/meetings_rfp_off.png' alt='Meeting RFP' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"meetings_rfp_on.png\")' onmouseout='menu_drop(\"myimage5\",\"meetings_rfp_off.png\")'>;url=meetings-and-events/meeting-rfp.cfm;");
aI("text=<img src='images/meet_here_off.png' alt='Meet Here' name='myimage55' id='myimage55' onmouseover='menu_highlight(\"myimage55\",\"meet_here_on.png\")' onmouseout='menu_drop(\"myimage55\",\"meet_here_off.png\")'>;url=meetings-and-events/meeting-here.cfm;");
aI("text=<img src='images/floor_capan_off.png' alt='Floor plans' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"floor_capan_on.png\")' onmouseout='menu_drop(\"myimage7\",\"floor_capan_off.png\")'>;url=meetings-and-events/floor-plans-capacity-chart.cfm;");
aI("text=<img src='images/menu_off.gif' alt='Menus' name='myimage771' id='myimage771' onmouseover='menu_highlight(\"myimage771\",\"menu_on.gif\")' onmouseout='menu_drop(\"myimage771\",\"menu_off.gif\")'>;url=meetings-and-events/meeting_menus.cfm;");
aI("text=<img src='images/meeting_promo_off.png' alt='Meeting Promotions' name='myimage77' id='myimage77' onmouseover='menu_highlight(\"myimage77\",\"meeting_promo_on.png\")' onmouseout='menu_drop(\"myimage77\",\"meeting_promo_off.png\")'>;url=meetings-and-events/meeting_promotions.cfm;");
aI("text=<img src='images/military_discount_off.png' alt='Military Discount' name='myimage98' id='myimage98' onmouseover='menu_highlight(\"myimage98\",\"military_discount_on.png\")' onmouseout='menu_drop(\"myimage98\",\"military_discount_off.png\")'>;url=specials-and-promotions/military-discount.cfm;");
aI("text=<img src='images/business_travel_new_off.png' alt='Business Travel' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"business_travel_new_on.png\")' onmouseout='menu_drop(\"myimage2\",\"business_travel_new_off.png\")'>;url=platinum-amenities/business-travel.cfm;");
}


//Weddings
with(milonic=new menuname("wed")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='images/weddings_and_social_on2.gif' alt='Weddings and Social';url=weddings/;");
aI("text=<img src='images/weddings_rfp_off.png' alt='Wedding RFP' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"weddings_rfp_on.png\")' onmouseout='menu_drop(\"myimage8\",\"weddings_rfp_off.png\")'>;url=weddings/weddings-rfp.cfm;");
aI("text=<img src='images/wedding_album_off.png' alt='Wedding Album' name='myimage22' id='myimage22' onmouseover='menu_highlight(\"myimage22\",\"wedding_album_on.png\")' onmouseout='menu_drop(\"myimage22\",\"wedding_album_off.png\")'>;url=weddings/wedding-album.cfm;");
aI("text=<img src='images/wedding_promotions_off.gif' alt='Wedding Promotion' name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"wedding_promotions_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"wedding_promo	tions_off.gif\")'>;url=weddings/wedding-promotions.cfm;");
aI("text=<img src='images/honeymoon_in_vegas_off.png' alt='Honeymoon in Vegas' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"honeymoon_in_vegas_on.png\")' onmouseout='menu_drop(\"myimage10\",\"honeymoon_in_vegas_off.png\")'>;url=weddings/honeymoon-in-vegas.cfm;");
aI("text=<img src='images/indian_weding_off_new.png' alt='Indian Weddings' name='myimage88' id='myimage88' onmouseover='menu_highlight(\"myimage88\",\"indian_weding_on_new.png\")' onmouseout='menu_drop(\"myimage88\",\"indian_weding_off_new.png\")'>;url=weddings/indian-weddings.cfm;");
aI("text=<img src='images/quinca_off_new.png' alt='Quinceanera' name='myimage95' id='myimage95' onmouseover='menu_highlight(\"myimage95\",\"quinca_on_new.png\")' onmouseout='menu_drop(\"myimage95\",\"quinca_off_new.png\")'>;url=meetings-and-events/quinceanera.cfm;");
aI("text=<img src='images/baptisms_off_new.png' alt='Baptisms' name='myimage97' id='myimage97' onmouseover='menu_highlight(\"myimage97\",\"baptisms_on_new.png\")' onmouseout='menu_drop(\"myimage97\",\"baptisms_off_new.png\")'>;url=meetings-and-events/baptisms.cfm;");
aI("text=<img src='images/bar_bat_off_new.png' alt='Bar And Bat Mitzvahs' name='myimage96' id='myimage96' onmouseover='menu_highlight(\"myimage96\",\"bar_bat_on_new.png\")' onmouseout='menu_drop(\"myimage96\",\"bar_bat_off_new.png\")'>;url=meetings-and-events/bar-bat-mizvah.cfm;");
aI("text=<img src='images/military_discount_offn.png' alt='Military Discount' name='myimage101' id='myimage101' onmouseover='menu_highlight(\"myimage101\",\"military_discount_onn.png\")' onmouseout='menu_drop(\"myimage101\",\"military_discount_offn.png\")'>;url=specials-and-promotions/military-discount.cfm;");
aI("text=<img src='images/wedd_testimonials_off.png' alt='Wedding Testimonials' name='myimage100' id='myimage100' onmouseover='menu_highlight(\"myimage100\",\"wedd_testimonials_on.png\")' onmouseout='menu_drop(\"myimage100\",\"wedd_testimonials_off.png\")'>;url=weddings/wedding_testimonials.cfm;");
//aI("text=<img src='images/military_discount_off.png' alt='Military Discount' name='myimage99' id='myimage99' onmouseover='menu_highlight(\"myimage99\",\"military_discount_on.png\")' onmouseout='menu_drop(\"myimage98\",\"military_discount_off.png\")'>;url=specials-and-promotions/military-discount.cfm;");
}

//WELL Spa
with(milonic=new menuname("wes")){
orientation="vertical";
style=submenuStyle;
left=0;
top=-28;
overflow="scroll";
aI("text=<img src='images/well_spa_on2.gif' alt='Well Spa';url=well-spa/;");
aI("text=<img src='images/spa_menu_off.png' alt='Spa Menu' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"spa_menu_on.png\")' onmouseout='menu_drop(\"myimage12\",\"spa_menu_off.png\")'>;url=well-spa/spa-menu.cfm;");
aI("text=<img src='images/day_spa_off.png' alt='Day Spa' name='myimage51' id='myimage51' onmouseover='menu_highlight(\"myimage51\",\"day_spa_on.png\")' onmouseout='menu_drop(\"myimage51\",\"day_spa_off.png\")'>;url=well-spa/day_spa.cfm;");
}

//Class Schedules
with(milonic=new menuname("attraction")){
style=submenuStyle;
overflow="scroll";

left=-10;
top=5;

var bn=navigator.platform
var ie=navigator.appName
var leftmargin=0
scrheight =(window.screen.height);
scrwidth =(window.screen.width);

if(bn.indexOf("Win32")==-1){os="Mac";}
if(bw.indexOf("Opera")!=-1)
{
	
	if(parseInt(scrwidth)=="1152" && parseInt(scrheight)=="864")
	{
		//alert("1152");
		top=160;
		left=left+790;
	}
	else if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="800")
	{
		top=180;
		left=left+860;	
	}	
	else if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="720")
	{
		//alert("720");
		top=160;
		left=left+853;
	}
	else if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="768")
	{
		//alert("720");
		top=160;
		left=left+853;
	}
	else if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="960")
	{
		//alert("720");
		top=160;
		left=left+853;
	}
	else if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="1024")
	{
		//alert("720");
		top=160;
		left=left+853;
	}
	else
	{	
		//alert("else");
		top=160;
		left=left+734;
	}
	
	op=true;
	
}
else if(bw.indexOf("Safari")!=-1)
{
	if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="800")
	{
		top=180;
		left=60;	
	}	
	sf=true;
}
else if(bw.indexOf("MSIE")!=-1)
{	
	if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="800")
	{
		top=180;
		left=left+860;		
	}	
	ie=true;
}
else if(bw.indexOf("Firefox")!=-1)
{
	//alert("hello");
	if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="800")
	{
		//alert("1280");
		top=180;
		left=left+60;	
	}		
	fx=true;
}

else if(bw.indexOf("Netscape")!=-1 && bw.indexOf("Mozilla")!=-1)
{
	if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="800")
	{
		top=180;
		left=58;	
	}	
	ns=true;
}
else if(bw.indexOf("Mozilla")!=-1)
{
	if(parseInt(scrwidth)=="1280" && parseInt(scrheight)=="800")
	{
		top=200;
		left=58;	
	}	
	mz=true;
}
aI("text=<img src='images/unlv_off.gif' alt='UNLV' title='UNLV' name='myimage26' id='myimage26' onmouseover='menu_highlight(\"myimage26\",\"unlv_on.gif\")' onmouseout='menu_drop(\"myimage26\",\"unlv_off.gif\")'>;url=");
aI("text=<img src='images/red_rock_off.gif' alt='Red Rock Canyon' title='Red Rock Canyon' name='myimage27' id='myimage27' onmouseover='menu_highlight(\"myimage27\",\"red_rock_on.gif\")' onmouseout='menu_drop(\"myimage27\",\"red_rock_off.gif\")'>;url=");
aI("text=<img src='images/convention_off.gif' alt='Convention Center' title='Convention Center' name='myimage28' id='myimage28' onmouseover='menu_highlight(\"myimage28\",\"convention_on.gif\")' onmouseout='menu_drop(\"myimage28\",\"convention_off.gif\")'>;url=");
}

function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

drawMenus();

