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="#838181" */
bordercolor=""
/* borderstyle="solid" */
/* borderwidth=1; */
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=5;
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";
itemwidth=132;

aI("text=Home;url=http://www.householdtraditions.com/")
aI("text=Nontoxic Cleaners;showmenu=NontoxicCleaners;status=Household Traditions")
aI("text=Kitchen Appliances;showmenu=KitchenAppliances;status=Kitchen Appliances")
aI("text=Health Appliances;showmenu=HealthAppliances;status=Health Appliances")
aI("text=Pest Control;url=http://www.householdtraditions.com/bug_arrest.htm")
aI("text=Home Safe Home;url=http://www.householdtraditions.com/home_safe_home.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;url=http://www.tropicaltraditions.com/peace.htm")
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("NontoxicCleaners")){
style=submenuStyle;
overflow="scroll";

aI("text=All Purpose Household Cleaner;url=http://www.householdtraditions.com/all_purpose_non_toxic_household_cleaner.htm");
aI("text=Benefect Botanical Disinfectant;url=http://www.householdtraditions.com/benefect.htm");
aI("text=Benefect Carpet Cleaner;url=http://www.householdtraditions.com/benefect_carpet_cleaner.htm");
aI("text=Glass and Surface Cleaner;url=http://www.householdtraditions.com/glass_surface_cleaner.htm");
aI("text=Dish Liquid;url=http://www.householdtraditions.com/dish_liquid.htm");
aI("text=Oxygen Bleach;url=http://www.householdtraditions.com/oxygen_bleach.htm");
aI("text=Laundry Detergent;url=http://www.householdtraditions.com/laundry_detergent.htm");
aI("text=Natural Soaps;url=http://www.tropicaltraditions.com/naturalsoaps.htm");
   }
   
with(milonic=new menuname("KitchenAppliances")){
style=submenuStyle;
overflow="scroll";

aI("text=Family Grain Mill;url=http://www.householdtraditions.com/family_grain_mill.htm");
aI("text=Nutrition Center/Juicer;url=http://www.householdtraditions.com/nutrition_center_juicer.htm");
   }   
   
with(milonic=new menuname("HealthAppliances")){
style=submenuStyle;
overflow="scroll";

aI("text=Rebounder;url=http://www.householdtraditions.com/rebounder.htm");
aI("text=Swing Machine;url=http://www.householdtraditions.com/swing_machine.htm");
   }      

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();

