fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;


with(XPDirectoryStyle=new mm_style()){
bordercolor="#ff9900";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
imagepadding=1;
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FFCC66";
onborder="1px solid #ff9900";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
separatoralign="right";
separatorcolor="#C5C2B8";
separatorpadding=1;
separatorwidth="80%";
subimage="/images/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}

with(menuStyle=new mm_style()){
styleid=1;
fontfamily="Arial";
fontsize="8pt";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offcolor="#ffffff";
oncolor="#ffffff";
outfilter="fade(duration=0.5)";
pagecolor="white";
rawcss="padding-top:4px;padding-bottom:1px";
separatorcolor="#FFFFFF";
separatorheight=8;
separatorsize=1;
}

with(submenuStyle=new mm_style()){
bordercolor="#CDCDCD";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="normal";
headercolor="#000000";
offbgcolor="#E9E9E9";
offcolor="#ffffff";
onbgcolor="#ffffff";
oncolor="#747A75";
outfilter="fade(duration=0.5)";
pagecolor="white";
subimage="http://www.npicenter.com/images/black_13x13_tbb.gif";
subimagepadding=8;
}

with(XPArticleStyle=new mm_style()){
bordercolor="#008000";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
imagepadding=3;
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#CCFFCC";
onborder="1px solid #008000";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
separatoralign="right";
separatorcolor="#C5C2B8";
separatorpadding=1;
separatorwidth="80%";
subimage="/images/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}

with(XPresStyle=new mm_style()){
bordercolor="#ff3333";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
imagepadding=3;
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#ff9999";
onborder="1px solid #ff3333";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
separatoralign="right";
separatorcolor="#C5C2B8";
separatorpadding=1;
separatorwidth="80%";
subimage="/images/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}


with(XPCommunityStyle=new mm_style()){
bordercolor="#316AC5";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
imagepadding=3;
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#ddeefe";
onborder="1px solid #316AC5";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
pagecolor="#316AC5";
separatoralign="right";
separatorcolor="#C5C2B8";
separatorpadding=1;
separatorwidth="80%";
subimage="/images/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}

with(XPEducationStyle=new mm_style()){
bordercolor="#660033";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
imagepadding=3;
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FFCCFF";
onborder="1px solid #660033";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
pagecolor="#660033";
separatoralign="right";
separatorcolor="#C5C2B8";
separatorpadding=1;
separatorwidth="80%";
subimage="/images/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}

with(XPNewsStyle=new mm_style()){
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
imagepadding=3;
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#C0C0C0";
onborder="1px solid #316AC5";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
separatoralign="right";
separatorcolor="#C5C2B8";
separatorpadding=1;
separatorwidth="80%";
subimage="/images/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}

with(XPHealthStyle=new mm_style()){
bordercolor="#FFCC66";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
imagepadding=3;
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#ffffff";
onborder="1px solid #ff9900";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
separatoralign="right";
separatorcolor="transparent";
separatorpadding=1;
separatorwidth="80%";
subimage="/images/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}

with(XPBusiStyle=new mm_style()){
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
imagepadding=3;
offbgcolor="#CCFFCC";
offcolor="#000000";
onbgcolor="#C1D2EE";
onborder="1px solid #316AC5";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
separatoralign="right";
separatorcolor="transparent";
separatorpadding=1;
separatorwidth="80%";
subimage="/images/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}

with(milonic=new menuname("NewsSub")){
itemheight=24;
itemwidth=76;
margin=2;
style=XPNewsStyle;
aI("text=Newsletters;url=/newsletter/;");
aI("text=Japan;url=/news/jp_newsindarticle.aspx;image=/images/flags/fjp.gif;");
}

with(milonic=new menuname("ArticleSub")){
itemheight=24;
itemwidth=76;
margin=2;
style=XPArticleStyle;
aI("text=Editorials;url=/news/Editorials.aspx;");
aI("text=Interviews;url=/news/exec_Articles.aspx;");
aI("text=Publications;showmenu=PubLogo;");
}

with(milonic=new menuname("Community")){
itemheight=24;
itemwidth=76;
margin=2;
style=XPCommunityStyle;
aI("text=Blogs;url=http://blogs.npicenter.com/;");
aI("text=Careers;url=http://www.npijobs.com/;");
}

with(milonic=new menuname("Education")){
itemheight=24;
margin=2;
style=XPEducationStyle;
aI("text=Webinars;url=/webinars.aspx;");
aI("text=Natural Standard;url=/naturalstandard.aspx;");
}

with(milonic=new menuname("HealthCenter")){
itemheight=24;
style=XPHealthStyle;
margin=2;
divides=2;
left="offset=-116";
aI("text=Blood Sugar Management ;url=http://www.npicenter.com/news/sugar;image=/images/profile/ns_26013.jpg;");
aI("text=Bone Health;url=http://www.npicenter.com/news/bonehealth;");
aI("text=Brain Health;url=http://www.npicenter.com/news/brainhealth;");
aI("text=Cellular Health;url=http://www.npicenter.com/news/cellhealth;");
aI("text=Digestion & Gut Health;url=http://www.npicenter.com/news/digestgut/;");
aI("text=Energy & Performance;url=http://www.npicenter.com/news/energy;");
aI("text=Eye and Vision Health;url=http://www.npicenter.com/news/eyehealth;");
aI("text=Healthy Aging;url=http://www.npicenter.com/news/healthyaging/;image=/images/profile/m_21855_88x31.gif;");
aI("text=Heart Health;url=http://www.npicenter.com/news/hearthealth/;image=/images/profile/m_25042_88x31.gif;");
aI("text=Immune System;url=http://www.npicenter.com/news/immunehealth/;image=/images/profile/m_23995_88x31.gif;");
aI("text=Joint Health;url=http://www.npicenter.com/news/jointhealth/;image=/images/profile/m_22601_88x31.gif;");
aI("text=Men's Health;url=http://www.npicenter.com/news/menshealth;");
aI("text=Personal Care;url=http://www.npicenter.com/news/personalcare;");
aI("text=Pet Health;url=http://www.npicenter.com/news/pethealth/;");
aI("text=Sleep,Stress and Mood;url=http://www.npicenter.com/news/sleep/;");
aI("text=Weight Management;url=http://www.npicenter.com/news/weightmanagement;image=/images/profile/m_2504_88x31.gif;");
aI("text=Women's Health;url=http://www.npicenter.com/news/womenshealth;");

}

with(milonic=new menuname("PubLogo")){
itemheight=24;
style=XPArticleStyle;
itemwidth=122;
margin=2;
aI("image=/images/fi_icon.jpg;url=http://www.functionalingredientsmag.com;target=_blank;");
aI("image=/images/nfm_icon.jpg;url=http://www.naturalfoodsmerchandiser.com;;target=_blank;");		
aI("text=More...;url=http://www.npicenter.com/publishers.aspx;");
}

with(milonic=new menuname("BusCenter")){
itemheight=24;
style=XPArticleStyle;
margin=2;
left="offset=-75";
aI("text=Food Ingredients;url=http://www.npicenter.com/news/food/;image=/images/profile/ns_22868.gif");		
aI("text=Prod Dev / Contr Mfg;url=http://www.npicenter.com/news/contractservices/;image=/images/profile/m_7323_88x31.gif");
aI("text=Quality, Testing & Certification;url=http://www.npicenter.com/news/qualitytesting/;image=/images/profile/m_13237_88x31.jpg");		
aI("text=More...;url=http://www.npicenter.com/listings/Categories.aspx?catId=134;");
}

with(milonic=new menuname("ResCenter")){
itemheight=24;
style=XPresStyle;
divides=2;
margin=2;
left="offset=-100";
aI("text=Antioxidants;url=http://www.npicenter.com/resources.antioxidants.aspx");
aI("text=Asia;url=http://www.npicenter.com/Resources.Asia.aspx;");
aI("text=Botanicals;url=http://www.npicenter.com/Resources.Botanicals.aspx;");
aI("text=Europe;url=http://www.npicenter.com/Resources.Europe.aspx;");
aI("text=Fermentation;url=http://www.npicenter.com/Resources.Fermentation.aspx;");
aI("text=Fiber;url=http://www.npicenter.com/Resources.fiber.aspx");	
aI("text=Industry Score Card;url=http://www.npicenter.com/Resources.Industry_Scorecard.aspx;");
aI("text=Minerals;url=http://www.npicenter.com/Resources.Minerals.aspx;");
aI("text=Omega-3;url=http://www.npicenter.com/resources.omega3.aspx");	
aI("text=Probiotics;url=http://www.npicenter.com/Resources.Probiotics.aspx;");
aI("text=Superfruits;url=http://www.npicenter.com/resources.superfruits.aspx;image=/images/profile/ns_1783.gif;");
aI("text=Sustainability;url=http://www.npicenter.com/Resources.Sustainability.aspx;");
aI("text=Sweeteners;url=http://www.npicenter.com/Resources.Sweeteners.aspx;image=/images/profile/ns_22873.gif;");





}


with(milonic=new menuname("Directory")){
itemheight=24;
style=XPDirectoryStyle;
divides=3;
margin=2;
left="offset=-175";
aI("text=Analytical Laboratories;url=http://www.npicenter.com/listings/Categories.aspx?catId=113;");
aI("text=Brokers;url=http://www.npicenter.com/listings/Categories.aspx?catId=115;");		
aI("text=Classifieds;url=http://www.npicenter.com/listings/Categories.aspx?catId=3599;");		
aI("text=Consultants;url=http://www.npicenter.com/listings/Categories.aspx?catId=3703;");
aI("text=Finished Products (Asia);url=http://www.npicenter.com/listings/Categories.aspx?catId=3885;");
aI("text=Finished Products (Australia/New Zealand);url=http://www.npicenter.com/listings/Categories.aspx?catId=3886;");
aI("text=Finished Products (Canada);url=http://www.npicenter.com/listings/Categories.aspx?catId=3882;");
aI("text=Finished Products (Europe);url=http://www.npicenter.com/listings/Categories.aspx?catId=3883;");
aI("text=Finished Products (Central/South America);url=http://www.npicenter.com/listings/Categories.aspx?catId=3884;");
aI("text=Finished Products (North America);url=http://www.npicenter.com/listings/Categories.aspx?catId=114;");
aI("text=Food;url=http://www.npicenter.com/listings/Categories.aspx?catId=3655;");
aI("text=Government Agencies;url=http://www.npicenter.com/listings/Categories.aspx?catId=3538;");
aI("text=Ingredients;url=http://www.npicenter.com/listings/Categories.aspx?catId=10;");
aI("text=Manufacturing;url=http://www.npicenter.com/listings/Categories.aspx?catId=131;");		
aI("text=Practitioners/Integrative Health;url=http://www.npicenter.com/listings/Categories.aspx?catId=3656;");
aI("text=Retail Center;url=http://www.npicenter.com/listings/Categories.aspx?catId=133;");
aI("text=Services;url=http://www.npicenter.com/listings/Categories.aspx?catId=134;");
aI("text=More...;url=http://www.npicenter.com/listings/Categories.aspx?catId=10;");
}

drawMenus();

