menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#ffffff', Direction=135, Strength=0)"
}
else
{
	effect = "Shadow(color='#ffffff', Direction=135, Strength=0)" // Stop IE5.5 bug when using more than one filter
}


timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"#CC6600",			// Mouse Off Font Color
"ffffff",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"#006BB5",			// Mouse On Background Color
"#000000",			// Menu Border Color 
12,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
3,			// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000000",			// 3D Low Color
"#CC6600",			// Current Page Item Font Color (leave this blank to disable)
"#000063",			// Current Page Item Background Color (leave this blank to disable)
,		// Top Bar image (Leave this blank to disable)
"",			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"#CC6600",			// Mouse Off Font Color
"#ffffff",			// Mouse Off Background Color
"#ffffff",			// Mouse On Font Color
"#006BB5",			// Mouse On Background Color
"#000000",			// Menu Border Color 
12,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
2,			// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000000",			// 3D Low Color
"red",			// Current Page Item Font Color (leave this blank to disable)
"white",			// Current Page Item Background Color (leave this blank to disable)
,		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",		// Menu Name - This is needed in order for the menu to be called
50,			// Menu Top - The Top position of the menu in pixels
150,			// Menu Left - The Left position of the menu in pixels
,			// Menu Width - Menus width in pixels
0,			// Menu Border Width 
"center",			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,			// Properties Array - this is set higher up, as above
1,			// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,			// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 			// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,			// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,			// Position of TOP sub image left:center:right
,			// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,			// Right To Left - Used in Hebrew for example. (1=on/0=off)
,			// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,			// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,			// Reserved for future use
,			// Reserved for future use
,			// Reserved for future use

	
	,"Home&nbsp;|","index.php","Home","Back to Home page",0
	,"Who&nbspWe&nbsp;Are&nbsp;|","show-menu=admin",,"APHA Administration",0
	//,"Advocacy&nbsp&&nbsp;Policy&nbsp;|","show-menu=advocacy",,"Advocacy",0
	,"Resources&nbsp;|","show-menu=main",,"Main Menu",0
	,"Awards&nbsp;|","show-menu=awards",,"Awards",0
	//," Working Groups","modules.php?name=Content&pa=showpage&pid=103",,"Working Groups",0
	//," Proposal for Action","modules.php?name=Contentdocs&pa=showpage&pid=54",,"Proposal for Action",0
	,"News&nbsp;&&nbsp;Events&nbsp;|","show-menu=newsevents",,"News",0
	//,"APHA&nbsp;Events&nbsp;|","show-menu=events",,"APHA Events",0
	,"Contact&nbsp;Us&nbsp;|","modules.php?name=Contact",,"Contact APHA",0
	,"Members&nbsp;Lounge","show-menu=members",,"Members",0
	])
	
	
	addmenu(menu=["main",
	,,150,1,"",style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	//,"<img src=\"menu/forums.gif\" border=0> APHA Forums","modules.php?name=Forums&file=index&c=500",,"APHA Forums",0
	//,"<img src=\"menu/docs.gif\" border=0> Administration","show-menu=admin",,,0
	//,"<img src=\"menu/docs.gif\" border=0> Awards","show-menu=awards",,,0
	,"<img src=\"menu/docs.gif\" border=0> Advocacy&nbsp&&nbsp;Policy&nbsp;|","show-menu=advocacy",,"Advocacy",0
	,"<img src=\"menu/docs.gif\" border=0> Publications","show-menu=docs",,,0
	//,"<img src=\"menu/ppt.gif\" border=0> Presentations","show-menu=presentations",,,0
	//,"<img src=\"menu/employ.gif\" border=0> Employment","show-menu=employment",,,0
	//,"<img src=\"images/question.gif\" border=0> FAQs","modules.php?name=FAQ",,"FAQs",0
	,"<img src=\"menu/link.gif\" border=0> Links","show-menu=links",,"Links",0
	//,"<img src=\"menu/members.gif\" border=0> Members List","modules.php?name=Members_List",,,0
	//,"<img src=\"menu/txt.gif\" border=0> Publications","show-menu=publications",,,0
	,"<img src=\"menu/search.gif\" border=0> Search","modules.php?name=Search",,"Search",0
	])
	
	addmenu(menu=["admin",
	,,175,1,"",style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#003399', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"<img src=\"menu/docs.gif\" border=0> About APHA","modules.php?name=FAQ&myfaq=yes&id_cat=1&categories=",,"About APHA",0
	,"<img src=\"menu/docs.gif\" border=0> APHA Board","modules.php?name=Content&pa=showpage&pid=12",,"APHA Board",0
	//,"<img src=\"menu/docs.gif\" border=0> District","modules.php?name=Content&pa=showpage&pid=3",,"District",0
	//,"<img src=\"menu/docs.gif\" border=0> Leadership Plan","modules.php?name=Content&pa=showpage&pid=4",,"Leadership Plan",0
	,"<img src=\"menu/docs.gif\" border=0> Membership","modules.php?name=Content&pa=showpage&pid=1",,"Membership",0
	,"<img src=\"menu/docs.gif\" border=0> What is Public Health?","modules.php?name=Content&pa=showpage&pid=146",,"Public Health",0
	,"<img src=\"menu/docs.gif\" border=0> Strategic Plan","modules.php?name=Contentdocs&pa=showpage&pid=131",,"Strategic Plan",0
	,"<img src=\"menu/docs.gif\" border=0> Donations","modules.php?name=Contentdocs&pa=showpage&pid=145",,"Donations",0
	])
	
	addmenu(menu=["awards",
	,,330,1,"",style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#003399', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"<img src=\"menu/folder.gif\" border=0> Main","modules.php?name=Content&pa=viewdoc&cid=20",,"Main",0
	,"<img src=\"menu/docs.gif\" border=0> Awards Information","modules.php?name=Content&pa=showpage&pid=84",,"Main",0
	,"<img src=\"menu/awards.gif\" border=0> APHA Honorary Awards ","modules.php?name=Content&pa=showpage&pid=75",,"APHA Honorary Awards",0
	,"<img src=\"menu/awards.gif\" border=0> Dr. John Waters Memorial Fund","modules.php?name=Content&pa=showpage&pid=73",,"Dr. John Waters Memorial Fund",0
	,"<img src=\"menu/awards.gif\" border=0> The Dr. Jean C. Nelson Memorial Foundation","modules.php?name=Content&pa=showpage&pid=71",,"The Dr. Jean C. Nelson Memorial Foundation",0
	])
	
	addmenu(menu=["newsevents",
	,,100,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"<img src=\"menu/top.gif\" border=0> News", "show-menu=news",,"APHA News Section",0
	,"<img src=\"menu/calendar.gif\" border=0> Events", "show-menu=events",,"Events",0
	])
	
	addmenu(menu=["news",
	,,140,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	//,"<img src=\"menu/docs.gif\" border=0> Promoter News", "show-menu=newsletters",,"Promoter News",0
	,"<img src=\"menu/top.gif\" border=0> News", "modules.php?name=Contentwn&pa=viewdoc&cid=4",,"APHA News Section",0
	,"<img src=\"menu/news.gif\" border=0> Latest News", "modules.php?name=Contentwn&pa=NewLinks",,"APHA Latest News",0
	,"<img src=\"menu/topics.gif\" border=0> Archives", "modules.php?name=Contentwn&pa=viewdoc&cid=4",,"APHA News Archives",0
	,"<img src=\"menu/sign.gif\" border=0> Submit", "modules.php?name=Contentwn&pa=sub_doc",,"Submit a new document",0
	])
	
	addmenu(menu=["events",
	,,190,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"<img src=\"menu/calendar.gif\" border=0> Event Calendar","show-menu=calendar",,"Event Calendar",0
	,"<img src=\"menu/events.gif\" border=0> Annual General Meetings", "modules.php?name=Content&pa=viewdoc&cid=49",,"Meetings",0
	,"<img src=\"menu/events.gif\" border=0> Summer School", "show-menu=summerschool",,"Summer School",0
	])
	
	addmenu(menu=["position",
	,,140,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"<img src=\"menu/top.gif\" border=0> Table of Contents", "modules.php?name=Content&pa=showpage&pid=53",,"Table of Contents",0
	,"<img src=\"menu/sign.gif\" border=0> Background ", "modules.php?name=Content&pa=showpage&pid=63",,"Background",0
	,"<img src=\"menu/sign.gif\" border=0> Method", "modules.php?name=Content&pa=showpage&pid=64",,"Method",0
	,"<img src=\"menu/sign.gif\" border=0> Phase 1", "modules.php?name=Content&pa=showpage&pid=65",,"Phase 1",0
	,"<img src=\"menu/sign.gif\" border=0> Phase 2", "modules.php?name=Content&pa=showpage&pid=66",,"Phase 2",0
	,"<img src=\"menu/sign.gif\" border=0> Project Significance", "modules.php?name=Content&pa=showpage&pid=67",,"Project Significance",0
	,"<img src=\"menu/sign.gif\" border=0> Project Evaluation", "modules.php?name=Content&pa=showpage&pid=68",,"Project Evaluation",0
	])
	
	addmenu(menu=["advocacy",
	,,140,1,"",style1,0,"left","",0,,,,,,,,,,,
	,"Resolutions","modules.php?name=Contentdocs&pa=viewdoc&cid=7",,"Resolutions",0
	,"Core Competencies","modules.php?name=Contentdocs&pa=viewdoc&cid=47",,"Competencies",0
	,"Public Health Issues","modules.php?name=Contentdocs&pa=viewdoc&cid=48",,"Issues",0
	])
	
	addmenu(menu=["summerschool",
	,,80,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"2007", "modules.php?name=Content&pa=viewdoc&cid=57",,,1
	,"2009", "modules.php?name=Content&pa=viewdoc&cid=58",,,0
	])
	
	addmenu(menu=["employment",
	,,140,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Main", "modules.php?name=Contentem",,,1
	,"New", "modules.php?name=Contentem&pa=NewLinks",,,0
	])
	
	addmenu(menu=["calendar",
	,,140,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"View Calendar", "modules.php?name=Calendar",,,1
	,"Search Events", "modules.php?name=Calendar&op=search",,,0
	])
	
	addmenu(menu=["links",
	,,75,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Main", "modules.php?name=Web_Links",,,1
	,"New", "modules.php?name=Web_Links&l_op=NewLinks",,,0
	,"Popular", "modules.php?name=Web_Links&l_op=MostPopular",,,0
	])
	
	addmenu(menu=["docs",
	,,75,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Main", "modules.php?name=Content",,,1
	,"New", "modules.php?name=Content&pa=NewLinks",,,0
	])
	
	addmenu(menu=["members",
	,,145,1,"",style1,0,"left","",0,,,,,,,,,,,
	,"Login","modules.php?name=Your_Account&op=Your_Account",,,0
	,"Lost password?","modules.php?name=Your_Account&op=pass_lost",,,0
	,"Renew Membership","modules.php?name=Renewal",,,0
	,"APHA Memberships","modules.php?name=Content&pa=showpage&pid=147",,,0
	])
	
	addmenu(menu=["newsletters",
	,,140,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Main", "modules.php?name=Newsletters",,,1
	,"New", "modules.php?name=Newsletters&pa=NewLinks",,,0
	])
	
	addmenu(menu=["presentations",
	,,140,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Main", "modules.php?name=Presentations",,,1
	,"New", "modules.php?name=Presentations&pa=NewLinks",,,0
	])
	
	addmenu(menu=["publications",
	,,140,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Main", "modules.php?name=Contentpub",,,1
	,"New", "modules.php?name=Contentpub&pa=NewLinks",,,0
	])
	
	addmenu(menu=["surveys",
	,,140,1,"",style1,,"","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"View Surveys", "modules.php?name=Surveys",,,1
	])
	
	dumpmenus()
