_scrollAmount=3      // Used for Netscape 4 scrolling
_scrollDelay=20	     // Used for Netscape 4 scrolling
_menuCloseDelay=600  // The delay for menus to remain visible on mouse off
_menuOpenDelay=150   // The delay for opening menus on mouse over
//_followSpeed=0       // Follow Scrolling speed (higher number makes the scrolling smoother but slower)
//_followRate=0        // Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
_subOffsetTop=0;     // Sub menu offset Top position
_subOffsetLeft=0;  // Sub menu offset Left position

var _wwwUrl,_cartUrl;
_wwwUrl   = "http://www.lef.org";
_cartUrl  = "https://mycart.lef.org";

with(mainStyle=new mm_style()){
// onbgcolor = "#FFFFFF";
// offbgcolor = "#000000";
oncolor = "#FFF000";
offcolor = "#FFFFFF";
//separatorsize=10;
subimage = "/images/menu/art_milonic_arrow_off.gif";
onsubimage="/images/menu/art_milonic_arrow_on.gif";
subimagepadding=8;
padding=2;
fontweight = "bold";
fontsize="11px";
} 
with(GroupStyle=new mm_style()){

oncolor = "#FFFFFF";
offcolor = "#51514F";
offbgcolor = "#FEFEFE";
onbgcolor="#99B4D1";
bordercolor="#51514F";
borderstyle="solid";
borderwidth="1";
onborder=" 3px solid #99B4D1";
offborder="3px solid #FEFEFE";
separatorsize=6;
subimagepadding=4;
padding=4;
margin=4;
fontsize="13px";
subimage = "/images/menu/art_milonic_sub_arrow_off.gif";  
onsubimage = "/images/menu/art_milonic_sub_arrow_on.gif";  
overfilter="GradientWipe(WipeStyle=1, size=1.00, motion='Forward', duration=0.2)";
outfilter="GradientWipe(WipeStyle=1, size=1.00, motion='Reverse', duration=0.2)";
} 

with(SubGroupStyle=new mm_style()){

oncolor = "#FFFFFF";
offcolor = "#51514F";
offbgcolor = "#FEFEFE";
onbgcolor="#99B4D1";
bordercolor="#51514F";
borderstyle="solid";
borderwidth="1";
onborder=" 3px solid #99B4D1";
offborder="3px solid #FEFEFE";
separatorsize=6;
subimagepadding=4;
padding=4;
margin=4;
fontsize="13px";
subimage = "/images/menu/art_milonic_sub_arrow_off.gif";  
onsubimage = "/images/menu/art_milonic_sub_arrow_on.gif";  
overfilter="Stretch(stretchStyle='Push', duration=0.2)";
outfilter="Slide(slideStyle='Push', bands=1, duration=0.2)";
} 

