
// added JPR
var nowCalendar = new Date();
var year = nowCalendar.getFullYear();
//

_menuCloseDelay=150           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=10              // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=20                // Follow scrolling Rate
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-20            // 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()){
itemwidth="125";
onbgcolor="#FCEFB8";
oncolor="#234369";
offbgcolor="#FFFFFF";
offcolor="#234369";
bordercolor="#FFAF00";
borderstyle="solid";
borderwidth=1;
separatorcolor="#D9D5D4";
separatorsize="1";
padding="2";
fontsize="11px";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial, Verdana";
pagecolor="black";
pagebgcolor="#FCEFB8";
//headercolor="#000000";
//headerbgcolor="#ffffff";
subimage="/portal/cms_docs/graphics/arrow_side.gif";
subimagepadding="2";
//overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
//outfilter="randomdissolve(duration=0.3)";
}


with(AllImagesStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
padding=0;
fontstyle="normal";
fontweight="normal";
}



with(topStyle=new mm_style()){
//itemwidth="125";
//onbgcolor="#FCEFB8";
//oncolor="#234369";
//offbgcolor="#FFFFFF";
//offcolor="#234369";
//bordercolor="#FFAF00";
//borderstyle="solid";
borderwidth=0;
//separatorcolor="#D9D5D4";
//separatorsize="1";
//padding="2";
//fontsize="11px";
//fontstyle="normal";
//fontweight="bold";
//fontfamily="Arial, Verdana";
//pagecolor="black";
//pagebgcolor="#FCEFB8";
//headercolor="#000000";
//headerbgcolor="#ffffff";
//subimage="/portal/cms_docs/graphics/arrow_side.gif";
//subimagepadding="2";
//overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
//outfilter="randomdissolve(duration=0.3)";
}

with(topStyleOrig=new mm_style()){
//itemwidth="125";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#330099";
offcolor="#FFFFFF";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding="2";
fontsize="11px";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial, Verdana";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/portal/cms_docs/graphics/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
//outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("LEOS Main Nav")){
style=AllImagesStyle;
menuwidth="148";
top=42;
left=145;
alwaysvisible=1;
orientation="horizontal";
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_tab.xml&xsl=generic.xsl;showmenu=about;image=/portal/cms_docs_societies/leos/graphics/tabs/about_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/about_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/about_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=awards_tab.xml&xsl=generic.xsl;showmenu=awards;image=/portal/cms_docs_societies/leos/graphics/tabs/awards_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/awards_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/awards_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=chapters_tab.xml&xsl=generic.xsl;showmenu=chapters;image=/portal/cms_docs_societies/leos/graphics/tabs/chapters_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/chapters_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/chapters_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=conf_tab.xml&xsl=generic.xsl;showmenu=conferences;image=/portal/cms_docs_societies/leos/graphics/tabs/conferences_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/conferences_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/conferences_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=jobs_tab.xml&xsl=generic.xsl;showmenu=careers;image=/portal/cms_docs_societies/leos/graphics/tabs/careers_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/careers_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/careers_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=education_tab.xml&xsl=generic.xsl;showmenu=education;image=/portal/cms_docs_societies/leos/graphics/tabs/education_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/education_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/education_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=journal_tab.xml&xsl=generic.xsl;showmenu=journals;image=/portal/cms_docs_societies/leos/graphics/tabs/journals_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/journals_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/journals_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=membership_tab.xml&xsl=generic.xsl;showmenu=membership;image=/portal/cms_docs_societies/leos/graphics/tabs/membership_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/membership_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/membership_on.gif;");
aI("url=;showmenu=services;image=/portal/cms_docs_societies/leos/graphics/tabs/services_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/services_on.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/services_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/services_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=student_tab.xml&xsl=generic.xsl;showmenu=students;image=/portal/cms_docs_societies/leos/graphics/tabs/students_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/students_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/students_on.gif;");
aI("url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info/technology&file=default.xml&xsl=generic.xsl;image=/portal/cms_docs_societies/leos/graphics/tabs/technology_off.gif;overimage=/portal/cms_docs_societies/leos/graphics/tabs/technology_on.gif;pageimage=/portal/cms_docs_societies/leos/graphics/tabs/technology_on.gif;");
}

