_CFix=true;
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=0;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;
forgetClickValue="true";
//ignoreCollisions = "true";
with(menuStyleQuickGlanceTest=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="#d2e0ed";
onbgcolor="transparent";
oncolor="#FFFFFF";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#d2e0ed";
separatorsize=1;
subimage="";
subimagepadding=0;
rawcss="line-height:32px;"
}
with(menuStyleQuickGlanceSub=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#d2e0ed";
separatorsize=0;
subimage="";
subimagepadding=0;
rawcss="line-height:32px;"
offfunction="javascript:alert('test');";
}
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="0";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
rawcss="line-height:0;"
}
with(menuStyleMegaMenuFindDietitian=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
keepalive=1;
menubgimage="/images/find-rd-background.png";
}
with(menuStyleMegaMenuAdvancedSearch=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
keepalive=1;
menubgimage="/images/bg_megamenu_advancedsearch.png";
}
with(menuStyleMegaMenuMemberLoginContainer=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
openonclick=1;
}
with(menuStyleMegaMenuMemberLogin=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
openonclick=1;
menubgimage="/images/bg_megamenu_login.png";
}
with(menuStyleMegaMenuBlog=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
menubgimage="/images/bg_megamenu_blog.png";
}
//styles for interior header navigation
with(menuStyleMegaMenuTop=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
}
with(menuStyleFooterTop=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="0";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="transparent";
separatorsize=19;
subimage="";
subimagepadding=0;
}
with(menuStyleFooterBottom=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="0";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="transparent";
separatorsize=2;
subimage="";
subimagepadding=0;
}
with(menuStyleFooterLeft=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="0";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="transparent";
//separatorsize=10;
separatorsize=19;
subimage="";
subimagepadding=0;
}
with(menuStyleFooterRight=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="0";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#f6f6f6";
separatorsize=2;
subimage="";
subimagepadding=0;
}
//styles for interior footer navigation
with(menuStyleMegaMenuBottomI=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
}
//styles for home footer navigation
with(menuStyleMegaMenuBottomH=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
}
//styles for interior quickglance navigation
with(menuStyleMegaMenuQuickGlance=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="transparent";
onbgcolor="transparent";
oncolor="transparent";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="transparent";
pagecolor="transparent";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=0;
}
with(menuStyleVertical=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, Sans-Serif;";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="#FFFFFF";
onbgcolor="#799d04";
oncolor="#FFFFFF";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="#799d04";
pagecolor="#FFFFFF";
separatorcolor="#999999";
separatorsize=0;
subimage="/javascript/milonic/arrow_v_off.gif";
oversubimage="/javascript/milonic/arrow_v_over.gif";
pagesubimage="/javascript/milonic/arrow_v_over.gif";
rawcss="padding:3px 30px;line-height:14px;";
}
with(menuStyleVerticalSub=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, Sans-Serif;";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="#FFFFFF";
onbgcolor="";
oncolor="#FFFFFF";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="#799d04";
pagecolor="#FFFFFF";
separatorcolor="#999999";
separatorsize=0;
subimage="/javascript/milonic/arrow_v_off.gif";
oversubimage="/javascript/milonic/arrow_v_over.gif";
pagesubimage="/javascript/milonic/arrow_v_over.gif";
rawcss="padding:3px 20px;line-height:14px;";
}
// FOR mini sites
with(menuMiniVertical=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, Sans-Serif;";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="#FFFFFF";
onbgcolor="#436DA6";
oncolor="#FFFFFF";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="#436DA6";
pagecolor="#FFFFFF";
separatorcolor="#999999";
separatorsize=0;
subimage="/javascript/milonic/arrow_m_off.gif";
oversubimage="/javascript/milonic/arrow_m_over.gif";
pagesubimage="/javascript/milonic/arrow_m_over.gif";
rawcss="padding:3px 30px;line-height:14px;";
}
with(menuMiniVerticalSub=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Helvetica, Sans-Serif;";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="transparent";
headercolor="transparent";
offbgcolor="transparent";
offcolor="#FFFFFF";
onbgcolor="436DA6";
oncolor="#FFFFFF";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="#436DA6";
pagecolor="#FFFFFF";
separatorcolor="#999999";
separatorsize=0;
subimage="/javascript/milonic/arrow_v_off.gif";
oversubimage="/javascript/milonic/arrow_v_over.gif";
pagesubimage="/javascript/milonic/arrow_v_over.gif";
rawcss="padding:3px 20px;line-height:14px;";
}
// MEGA MENUS
//-----------
//General mega menus
//Find a Registered Dietitian
with(milonic=new menuname("MenuMegaFindDietitian")){
style=menuStyleMegaMenuFindDietitian;
itemwidth="387px";
//itemheight="225px";
itemheight="165px";
left="offset=-190px";
top="offset=-2px";
keepalive=1;
zindex=95;
aI("rawcss=padding:8px 23px 0 23px;type=form;text=`
`;");
//aI("rawcss=padding:8px 23px 0 23px;type=form;text=``;");
//aI("rawcss=padding:8px 23px 0 23px;type=form;text=``;");
}
//Advanced Search
with(milonic=new menuname("MenuMegaAdvancedSearch")){
style=menuStyleMegaMenuAdvancedSearch;
itemwidth="385px";
itemheight="222px";
keepalive=1;
zindex=95;
aI("rawcss=padding:8px 14px 0 14px;type=form;text=``;");
}
//Member Login
with(milonic=new menuname("MenuMegaMemberLogin")){
style=menuStyleMegaMenuMemberLogin;
itemwidth="288px";
itemheight="146px";
left="offset=-192px";
top="offset=9px";
keepalive=1;
zindex=96;
aI("rawcss=padding:8px 13px 0 14px;type=form;text=``;");
}
//Interior header menus
//For the Public
var tBodyCopy;
tBodyCopy = " | | You realize the importance of making informed food choices and developing sound eating and physical activity habits. But getting the best and most accurate information isn’t always easy online. The Academy of Nutrition and Dietetics (formerly the American Dietetic Association) is here to assist you in your search for answers. Registered dietitians (RDs) are the food and nutrition experts. Find out if it’s time to seek the assistance of a registered dietitian.
|
";
with(milonic=new menuname("MenuMegaTPublic")){
style=menuStyleMegaMenuTop;
itemwidth="696px";
top="offset=-1px";
left="offset=-3px";
zindex=93;
aI("type=header;image=/images/bg_megamenu_top_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_top_repeat.png');background-position:bottom;padding:0 15px 0 3px;type=form;text=`" + tBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_top_bottom.png");
}
//For Members
tBodyCopy = " | | For MembersIndispensable programs, products and services at your fingertips. Gain immediate access to career enhancing resources, including the fully searchable Journal online—with up to 4 hours of free CPE in each issue, cutting-edge online professional education opportunities, and the best science-based information in the Academy's Evidence Analysis Library. Connect with practitioners sharing your specific interests through dietetic and member interest groups and affiliate associations. Become an advocate for the profession. Lead with the Academy of Nutrition and Dietetics! |
";
with(milonic=new menuname("MenuMegaTMembers")){
style=menuStyleMegaMenuTop;
itemwidth="696px";
top="offset=-1px";
left="offset=-3px";
zindex=93;
aI("type=header;image=/images/bg_megamenu_top_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_top_repeat.png');background-position:bottom;padding:0 15px 0 3px;type=form;text=`" + tBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_top_bottom.png");
}
//For Students
tBodyCopy = " | | Become an RD or DTRWhether you're thinking about a career in dietetics, or are already in the profession, the Academy is your online career resource. With your membership, you will have full access to our online database of internships and job postings. Use our study guides and other invaluable educational resources to help you reach graduation with success. Connect with other students across the country. Become a student advocate for the field of dietetics. |
";
with(milonic=new menuname("MenuMegaTStudents")){
style=menuStyleMegaMenuTop;
itemwidth="696px";
top="offset=-1px";
left="offset=-3px";
zindex=93;
aI("type=header;image=/images/bg_megamenu_top_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_top_repeat.png');background-position:bottom;padding:0 15px 0 3px;type=form;text=`" + tBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_top_bottom.png");
}
//For the Media
tBodyCopy = " | | For the MediaThe Academy of Nutrition and Dietetics is the public's and news media's best source for the most accurate, credible and timely food and nutrition information. The Academy's volunteer media spokespeople are resources for expert commentary, story ideas and background on the full range of food and nutrition topics. The Academy is available to help with everything from providing background information to arranging an interview with an Academy spokesperson. |
";
with(milonic=new menuname("MenuMegaTMedia")){
style=menuStyleMegaMenuTop;
itemwidth="696px";
top="offset=-1px";
left="offset=-67px";
zindex=93;
aI("type=header;image=/images/bg_megamenu_top_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_top_repeat.png');background-position:bottom;padding:0 15px 0 3px;type=form;text=`" + tBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_top_bottom.png");
}
//For the Health Professionals
tBodyCopy = " | | For Health ProfessionalsInformation you can use every day in your practice: Gain immediate access to articles and videos. Participate in Online Learning. Connect with other nutrition professionals that have similar interests through blogs, forums, Dietetic Practice Groups, Member Interest Groups and Affiliate State Associations. Become an advocate for the field of dietetics! Lead with the Academy! |
";
with(milonic=new menuname("MenuMegaTHealthPros")){
style=menuStyleMegaMenuTop;
itemwidth="696px";
top="offset=-1px";
left="offset=-180px";
zindex=93;
aI("type=header;image=/images/bg_megamenu_top_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_top_repeat.png');background-position:bottom;padding:0 15px 0 3px;type=form;text=`" + tBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_top_bottom.png");
}
//Quickglance Menus
with(milonic=new menuname("MenuMegaQuickGlance")){
style=menuStyleQuickGlanceSub;
itemwidth="682px";
zindex=99;
//onfunction=alert('test');
aI("type=header;image=/images/bg_megamenu_q_top.png;");
aI("offfunction=getParentItemByItem('MenuQuickGlanceTest')[6]='#000000';rawcss=background-image:url('/images/bg_megamenu_q_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`- Featured Blog:
- adsf asdfasdf
| - Featured Blog:
- adsf asdfasdf
| - Featured Blog:
- adsf asdfasdf
| - Featured Blog:
- adsf asdfasdf
|
`;");
aI("type=header;image=/images/bg_megamenu_q_bottom.png");
}
//Interior footer menu megas - left
//Forums Example
var fBodyCopy;
fBodyCopy = "- Forums are a wonderful way to connect and hear what\'s going on in the industry. When you belong to a discussion forum, you will join a group of people interested in food and nutrition topics who ask and answer questions, offer suggestions, discuss issues and participate in our community.
| - Our Forums
If you have a question, comment or suggestion about the eatright.org site, this forum is the place to go. Academy staff will be able to respond and assist you with anything you need.
|
";
with(milonic=new menuname("MenuMegaIForums")){
style=menuStyleMegaMenuBottomI;
itemwidth="682px";
left="offset=-14px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_i_forums.png");
}
//Blogs
fBodyCopy = "- Our Blogs
Our official blog, written by registered dietitians who specialize in communicating the straight story on food and nutrition that is based on sound science and common sense. A repository of information on nutrition informatics; defined as the effective retrieval, organization, storage and optimum use of information, data and knowledge for food and nutrition related problem solving and decision making. Information and resources for nutrition professionals active in the areas of eating disorders, intellectual and developmental disabilities, addictions, and psychiatric disorders.
| Visit the new blog of the Hunger and Environmental Nutrition dietetic practice group to learn more about optimal nutrition and well-being, interdependence of food and water security, health, agriculture and the environment. National Nutrition Month is celebrated in March and the NNM blog provides information, tips and recipes that will help you make healthy food and nutrition choices for you and your loved ones.
|
";
with(milonic=new menuname("MenuMegaIBlogs")){
style=menuStyleMegaMenuBottomI;
itemwidth="682px";
//left="offset=-99px";
left="offset=-108px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_i_blogs.png");
}
//Document Collaboration
//fBodyCopy = ;
//with(milonic=new menuname("MenuMegaIDocCollab")){
//style=menuStyleMegaMenuBottomI;
//itemwidth="682px";
//left="offset=-175px";
//top="offset=-1px";
//openstyle="up";
//zindex=90;
//aI("type=header;image=/images/bg_megamenu_i_top.png");
//aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
//aI("type=header;image=/images/bg_megamenu_i_doccollab.png");
//}
//Social Communities
fBodyCopy = "";
with(milonic=new menuname("MenuMegaISocCom")){
style=menuStyleMegaMenuBottomI;
itemwidth="682px";
left="offset=-193px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_i_soccom.png");
}
//Surveys
fBodyCopy = "- Give Us Feedback
We want to know what you think! Take this poll and let us know about your healthy eating habits.
|
|
";
with(milonic=new menuname("MenuMegaISurveys")){
style=menuStyleMegaMenuBottomI;
itemwidth="682px";
left="offset=-360px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_i_surveys.png");
}
//Interior footer Menus - right
//E-Newsletter
fBodyCopy = "- Stay Informed
- Academy e-newsletters keep members informed of the news and events impacting the dietetics profession and the organization. Wherever you work, whatever career stage you are in, the Academy has an e-newsletter for you.
| - Our newsletters
- Eat Right Weekly
- Daily News
- Student Council Updates
- Foundation Matters
- Medicare MNT Provider
Manage your subscriptions »
|
";
with(milonic=new menuname("MenuMegaINewsletter")){
style=menuStyleMegaMenuBottomI;
itemwidth="682px";
left="offset=-245px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_i_newsletter.png");
}
//RSS Feeds
fBodyCopy = "";
with(milonic=new menuname("MenuMegaIRSSFeeds")){
style=menuStyleMegaMenuBottomI;
itemwidth="682px";
left="offset=-355px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_i_rssfeeds.png");
}
//Podcasts
fBodyCopy = "- Academy Podcasts:
Download these audiocasts of food and nutrition information, then listen to them at your leisure on your desktop, laptop or MP3 player.Have a minute? Listen to the Eating Right podcast with Connie Diekman, past president of the Academy.
| - More podcasts
|
";
with(milonic=new menuname("MenuMegaIPodcasts")){
style=menuStyleMegaMenuBottomI;
itemwidth="682px";
left="offset=-440px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_i_podcasts.png");
}
//Videos
fBodyCopy = "";
with(milonic=new menuname("MenuMegaIVideos")){
style=menuStyleMegaMenuBottomI;
itemwidth="682px";
left="offset=-526px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopy + "`;");
aI("type=header;image=/images/bg_megamenu_i_videos.png");
}
//Home footer menu megas - top
//Forums Example
var fBodyCopyHome;
fBodyCopyHome = "- Forums are a wonderful way to connect and hear what\'s going on in the industry. When you belong to a discussion forum, you will join a group of people interested in food and nutrition topics who ask and answer questions, offer suggestions, discuss issues and participate in our community.
| - Our Forums
If you have a question, comment or suggestion about the eatright.org site, this forum is the place to go. Academy staff will be able to respond and assist you with anything you need.
|
";
with(milonic=new menuname("MenuMegaHForums")){
style=menuStyleMegaMenuBottomH;
itemwidth="682px";
left="offset=-107px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopyHome + "`;");
aI("type=header;image=/images/bg_megamenu_h_forums.png");
}
//Blogs
fBodyCopyHome = "- Our Blogs
Our official blog, written by registered dietitians who specialize in communicating the straight story on food and nutrition that is based on sound science and common sense. A repository of information on nutrition informatics; defined as the effective retrieval, organization, storage and optimum use of information, data and knowledge for food and nutrition related problem solving and decision making. Information and resources for nutrition professionals active in the areas of eating disorders, intellectual and developmental disabilities, addictions, and psychiatric disorders.
| Visit the new blog of the Hunger and Environmental Nutrition dietetic practice group to learn more about optimal nutrition and well-being, interdependence of food and water security, health, agriculture and the environment. National Nutrition Month is celebrated in March and the NNM blog provides information, tips and recipes that will help you make healthy food and nutrition choices for you and your loved ones.
|
";
with(milonic=new menuname("MenuMegaHBlogs")){
style=menuStyleMegaMenuBottomH;
itemwidth="682px";
//left="offset=-99px";
left="offset=-201px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopyHome + "`;");
aI("type=header;image=/images/bg_megamenu_h_blogs.png");
}
//Social Communities
fBodyCopyHome = "";
with(milonic=new menuname("MenuMegaHSocCom")){
style=menuStyleMegaMenuBottomH;
itemwidth="682px";
left="offset=-286px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopyHome + "`;");
aI("type=header;image=/images/bg_megamenu_h_soccom.png");
}
//Surveys
fBodyCopyHome = "- Give Us Feedback
We want to know what you think! Take this poll and let us know about your healthy eating habits.
|
|
";
with(milonic=new menuname("MenuMegaHSurveys")){
style=menuStyleMegaMenuBottomH;
itemwidth="682px";
left="offset=-453px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopyHome + "`;");
aI("type=header;image=/images/bg_megamenu_h_surveys.png");
}
//Interior footer Menus - right
//E-Newsletter
fBodyCopyHome = "- Stay Informed
- Academy e-newsletters keep members informed of the news and events impacting the dietetics profession and the organization. Wherever you work, whatever career stage you are in, the Academy has an e-newsletter for you.
| - Our newsletters
- Eat Right Weekly
- Daily News
- Student Council Updates
- Foundation Matters
- Medicare MNT Provider
Manage your subscriptions »
|
";
with(milonic=new menuname("MenuMegaHNewsletter")){
style=menuStyleMegaMenuBottomH;
itemwidth="682px";
left="offset=-107px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopyHome + "`;");
aI("type=header;image=/images/bg_megamenu_h_newsletter.png");
}
//RSS Feeds
fBodyCopyHome = "";
with(milonic=new menuname("MenuMegaHRSSFeeds")){
style=menuStyleMegaMenuBottomH;
itemwidth="682px";
left="offset=-217px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopyHome + "`;");
aI("type=header;image=/images/bg_megamenu_h_rssfeeds.png");
}
//Podcasts
fBodyCopyHome = "- Academy Podcasts:
Download these audiocasts of food and nutrition information, then listen to them at your leisure on your desktop, laptop or MP3 player.Have a minute? Listen to the Eating Right podcast with Connie Diekman, past president of the Academy.
| - More podcasts
|
";
with(milonic=new menuname("MenuMegaHPodcasts")){
style=menuStyleMegaMenuBottomH;
itemwidth="682px";
left="offset=-302px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopyHome + "`;");
aI("type=header;image=/images/bg_megamenu_h_podcasts.png");
}
//Videos
fBodyCopyHome = "";
with(milonic=new menuname("MenuMegaHVideos")){
style=menuStyleMegaMenuBottomH;
itemwidth="682px";
left="offset=-388px";
top="offset=-1px";
openstyle="up";
zindex=90;
aI("type=header;image=/images/bg_megamenu_i_top.png");
aI("rawcss=background-image:url('/images/bg_megamenu_i_repeat.png');background-position:bottom;padding:0 7px 0 5px;type=form;text=`" + fBodyCopyHome + "`;");
aI("type=header;image=/images/bg_megamenu_h_videos.png");
}
//Standard dropdown/flyout menus
with(milonic=new menuname("MenuSideVerticalSub")){
style=menuStyleVerticalSub;
itemwidth="193px";
top="offset=-15px;";
zindex=90;
aI("type=header;image=/images/bg_submenu_top.png;");
aI("overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;text=Sub Link1;url=;");
aI("overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;text=Sub Link2;url=;");
aI("overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;text=Sub Link3;url=;showmenu=MenuSideVerticalSub2;");
aI("overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;text=Sub Link4;url=;");
aI("overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;text=Sub Link5;url=;");
aI("overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;text=Sub Link6;url=;");
aI("type=header;image=/images/bg_submenu_bottom.png;");
}
with(milonic=new menuname("MenuSideVerticalSub2")){
style=menuStyleVerticalSub;
itemwidth="193px";
left="offset=-2px";
zindex=90;
aI("type=header;image=/images/bg_submenu_top.png;");
aI("text=Sub 3 Link1;overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;url=;");
aI("text=Sub 3 Link2;overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;url=;");
aI("text=Sub 3 Link3;overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;url=;");
aI("text=Sub 3 Link4;overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;url=;");
aI("text=Sub 3 Link5;overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;url=;");
aI("text=Sub 3 Link6;overbgimage=/images/bg_submenu_over.png;bgimage=/images/bg_submenu_repeat.png;url=;");
aI("type=header;image=/images/bg_submenu_bottom.png;");
}
drawMenus();
//Milonic Related Functions
//close the selected "always on menus"
function closeAllKeepAliveMenus(menuName,menuBackground) {
menuDisplay(_mi[_itemRef][0], 0);
}
function clearAllLinks() {
alert("test");
}
function mm_changeItemProperty(menuName, itemName, codeRef, newValue, updateDisplay)
{
menuName = menuName.toLowerCase();
for (i=0; i<_mi.length; i++)
if (_mi[i][1].replace(/\ \;/ig,' ') == itemName && _m[_mi[i][0]][1] == menuName) break;
if (i == _mi.length) return;
_mi[i][codeRef] = newValue;
if (updateDisplay) BDMenu(_mi[i][0]);
}
//no longer being used
//experimental function to adjust PNG transparent backgrounds in menu
function megaMenuPngFix() {
if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
var msie=0;
//alert(navigator.appVersion.match(/MSIE (\d+\.\d+)/, '')[1]);
msie=navigator.appVersion.match(/MSIE (\d+\.\d+)/, '')[1];
//proceed only if less than IE7
if(msie<7) {
var M=gmobj("menu"+getMenuByName('MenuMegaIForums'))
M.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://clients1.serverside.net/ada/images/bg_megamenu_i_forums.png',sizingMethod='crop')";
M.style.background=""
}
}
}
//call the above function once
megaMenuPngFix();