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";
}
//Discover
with(milonic=new menuname("dis")){
style=submenuStyle;
overflow="scroll";
aI("text=<img src='images/discover_bd1.gif' alt='SoBoWorld' name='myimage0' id='myimage0' onmouseover='menu_highlight(\"myimage0\",\"discover_bd1_on.gif\")' onmouseout='menu_drop(\"myimage0\",\"discover_bd1.gif\")'>;url=discover_sobotanical/soboworld.cfm;");
aI("text=<img src='images/discover_bd2.gif' alt='Holistic Approach' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"discover_bd2_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"discover_bd2.gif\")'>;url=discover_sobotanical/holistic_approach.cfm;");
aI("text=<img src='images/discover_bd3.gif' alt='SkinStruction' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"discover_bd3_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"discover_bd3.gif\")'>;url=discover_sobotanical/skinstruction.cfm;");
aI("text=<img src='images/discover_bd4.gif' alt='Testimonials' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"discover_bd4_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"discover_bd4.gif\")'>;url=discover_sobotanical/testimonials.cfm;");

}

//Boutique
with(milonic=new menuname("sobo")){
style=submenuStyle;
overflow="scroll";
aI("text=<img src='images/sobo_bo_bd1.gif' alt='Flagship Boutique' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"sobo_bo_bd1_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"sobo_bo_bd1.gif\")'>;url=sobotanical_boutique/flagship_boutique.cfm;");
aI("text=<img src='images/sobo_bo_bd2.gif' alt='Address' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"sobo_bo_bd2_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"sobo_bo_bd2.gif\")'>;url=sobotanical_boutique/address.cfm;");
aI("text=<img src='images/sobo_bo_bd3.gif' alt='Directions' name='myimage7' id='myimage7' onmouseover='menu_highlight(\"myimage7\",\"sobo_bo_bd3_on.gif\")' onmouseout='menu_drop(\"myimage7\",\"sobo_bo_bd3.gif\")'>;url=sobotanical_boutique/directions.cfm;");
aI("text=<img src='images/sobo_bo_bd4.gif' alt='Mailing List' name='myimage8' id='myimage8' onmouseover='menu_highlight(\"myimage8\",\"sobo_bo_bd4_on.gif\")' onmouseout='menu_drop(\"myimage8\",\"sobo_bo_bd4.gif\")'>;url=sobotanical_boutique/mailing_list.cfm;");


}

//soboess
with(milonic=new menuname("ess")){
style=submenuStyle;
overflow="scroll";
aI("text=<img src='images/ess_bd1.gif' alt='For Everyday' name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage15\",\"ess_bd1_on.gif\")' onmouseout='menu_drop(\"myimage15\",\"ess_bd1.gif\")'>;url=https://www.sobotanical.com/shopping/Results.cfm?category=1&siteSection=sobo;");
aI("text=<img src='images/ess_bd2.gif' alt='For Your Face' name='myimage16' id='myimage16' onmouseover='menu_highlight(\"myimage16\",\"ess_bd2_on.gif\")' onmouseout='menu_drop(\"myimage16\",\"ess_bd2.gif\")'>;url=https://www.sobotanical.com/shopping/Results.cfm?category=2&siteSection=sobo;");
aI("text=<img src='images/ess_bd3.gif' alt='For Grooming' name='myimage17' id='myimage17' onmouseover='menu_highlight(\"myimage17\",\"ess_bd3_on.gif\")' onmouseout='menu_drop(\"myimage17\",\"ess_bd3.gif\")'>;url=https://www.sobotanical.com/shopping/Results.cfm?category=3&siteSection=sobo;");
aI("text=<img src='images/ess_bd4.gif' alt='For Home' name='myimage18' id='myimage18' onmouseover='menu_highlight(\"myimage18\",\"ess_bd4_on.gif\")' onmouseout='menu_drop(\"myimage18\",\"ess_bd4.gif\")'>;url=https://www.sobotanical.com/shopping/Results.cfm?category=4&siteSection=sobo;");
aI("text=<img src='images/ess_bd5.gif' alt='For Your Life' name='myimage19' id='myimage19' onmouseover='menu_highlight(\"myimage19\",\"ess_bd5_on.gif\")' onmouseout='menu_drop(\"myimage19\",\"ess_bd5.gif\")'>;url=https://www.sobotanical.com/shopping/Results.cfm?category=5&siteSection=sobo;");
aI("text=<img src='images/ess_bd6.gif' alt='Mama and Baby' name='myimage20' id='myimage20' onmouseover='menu_highlight(\"myimage20\",\"ess_bd6_on.gif\")' onmouseout='menu_drop(\"myimage20\",\"ess_bd6.gif\")'>;url=https://www.sobotanical.com/shopping/Results.cfm?category=6&siteSection=sobo;");
//aI("text=<img src='images/ess_bd7.gif' alt='For Pet' name='myimage21' id='myimage21' onmouseover='menu_highlight(\"myimage21\",\"ess_bd7_on.gif\")' onmouseout='menu_drop(\"myimage21\",\"ess_bd7.gif\")'>;url=https://www.sobotanical.com/shopping/;");
}

//Essentials
with(milonic=new menuname("oils")){
style=submenuStyle;
overflow="scroll";
aI("text=<img src='images/spices_bd1.gif' alt='Spices' name='myimage45' id='myimage45' onmouseover='menu_highlight(\"myimage45\",\"spices_bd1_on.gif\")' onmouseout='menu_drop(\"myimage45\",\"spices_bd1.gif\")'>;url=essential_oils/spices.cfm;");
aI("text=<img src='images/fruits_bd1.gif' alt='Fruits' name='myimage46' id='myimage46' onmouseover='menu_highlight(\"myimage46\",\"fruits_bd1on.gif\")' onmouseout='menu_drop(\"myimage46\",\"fruits_bd1.gif\")'>;url=essential_oils/fruits.cfm;");
aI("text=<img src='images/florals_bd1.gif' alt='Florals' name='myimage47' id='myimage47' onmouseover='menu_highlight(\"myimage47\",\"florals_bd1on.gif\")' onmouseout='menu_drop(\"myimage47\",\"florals_bd1.gif\")'>;url=essential_oils/florals.cfm;");
aI("text=<img src='images/herbals_bd1.gif' alt='Herbals' name='myimage48' id='myimage48' onmouseover='menu_highlight(\"myimage48\",\"herbals_bd1_on.gif\")' onmouseout='menu_drop(\"myimage48\",\"herbals_bd1.gif\")'>;url=essential_oils/herbals.cfm;");
aI("text=<img src='images/earth_bd1.gif' alt='Earth' name='myimage49' id='myimage49' onmouseover='menu_highlight(\"myimage49\",\"earth_bd1_on.gif\")' onmouseout='menu_drop(\"myimage49\",\"earth_bd1.gif\")'>;url=essential_oils/earth.cgm;");
}

function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

drawMenus();