with(milonic=new menuname("notUsed")){
style=menuStyle;
aI("text=About IEEE-SA;url=http://standards.ieee.org/sa/index.html;");
aI("text=Products & Services;url=http://standards.ieee.org/prod-serv/index.html;");
aI("text=Standards Online;url=http://standards.ieee.org/catalog/olis/index.html;");
aI("text=IEEE-SA Membership;url=http://standards.ieee.org/sa-mem/index.html;");;
aI("text=Standards Dev;url=http://standards.ieee.org/resources/index.html;");
aI("text=Registration Auth.;url=http://standards.ieee.org/regauth/index.html;");
}


with(milonic=new menuname("about")){
style=menuStyle;
//overflow="scroll";
aI("text=Mission Statement;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_mission.xml&xsl=generic.xsl;");
aI("text=LEOS History;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_history.xml&xsl=generic.xsl;");
aI("text=Board of Governors/ Committees;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=officers.xml&xsl=generic.xsl;");
aI("text=Technical Committees;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=technical.xml&xsl=generic.xsl;");
aI("text=Constitution and Bylaws;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_constitution.xml&xsl=generic.xsl;");
aI("text=About IEEE;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=about_ieee.xml&xsl=generic.xsl;");
aI("text=Contact Information;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=staff.xml&xsl=generic.xsl;");
}

with(milonic=new menuname("awards")){
style=menuStyle;
aI("text=LEOS Awards;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=awards.xml&xsl=generic.xsl;");
aI("text=Chapter Award Winners;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=chapter_awards.xml&xsl=generic.xsl;");
aI("text=LEOS Student Awards;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=studentawards.xml&xsl=generic.xsl;");
aI("text=IEEE Photonics Award;url=http://www.ieee.org/portal/pages/about/awards/sums/photonics.html;");
aI("text=John Tyndall Award;url=/portal/cms_docs_societies/leos/media/pdfs/tyndallform.pdf;");
aI("text=Award Winners;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=previous_award_winners.xml&xsl=generic.xsl;");
aI("text=Forms;showmenu=forms;");
}

with(milonic=new menuname("forms")){
style=menuStyle;
aI("text=Award Forms;target=newLeos;url=http://www.ieee.org/portal/cms_docs_societies/leos/media/pdfs/forms/Nomination_Form.pdf;");
aI("text=Distinguished Lecturer Form;target=newLeos;url=/portal/cms_docs_societies/leos/media/pdfs/forms/dlform.pdf;");
aI("text=Distinguished Service Award Form;target=newLeos;url=/portal/cms_docs_leos/leos/media/pdfs/forms/DS_form.pdf;");
aI("text=Young Investigator Award Form;target=newLeos;url=/portal/cms_docs_leos/leos/media/pdfs/forms/Young_Investigator.pdf;");
aI("text=Tyndall Award;target=newLeos;url=/portal/cms_docs_societies/leos/media/pdfs/tyndallform.pdf;");
}

with(milonic=new menuname("chapters")){
style=menuStyle;
aI("text=Chapters by Region;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=regional_leos_chapters.xml&xsl=generic.xsl;");
aI("text=Alphabetical Listing;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_chapter_listings.xml&xsl=generic.xsl;");
aI("text=Student Chapters;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_chapter_listings.xml&xsl=generic.xsl#students;");
aI("text=Chapter Award Winners;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=chapter_awards.xml&xsl=generic.xsl;");
aI("text=LEOS Chapter Information;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_chapter.xml&xsl=generic.xsl;");
}

