var sPath = window.location.pathname;
//var sPage = sPath.substring(sPath.lastIndexOf('\\') + 1);
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
 
_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=50            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=50                // Follow scrolling Rate
_subOffsetTop=3              // Sub menu top offset
_subOffsetLeft=1            // 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="#000000";
oncolor="#0FCE0B";
ondecoration="none"
decoration=""
offbgcolor="#000000";
offcolor="#FFFFFF";
bordercolor="#000000"
borderstyle="solid"
borderwidth="0";
separatorcolor="#000000";
separatorsize="0";
padding=6;
fontsize = 10;
fontStyle = "normal";
fontweight = "bold";
fontfamily="verdana,helvetica,sans-serif";
pagecolor="#FFFFFF";
pagedecoration="none"
pagebgcolor="#000000";
headercolor="#000000";
headerbgcolor="#000000";
subimage="/images/arrowgreen1.gif";
subimagepadding="2";
/* overfilter="Fade(duration=0.0);Alpha(opacity=100);Shadow(color='#999696', Direction=90, Strength=3)"; */
outfilter="randomdissolve(duration=0.0)";
}

with(CFMmenuStyle=new mm_style()){
onbgcolor="#ffffcc";
oldoncolor="#ffffcc";
oncolor="#004000";
ondecoration="underline"
decoration="underline"
offbgcolor="#89B487";
offcolor="#006633";
bordercolor="#89B487"
borderstyle="solid"
borderwidth=0;
separatorcolor="#89B487";
separatorsize="6";
padding=1;
fontsize = 10;
fontStyle = "normal";
fontweight = "bold";
fontfamily="verdana,helvetica,sans-serif";
pagecolor="#ffffff";
pagedecoration="none"
pagebgcolor="#89B487";
headercolor="#89B487";
headerbgcolor="#89B487";
subimage="/images/arrowgreen.gif";
subimagepadding="1";
overfilter="Fade(duration=0.0);Alpha(opacity=100);Shadow(color='#89B487', Direction=90, Strength=0)";
outfilter="randomdissolve(duration=0.0)";
}

with(submenuStyle=new mm_style()){
onbgcolor="#FDF6D7";
oncolor="#FBAA28";
offbgcolor="#FDF6D7";
offcolor="#014D27";
bordercolor="#428E46"
borderstyle="solid"
borderwidth=1;
separatorcolor="#3D6F56";
separatorsize="1";
padding=3;
fontsize = 10;
fontStyle = "normal";
fontweight = "bold";
fontfamily="verdana,helvetica,sans-serif";
pagecolor="#014D27";
pagebgcolor="#FDF6D7";
headercolor="#FDF6D7";
headerbgcolor="#FDF6D7";
subimage="/images/arrowgreen.gif";
subimagepadding="2";
overfilter="Fade(duration=0.0);Alpha(opacity=100);Shadow(color='#FDF6D7', Direction=135, Strength=0)";
outfilter="randomdissolve(duration=0.0)";
}

with(tertiarymenuStyle=new mm_style()){
onbgcolor="#FDF6D7";
oncolor="#737807";
offbgcolor="#FDF6D7";
offcolor="#ffff66";
bordercolor="#428E46"
borderstyle="solid"
borderwidth=1;
separatorcolor="#3D6F56";
separatorsize="1";
padding=3;
fontsize = 10;
fontStyle = "normal";
fontfamily="verdana,helvetica,sans-serif";
pagecolor="#ffffff";
pagebgcolor="#FDF6D7";
headercolor="#FDF6D7";
headerbgcolor="#FDF6D7";
subimage="/images/arrowgreen.gif";
subimagepadding="2";
overfilter="Fade(duration=0.0);Alpha(opacity=100);Shadow(color='#FDF6D7', Direction=135, Strength=0)";
outfilter="randomdissolve(duration=0.0)";
}


with(milonic=new menuname("Main htm Menu")){
style=menuStyle;
alwaysvisible=1;
overflow="scroll";

aI("text=Home;status=Grass-Fed Traditions;url=http://www.grassfedtraditions.com")
aI("text=Grass-Fed Bison;url=http://www.grassfedtraditions.com/grass_fed_bison.htm")
aI("text=Grass-Fed Beef;url=http://www.grassfedtraditions.com/grass_fed_beef.htm")
aI("text=Grass-Fed Lamb;url=http://www.grassfedtraditions.com/grass_fed_lamb.htm")
aI("text=Grass-Fed Butter;url=http://www.grassfedtraditions.com/grass_fed_butter.htm")
/* aI("text=Grass-Fed Cheese;url=http://www.grassfedtraditions.com/grass_fed_raw_cheeses.htm") */
aI("text=Pastured Chickens;url=http://www.grassfedtraditions.com/pastured_poultry.htm")
aI("text=Pastured Turkeys;url=http://www.grassfedtraditions.com/pastured_turkey.htm")
aI("text=Soy-free Eggs;url=http://www.grassfedtraditions.com/organic_soy_free_eggs.htm")
aI("text=Grass-Fed Pet Food;url=http://www.grassfedtraditions.com/grass_fed_organic_raw_pet_food.htm")
aI("text=Raw Pet Meat Treats;url=http://www.grassfedtraditions.com/grass_fed_organic_raw_pet_treats.htm")
aI("text=Contact Us;showmenu=Contact;status=Contact Us;url=http://www.tropicaltraditions.com/contact.htm")
aI("text=Blogs;showmenu=Blogs;status=Blogs")
aI("text=Peace with God &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp;url=http://www.tropicaltraditions.com/peace.htm;status=Peace with God")
aI("text=Created4Health;url=http://www.created4health.org/index.html")
}

with(milonic=new menuname("Blogs")){
style=submenuStyle;
overflow="scroll";

aI("text=Special Deals & Giveaways;url=http://www.tropicaltraditions.com/blog/index.cfm/Special-Deals--Giveaways");
aI("text=Weekly Sales Blog;url=http://www.tropicaltraditions.com/blog/index.cfm/Sale-Announcements");
aI("text=Recipe Blog;url=http://www.freecoconutrecipes.com/index.cfm/Recipes%20Blog");
aI("text=New Product Announcements Blog;url=http://www.tropicaltraditions.com/blog/index.cfm/New-Product-Announcements");
}

with(milonic=new menuname("Contact")){
style=submenuStyle;
overflow="scroll";
aI("text=Customer Service;url=http://www.tropicaltraditions.com/customerservice.cfm");
aI("text=Wholesale Inquiries;url=http://www.tropicaltraditions.com/wholesale.cfm");
aI("text=Retail Outlets;url=http://www.tropicaltraditions.com/outlets.cfm");
aI("text=Opportunities;url=http://www.tropicaltraditions.com/opportunities.htm");
aI("text=Return Policy;url=http://www.tropicaltraditions.com/returns.htm");
aI("text=Referral Program;url=http://www.tropicaltraditions.com/referral_program.htm");
aI("text=Subscribe to Newsletter;url=http://www.tropicaltraditions.com/subscribe_for_special_sales.cfm");
}


drawMenus();

