
/*

*--- OVERVIEW ---*
The sections of code below represent each "set" of links in the main Carsey navigation (the lighter blue horizontal bar at the top of each web page).

The first set, named Main Menu, contains the top-level links (Home, About Carsey, Publications). The sets that follow (ie. 'about', 'research', 'policy') are the sub-menus - they're the groups of drop-down links.



*--- ADDING A NEW SET/SUBMENU ---*
To add a drop-down to an existing top-level link, you have to create a new set and give it a unique name. You can copy an existing submenu set and paste it below (anywhere above the line that says, "drawMenus();". THEN, once you've created the new set, you need to make a reference to it from the Main Menu. You'll notice that the links in the main menu that have drop-downs, have the 'showmenu' property. You would type, 'showmenu=" and then the new submenu name. 


*--- EDITING A SET ---*
Menu items are the lines beginning with aI. 

You can add/delete the aI lines as needed. For example, TO ADD A NEW LINK simply copy an entire aI line (from 'aI' to the last semicolon (;) ) and paste it where you want it to go in the list. Then you would just change the text and url properties. Similarly, TO DELETE A LINK, delete an entire aI line from aI to the semicolon (;). Properties in the aI line are separated by semicolons (;).
																																																																																																																																																																																																																																																																																					PROPERTIES:
	+-----------------------------------------+
	|  text....................Link Text      |
	|  url.....................URL			  |
	|  showmenu................Drop Down Menu |
	+-----------------------------------------+



For more detailed explanations, go to: http://www.milonic.com/beginner.php. 
*/




/*

+--------------------------------------------+
|                                            |
|          Below is the MAIN MENU            |
|                                            |
+--------------------------------------------+

*/


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemheight=20;
orientation="horizontal";
screenposition="center";
style=menuStyle;
toppadding:5;
aI("text=Home;url=/index.html");
aI("text=About Carsey;showmenu=about;");
aI("text=Publications;showmenu=publications;");
aI("text=Policy Areas;showmenu=policy areas;");
aI("text=Research Resources;showmenu=research resources;");
aI("text=News and Events;showmenu=News and Events;");
aI("text=At UNH;showmenu=At UNH;");
}


/*

+--------------------------------------------+
|                                            |
|       Below is the HOME SUBMENU           |
|                                            |
+--------------------------------------------+

*/
with(milonic=new menuname("about")){
style=submenuStyle;

aI("text=Staff and Fellows;url=/about/staff-fellows.html");
aI("text=Carsey Institute Supporters;url=/about/supporters.html");
aI("text=Director's Message;url=/about/director.html");
aI("text=Directions;url=/about/directions.html");
aI("text=Mission and History;url=/about/mission.html");
aI("text=Employment Opportunities;url=/about/employment.html");
}




/*

+--------------------------------------------+
|                                            |
|       Below is the PUBLICATIONS SUBMENU          |
|                                            |
+--------------------------------------------+

*/

with(milonic=new menuname("publications")){
style=submenuStyle;
aI("text=Publications;url=/publications.cfm");
aI("text=Multimedia Presentations;url=/multimedia.html");
}

/*

+--------------------------------------------+
|                                            |
|       Below is the POLICY SUBMENU          |
|                                            |
+--------------------------------------------+

*/

with(milonic=new menuname("Policy Areas")){
style=submenuStyle;
aI("text=Civic Engagement;url=/policy/civic.html");
aI("text=Children, Youth, and Families;url=/policy/families.html");
aI("text=Community Development Finance;url=/policy/cdf.html");
aI("text=Health;url=/policy/health.html");
aI("text=Housing;url=/policy/housing.html");
aI("text=Immigration;url=/policy/immigration.html");
aI("text=New Hampshire and New England;url=/policy/regional.html");
aI("text=Poverty;url=/policy/poverty.html");
aI("text=Rural and Urban America;url=/policy/rural-urban.html");
aI("text=Sustainable Development;url=/policy/sd.html");
aI("text=Work;url=/policy/work.html");
aI("text=View all Works in Progress;url=/WIP/WIP.html");
}
/*

+--------------------------------------------+
|                                            |
|       Below is the RESEARCH SUBMENU        |
|                                            |
+--------------------------------------------+

*/
with(milonic=new menuname("Research Resources")){
style=submenuStyle;
aI("text=Demographic Trends;url=/Resources/demography.html");
aI("text=Evaluation Program;url=/Resources/evaluation.html");
aI("text=Indicators;url=/Resources/indicators.html");
}




/*

+--------------------------------------------+
|                                            |
|       Below is the NEWS and EVENTS SUBMENU          |
|                                            |
+--------------------------------------------+

*/

with(milonic=new menuname("News and Events")){
style=submenuStyle;
aI("text=Events;url=/news/events.html");
aI("text=For the Media;url=/news/media.html");
aI("text=Multimedia Presentations;url=/multimedia.html");
aI("text=Press Releases;url=/news/pr.html");
}


/*

+--------------------------------------------+
|                                            |
|       Below is the AT UNH SUBMENU          |
|                                            |
+--------------------------------------------+

*/

with(milonic=new menuname("AT UNH")){
style=submenuStyle;
aI("text=Campus Events;showmenu=campus events;url=/at-UNH/events.html");
aI("text=Campus Partners;showmenu=campus partners;url=/at-UNH/partners.html");
aI("text=Faculty Resources;url=/at-UNH/faculty.html");
aI("text=Student Resources;url=/at-UNH/students.html");
}



/*--------- DO NOT CHANGE/ADD ANYTHING BELOW THIS LINE -----------*/

drawMenus();