with(milonic=new menuname("mainmenu")){_c=1
style = mainStyle;
alwaysvisible = 1;
orientation="horizontal"
position="relative";
margin=2;
aI("text=&nbsp;&nbsp;HOME;url=" + _wwwUrl + "/;showmenu=NONE;");
aI("text=MEMBERSHIP;url=" + _wwwUrl + "/featured-articles/benefits.htm;showmenu=MEMBERSHIP;");
aI("text=PRODUCTS;url="+_wwwUrl+"/Vitamins-Supplements/;showmenu=PRODUCTS;");
aI("text=MAGAZINE;url="+_wwwUrl+"/magazine/index.htm;showmenu=MAGAZINE;");
aI("text=HEALTH CONCERNS;url="+_wwwUrl+"/protocols/;showmenu=HEALTH CONCERNS;");
aI("text=NEWS;url="+_wwwUrl+"/newsinfo/;showmenu=NEWS;");
aI("text=ABOUT US;url="+_wwwUrl+"/about/;showmenu=ABOUT US;");
}

	with(milonic=new menuname("MEMBERSHIP")){_c=1
	style = GroupStyle;
	aI("text=About the Foundation;url="+_wwwUrl+"/about_us/what_is_lef.htm");
	aI("text=Membership Benefits;url="+_wwwUrl+"/featured-articles/benefits.htm");
	aI("text=Become a Member;url="+_cartUrl+"/Memberships/Membership.aspx");
	aI("text=Renew a Membership;url="+_cartUrl+"/Memberships/Renewals.aspx");
	aI("text=Member Rewards Program;url="+_wwwUrl+"/rewards/index.htm");
	}

	with(milonic=new menuname("PRODUCTS")){_c=1
	style = GroupStyle;
	aI("text=Vitamins and Supplements;url="+_wwwUrl+"/Vitamins-Supplements/;showmenu=masterCategories");
	aI("text=Supplement Finder;showmenu=SUPPLEMENTS EXTRAS");
	aI("text=Order by Catalog Number;url="+_cartUrl+"/OrderByNumber.aspx");
	aI("text=Blood Tests;url="+_wwwUrl+"/Vitamins-Supplements/Health-Well-Being/Health-23000-1/Blood-Tests.htm");
	aI("text=Allergen Information;url="+_wwwUrl+"/Vitamins-Supplements/Allergen-Information.htm");	
	aI("text=Customer Service;url="+_wwwUrl+"/Vitamins-Supplements/Health-Nutrition-Awards/Customer-Satisfaction-Guaranteed.htm");
	aI("text=Shipping;showmenu=shipping");
	aI("text=Security;url="+_wwwUrl+"/company.htm#NUMBER102");
	}
	
		with(milonic=new menuname("masterCategories")){_c=1
		alignment="center";
		style = SubGroupStyle;
		aI("text=Anti Aging and Longevity;url="+_wwwUrl+"/Vitamins-Supplements/Anti-Aging-Longevity/");
		aI("text=Health and Well Being;url="+_wwwUrl+"/Vitamins-Supplements/Health-Well-Being/");
		aI("text=Diet and Energy;url="+_wwwUrl+"/Vitamins-Supplements/Diet-Energy/");
		aI("text=Vitamins and Minerals;url="+_wwwUrl+"/Vitamins-Supplements/Vitamins-Minerals/");
		aI("text=Herbal and Phyto Extracts;url="+_wwwUrl+"/Vitamins-Supplements/Herbal-Phyto-Extracts/");
		aI("text=Beauty and Personal Care;url="+_wwwUrl+"/Vitamins-Supplements/Beauty-Personal-Care/");
		}
		
		with(milonic=new menuname("SUPPLEMENTS EXTRAS")){_c=1
		alignment="center";
		style = SubGroupStyle;
		aI("text=Supplements Index;url="+_wwwUrl+"/Vitamins-Supplements/Supplements-Index_01.htm;");
        aI("text=Supplements A to Z;url="+_wwwUrl+"/Vitamins-Supplements/Supplements-Index.aspx?letter=A");
	    aI("text=Latest Health Supplements;url="+_wwwUrl+"/Vitamins-Supplements/Latest-Health-Supplements.htm");
	    aI("text=Popular Supplements;url="+_wwwUrl+"/Vitamins-Supplements/Diet-Energy/Health-1000-1/Popular-Supplements.htm");
	    aI("text=Supplement Search;url=http://search.lef.org/search/default.aspx?s=1&CategoryList=Products");	    
		}
	
		with(milonic=new menuname("shipping")){_c=1
		alignment="center";
		style = SubGroupStyle;
		aI("text=Shipping Information;url="+_wwwUrl+"/Vitamins-Supplements/Shipping/Shipping-Information.htm");
		aI("text=Shipping Rates;url="+_wwwUrl+"/Vitamins-Supplements/Shipping/Shipping-Rates.htm");
		aI("text=Return Policy;url="+_wwwUrl+"/company.htm#NUMBER111");
		}
		
	with(milonic=new menuname("MAGAZINE")){_c=1
	style = GroupStyle;
	aI("text=Current Issue;url="+_wwwUrl+"/magazine/index.htm");
	aI("text=This Year / 2009;url="+_wwwUrl+"/magazine/mag2009/mag2009_all.htm");
	aI("text=Archive;showmenu=YEARS;");
	aI("text=Subscribe;url="+_cartUrl+"/Memberships/Subscription.aspx");
	aI("text=Advertise;url="+_wwwUrl+"/advertising/");
	}
	
		with(milonic=new menuname("YEARS")){_c=1
		style = SubGroupStyle;
        aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2008&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2008/mag2008_all.htm");
        aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2007&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2007/mag2007_all.htm");
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2006&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2006/mag2006_all.htm");
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2005&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2005/mag2005_all.htm");
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2004&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2004/mag2004_all.htm");
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2003&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2003/mag2003_all.htm");
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2002&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2002/mag2002_all.htm");
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2001&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2001/mag2001_all.htm");
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2000&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag2000/mag2000_all.htm");
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Older;showmenu=OLDER YEARS");
		}
		
		    with(milonic=new menuname("OLDER YEARS")){_c=1
		    style = SubGroupStyle;
		    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;1999&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag99/mag99_all.htm");
		    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;1998&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag98/mag98_all.htm");
		    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;1997&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag97/mag97_all.htm");				
		    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;1996&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag96/mag96_all.htm");
		    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;1995&nbsp;&nbsp;&nbsp;&nbsp;;url="+_wwwUrl+"/magazine/mag95/mag95_all.htm");
		    }

	with(milonic=new menuname("HEALTH CONCERNS")){_c=1
	style = GroupStyle;
	aI("text=Disease Prevention;url="+_wwwUrl+"/protocols/");
	aI("text=Research;showmenu=research");
	aI("text=Life Extension Pharmacy;url=http://www.lifeextensionrx.com");
	aI("text=Blood Testing;url="+_wwwUrl+"/bloodtest/");
	aI("text=Innovative Practitioners;showmenu=innovative");
	aI("text=Therapies;showmenu=therapies");
	aI("text=References;url="+_wwwUrl+"/references/");
	}
	
		with(milonic=new menuname("research")){_c=1
		alignment="center";
		style = SubGroupStyle;
		aI("text=Clinical Research;url="+_wwwUrl+"/clinicalresearch/");
		aI("text=Funded Research;url="+_wwwUrl+"/featured-articles/track.htm");
		}
		
		with(milonic=new menuname("innovative")){_c=1
		alignment="center";
		style = SubGroupStyle;
		aI("text=Innovative Doctors;url="+_wwwUrl+"/doctors/directoryofdoctors01.htm");
		aI("text=Innovative Clinics;url="+_wwwUrl+"/research/directoryofinnovativeclinics01.htm");
		}	

		with(milonic=new menuname("therapies")){_c=1
		alignment="center";
		style = SubGroupStyle;
		aI("text=European Therapies;url="+_wwwUrl+"/offshoredrugs.htm");
		aI("text=Antiaging Therapies;url="+_wwwUrl+"/anti-aging/");
		}

	with(milonic=new menuname("NEWS")){_c=1
	style = GroupStyle;
	aI("text=Daily News;url="+_wwwUrl+"/news/");
	aI("text=What's Hot;url="+_wwwUrl+"/whatshot/");
	aI("text=Consumer Alerts;url="+_wwwUrl+"/featured-articles/archive.htm");
	aI("text=Legislative Action Center;url="+_wwwUrl+"/lac/");	
	aI("text=Newsletter;showmenu=NEWSLETTERS");
	aI("text=Multimedia;url="+_wwwUrl+"/media/");	
	aI("text=Life Extension Forum;url=http://forum.lef.org/");
	aI("text=Events;url="+_wwwUrl+"/event.htm");
	}
	
		with(milonic=new menuname("NEWSLETTERS")){_c=1
		alignment="center";
		style = SubGroupStyle;
	    aI("text=Newsletter Archive;url="+_wwwUrl+"/newsletter/");
	    aI("text=Newsletter Sign Up;url="+_cartUrl+"/Memberships/NewsSubscription.aspx");
	    aI("text=Durk & Sandy News;url="+_wwwUrl+"/dsnews/");
		}

	with(milonic=new menuname("ABOUT US")){_c=1
	style = GroupStyle;
	aI("text=About Life Extension;url="+_wwwUrl+"/about/;showmenu=ABOUT LIFE EXTENSION");
	aI("text=Contact Us;url="+_wwwUrl+"/quest-com.htm");
	aI("text=Links;url="+_wwwUrl+"/links.htm");
	/*aI("text=Poll Archives;url="+_wwwUrl+"/LEFCMS/aspx/pollArchive.aspx");*/
	aI("text=Advisory Boards;showmenu=Advisory Boards");
	aI("text=Legal;showmenu=Legal");
	aI("text=Affiliate Program;url="+_wwwUrl+"/aff/index.htm");
	aI("text=Bookmarks;showmenu=Bookmarks");
	aI("text=Site Map;url="+_wwwUrl+"/sitemap.htm");
	}
	
		with(milonic=new menuname("ABOUT LIFE EXTENSION")){_c=1
		style = SubGroupStyle;
	    aI("text=Nutrition Center;url="+_wwwUrl+"/about_us/blk_aboutlef_retail.htm");
	    aI("text=Track Record;url="+_wwwUrl+"/about/lef-scientific-achievements-in-health-and-longevity_01.htm");
	    aI("text=FAQ;url="+_wwwUrl+"/company.htm");
	    aI("text=Careers;url="+_wwwUrl+"/careers/");
		}

		with(milonic=new menuname("Advisory Boards")){_c=1
		style = SubGroupStyle;
		aI("text=Medical Advisory Board;url="+_wwwUrl+"/featured-articles/medadv.htm");
		aI("text=Scientific Advisory Board;url="+_wwwUrl+"/featured-articles/advisory.htm");
		}

		with(milonic=new menuname("Legal")){_c=1
		style = SubGroupStyle;
		aI("text=Privacy Policy;url="+_wwwUrl+"/Legal/Privacy-Policy.htm");
		aI("text=Website Legal Notices;url="+_wwwUrl+"/Legal/Legal-Notices_01.htm");
		aI("text=Disclaimer for Translations;url="+_wwwUrl+"/Legal/Translation-Disclaimer.htm");		
		}

		with(milonic=new menuname("Bookmarks")){_c=1
		style = SubGroupStyle;
		aI("text=Make LEF My Homepage;url=javascript:setAsHomePage();");
		aI("text=Bookmark This Page;url=javascript:addToFavorites();");
		}

		with(milonic=new menuname("Translate")){_c=1	
		style = SubGroupStyle;
		aI("text=English;url=javascript:TransClick('en');image=/LEFCMS/js//Images/us.gif");
		aI("text=Italian;url=javascript:TransClick('it');image=/LEFCMS/js//Images/it.gif");
		aI("text=Portuguese;url=javascript:TransClick('pt');image=/LEFCMS/js//Images/pt.gif");
		aI("text=Spanish;url=javascript:TransClick('es');image=/LEFCMS/js//Images/es.gif");
		aI("text=French;url=javascript:TransClick('fr');image=/LEFCMS/js//Images/fr.gif");
		aI("text=German;url=javascript:TransClick('de');image=/LEFCMS/js//Images/de.gif");
		aI("text=Dutch;url=javascript:TransClick('nl');image=/LEFCMS/js//Images/nl.gif");
		}

	with(milonic=new menuname("Long Menu")){_c=1	
	style = SubGroupStyle;
	overflow="scroll";
	aI("text=Alaska;url=javascript:alert('alaska')");
	aI("text=Arizona;");
	aI("text=Arkansas;");
	}	
drawMenus();