with(milonic=new menuname("conferences")){
style=menuStyle;
aI("text=Conferences;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/conf_list&file=conf_" + year + ".xml&xsl=display_calendars.xsl;");
aI("text=Conference Management;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=conference_management.xml&xsl=generic.xsl;");
aI("text=Conference Sponsorship;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=conference_sponsorship.xml&xsl=generic.xsl;");
aI("text=IEEE ConferenceSearch;target=newLeos;url=http://webapps1.ieee.org/conferenceSearch/search.do;");
}

with(milonic=new menuname("careers")){
style=menuStyle;
//margin=20;
aI("text=IEEE Employment Services;target=newLeos;url=http://careers.ieee.org/index.html;");
aI("text=Job Postings;showmenu=job_postings;");
aI("text=Other Career-Related Sites;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=career_related.xml&xsl=generic.xsl;");
}

with(milonic=new menuname("job_postings")){
style=menuStyle;
//margin=20;
aI("text=Central New England LEOS Chapter;target=newLeos;url=http://www.cnecleos.org/employment.htm;");
aI("text=Italian LEOS Chapter;target=newLeos;url=http://leos.unipv.it/job.html;");
aI("text=Optics.org;target=newLeos;url=http://optics.org/jobs/index.cfm?site=opo;");
aI("text=Photonics Jobs Inc;target=newLeos;url=http://www.photonicsjobs.com/;");
}

with(milonic=new menuname("education")){
style=menuStyle;
aI("text=LEOS University;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=university.xml&xsl=generic.xsl;");
aI("text=IEEE Educational Resources;target=newLeos;url=http://www.ieee.org/organizations/eab/;");
aI("text=K-12 Educational Resources;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=k-12_links.xml&xsl=generic.xsl;");
aI("text=Other Education Sites;showmenu=education_other;");
}

with(milonic=new menuname("education_other")){
style=menuStyle;
aI("text=dlnet (Digital Library Network for Engineering and Technology);target=newLeos;url=http://www.dlnet.vt.edu/;");

}

with(milonic=new menuname("journals")){
style=menuStyle;
aI("text=LEOS Publications;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_publications.xml&xsl=generic.xsl;");
aI("text=LEOS Newsletter;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=newsletters.xml&xsl=generic.xsl;");
aI("text=IEEE <i>Xplore</i> &reg; Publication Database;target=newLeos;url=http://ieeexplore.ieee.org/Xplore/DynWel.jsp;");
}

with(milonic=new menuname("membership")){
style=menuStyle;
aI("text=Membership Benefits;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=benefits.xml&xsl=generic.xsl;");
aI("text=Membership Grades;url=http://www.ieee.org/membership/understanding.xml;");
aI("text=Membership Dues;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=membership_cost.xml&xsl=generic.xsl;");
aI("text=Membership Directory;target=newLeos;url=http://www.ieee.org/organizations/society/photonics/photonicsroster.html;");
aI("text=Membership Applications;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=benefits.xml&xsl=generic.xsl;");
}

with(milonic=new menuname("services")){
style=menuStyle;
//aI("text=News;url=javascript:void(alert('Coming Soon'));");
//aI("text=Financial;url=javascript:void(alert('Coming Soon'));");
aI("text=Related Sites;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=related.xml&xsl=generic.xsl;");
//aI("text=My iLEOS;url=javascript:void(alert('Returning in August'));");
}

with(milonic=new menuname("students")){
style=menuStyle;
aI("text=Student Opportunities;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=opportunities.xml&xsl=generic.xsl;");
//aI("text=K-12 Educational Resource Links;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=k-12_links.xml&xsl=generic.xsl;");
aI("text=Student Awards/Winners;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=studentawards.xml&xsl=generic.xsl;");
aI("text=Student Chapters;url=/portal/site/leos/index.jsp?pageID=leos_level1&path=leos/info&file=leos_chapter_listings.xml&xsl=generic.xsl#students;");
aI("text=Student Membership;url=http://www.ieee.org/membership/students/sc_membership.xml;");
aI("text=GOLD;target=newLeos;url=http://www.ieee.org/organizations/rab/gold/;");
aI("text=What's New @ IEEE;target=newLeos;url=http://whatsnew/;");
}


drawMenus();

