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";
}

//Resort Overview
with(milonic=new menuname("the")){
orientation="horizontal";
style=submenuStyle;
left=-0;
top=3;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/destination_off.gif' alt='Destination' title='Destination' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"destination_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"destination_off.gif\")'>;url=resort-overview/destination.cfm;");

aI("text=<img src='images/activities_off.gif' alt='Activities' title='Activities' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"activities_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"activities_off.gif\")'>;url=activities/index.cfm;");

aI("text=<img src='images/family_off.gif' alt='Family' title='Family' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"family_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"family_off.gif\")'>;url=resort-overview/family.cfm;");

}

//Accommmodation
with(milonic=new menuname("acc")){
orientation="horizontal";
style=submenuStyle;
left=-0;
top=3;
if(bn.indexOf("Win")==-1) 
overflow="scroll";

aI("text=<img src='images/guestrooms_off.gif' alt='Guest Rooms' title='Guest Rooms' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"guestrooms_on.gif\")' onmouseout='menu_drop(\"myimage7\",\"guestrooms_off.gif\")'>;url=guest-rooms/;");

aI("text=<img src='images/drop_div.gif' alt='' title='' name='myimage8' id='myimage8'>");

aI("text=<img src='images/villas1_off.gif' alt='Villas' title='Villas' name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"villas1_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"villas1_off.gif\")'>;url=villas/;");
}

//Planning an Event
with(milonic=new menuname("pla")){
orientation="horizontal";
style=submenuStyle;
left=-0;
top=3;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/meetings_events_off.gif' alt='Meetings and Events' title='Meetings and Events' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"meetings_events_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"meetings_events_off.gif\")'>;url=meetings-and-events/;");
aI("text=<img src='images/drop_div.gif' alt='' title='' name='myimage6' id='myimage6'>");
aI("text=<img src='images/wedding1_off.gif' alt='Wedding' title='Wedding' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"wedding1_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"wedding1_off.gif\")'>;url=weddings/;");


}

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

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

drawMenus();

