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";
}

//Reservations
with(milonic=new menuname("res")){
orientation="vertical";
style=submenuStyle;
top=-114;
overflow="scroll";
aI("text=<img src='images/reservation_top_strip.png' alt='' name='myimage0' id='myimage0' onmouseover='menu_highlight(\"myimage0\",\"reservation_top_strip.png\")' onmouseout='menu_drop(\"myimage0\",\"reservation_top_strip.png\")'>;");
aI("text=<img src='images/lodging_reservations_off.png' alt='Lodging Reservations' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"lodging_reservations_on.png\")' onmouseout='menu_drop(\"myimage2\",\"lodging_reservations_off.png\")'>;url=http://be.genares.net/9407?NextPage=room_list;target=blank;");
aI("text=<img src='images/rafting_reservation_off.png' alt='Rafting Reservation' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"rafting_reservation_on.png\")' onmouseout='menu_drop(\"myimage1\",\"rafting_reservation_off.png\")'>;url=http://recreation.seventhmountain.com/EventCalendar/DisplayCalendar;target=blank;");
aI("text=<img src='images/reservation_bot_strip.png' alt='' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"reservation_bot_strip.png\")' onmouseout='menu_drop(\"myimage3\",\"reservation_bot_strip.png\")'>;");
aI("text=<img src='images/reservations_on.gif' alt='' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"reservations_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"reservations_on.gif\")'>;url=https://reservations.seventhmountain.com/smsworld/wc.dll?smsworld~availbox;target=blank;");
}

//Start The Adventure
with(milonic=new menuname("sta")){
orientation="vertical";
style=submenuStyle;
top=-140;
overflow="scroll";
aI("text=<img src='images/start_adventure_top_strip.png' alt='' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"start_adventure_top_strip.png\")' onmouseout='menu_drop(\"myimage5\",\"start_adventure_top_strip.png\")'>;");
aI("text=<img src='images/our_equipment_off.png' alt='Our Equipment' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"our_equipment_on.png\")' onmouseout='menu_drop(\"myimage10\",\"our_equipment_off.png\")'>;url=start-the-adventure/our-equipment.cfm;");
aI("text=<img src='images/your_safety_off.png' alt='Your Safety' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"your_safety_on.png\")' onmouseout='menu_drop(\"myimage8\",\"your_safety_off.png\")'>;url=start-the-adventure/your-safety.cfm;");
aI("text=<img src='images/meet_our_crew_off.png' alt='Meet Our Crew' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"meet_our_crew_on.png\")' onmouseout='menu_drop(\"myimage7\",\"meet_our_crew_off.png\")'>;url=start-the-adventure/meet-our-crew.cfm;");
aI("text=<img src='images/start_adventure_bottom_stri.png' alt='' name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"start_adventure_bottom_stri.png\")' onmouseout='menu_drop(\"myimage11\",\"start_adventure_bottom_stri.png\")'>;");
aI("text=<img src='images/start_adventure_on.gif' alt='' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"start_adventure_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"start_adventure_on.gif\")'>;url=start-the-adventure/index.cfm;");
}

//Trips and Rates
with(milonic=new menuname("tar")){
orientation="vertical";
style=submenuStyle;
top=-148;
overflow="scroll";
aI("text=<img src='images/top_strip_trip_rates.png' alt='' name='myimage13' id='myimage13' onmouseover='menu_highlight(\"myimage13\",\"top_strip_trip_rates.png\")' onmouseout='menu_drop(\"myimage13\",\"top_strip_trip_rates.png\")'>;");
aI("text=<img src='images/special_deals_off.png' alt='Special Deals' name='myimage17' id='myimage17' onmouseover='menu_highlight(\"myimage17\",\"special_deals_on.png\")' onmouseout='menu_drop(\"myimage17\",\"special_deals_off.png\")'>;url=trips-and-rates/special-deals.cfm;");
aI("text=<img src='images/kayak_tours_off.png' alt='Kayak Tours' name='myimage16' id='myimage16' onmouseover='menu_highlight(\"myimage16\",\"kayak_tours_on.png\")' onmouseout='menu_drop(\"myimage16\",\"kayak_tours_off.png\")'>;url=trips-and-rates/kayak-tours.cfm;");
aI("text=<img src='images/big_eddy_whitewater_off.png' alt='Big Eddy Whitewater Rafting' name='myimage14' id='myimage14' onmouseover='menu_highlight(\"myimage14\",\"big_eddy_whitewater_on.png\")' onmouseout='menu_drop(\"myimage14\",\"big_eddy_whitewater_off.png\")'>;url=trips-and-rates/big-eddy-whitewater-rafting.cfm;");
aI("text=<img src='images/bottom_strip_trip_rates.png' alt='' name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage15\",\"bottom_strip_trip_rates.png\")' onmouseout='menu_drop(\"myimage15\",\"bottom_strip_trip_rates.png\")'>;");
aI("text=<img src='images/trips_and_rates_on.gif' alt='' name='myimage18' id='myimage18' onmouseover='menu_highlight(\"myimage18\",\"trips_and_rates_on.gif\")' onmouseout='menu_drop(\"myimage18\",\"trips_and_rates_on.gif\")'>;url=trips-and-rates/;");
}

//General Information
with(milonic=new menuname("gei")){
orientation="vertical";
style=submenuStyle;
top=-90;
overflow="scroll";
aI("text=<img src='images/general_top_strip.png' alt='' name='myimage19' id='myimage19' onmouseover='menu_highlight(\"myimage19\",\"general_top_strip.png\")' onmouseout='menu_drop(\"myimage19\",\"general_top_strip.png\")'>;");
aI("text=<img src='images/contact_information_off.png' alt='Contact Information' name='myimage20' id='myimage20' onmouseover='menu_highlight(\"myimage20\",\"contact_information_on.png\")' onmouseout='menu_drop(\"myimage20\",\"contact_information_off.png\")'>;url=contact-form/contact-form.cfm;");
aI("text=<img src='images/general_bottom_strip.png' alt='' name='myimage21' id='myimage21' onmouseover='menu_highlight(\"myimage21\",\"general_bottom_strip.png\")' onmouseout='menu_drop(\"myimage21\",\"general_bottom_strip.png\")'>;");
aI("text=<img src='images/general_information_on.gif' alt='' name='myimage22' id='myimage22' onmouseover='menu_highlight(\"myimage22\",\"general_information_on.gif\")' onmouseout='menu_drop(\"myimage22\",\"general_information_on.gif\")'>;url=general-information/;");
}


function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

drawMenus();


