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";
}


//Nob Hill Spa
with(milonic=new menuname("nhs")){
orientation="vertical";
style=submenuStyle;
left=222;
top=-24;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='./images/general_information_off.gif' alt='General Information' title='General Information' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"general_information_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"general_information_off.gif\")'>;url=http://nobhillspa.com/general_information.cfm;");
aI("text=<img src='./images/spa_services_off.gif' alt='Spa Services' title='Spa Services' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"spa_services_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"spa_services_off.gif\")'>;url=http://nobhillspa.com/spa_services.cfm;");
aI("text=<img src='./images/series_services_off.gif' alt='Series Services' title='Series Services' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"series_services_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"series_services_off.gif\")'>;url=http://nobhillspa.com/series_services.cfm;");
aI("text=<img src='./images/wellness_classes_off.gif' alt='Wellness Classes' title='Wellness Classes' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"wellness_classes_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"wellness_classes_off.gif\")'>;url=http://nobhillspa.com/wellness_classes.cfm;");
aI("text=<img src='./images/spa_cuisine_off.gif' alt='Spa Cuisine' title='Spa Cuisine' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"spa_cuisine_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"spa_cuisine_off.gif\")'>;url=http://nobhillspa.com/spa_cuisine.cfm;");
aI("text=<img src='./images/packages_offers_off.gif' alt='Packages and Offers' title='Packages and Offers' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"packages_offers_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"packages_offers_off.gif\")'>;url=http://nobhillspa.com/packages_and_offers.cfm;");
aI("text=<img src='./images/spa_store_off.gif' alt='Spa Store and Gift Certificates' title='Spa Store and Gift Certificates' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"spa_store_on.gif\")' onmouseout='menu_drop(\"myimage7\",\"spa_store_off.gif\")'>;url=http://nobhillspa.com/spa_store.cfm;");
}


//Big 4 Restaurant
with(milonic=new menuname("brr")){
orientation="vertical";
style=submenuStyle;
left=222;
top=-24;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
/*aI("text=<img src='./images/general_info_hour_off.gif' alt='General Information (W/ Hours)' title='General Information (W/ Hours)' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"general_info_hour_on.gif\")' onmouseout='menu_drop(\"myimage8\",\"general_info_hour_off.gif\")'>;url=../big_four_restaurant/general_information.cfm;");*/
aI("text=<img src='./images/menus_off.gif' alt='Menus' title='Menus' name='myimage9' id='myimage9' onmouseover='menu_highlight(\"myimage9\",\"menus_on.gif\")' onmouseout='menu_drop(\"myimage9\",\"menus_off.gif\")'>;url=menus.cfm;");
aI("text=<img src='./images/special_packages_off.gif' alt='Special Events and Packages' title='Special Events and Packages' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"special_packages_on.gif\")' onmouseout='menu_drop(\"myimage10\",\"special_packages_off.gif\")'>;url=./special_events_and_packages.cfm;");
aI("text=<img src='./images/private_events_off.gif' alt='Private Events' title='Private Events' name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"private_events_on.gif\")' onmouseout='menu_drop(\"myimage11\",\"private_events_off.gif\")'>;url=./private_events.cfm;");
}


//Concierge
with(milonic=new menuname("coc")){
orientation="vertical";
style=submenuStyle;
left=222;
top=-24;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
/*aI("text=<img src='./images/contact_concierge_off.gif' alt='Contact Our Concierge' title='Contact Our Concierge' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"contact_concierge_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"contact_concierge_off.gif\")'>;url=../concierge/contact_our_concierge.cfm;");*/
}

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;



function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

drawMenus();


