//NOTICE
//This file is deprecated as of 12/15/2007, and remains for pages that have not been updated
//to the 2008 APS template. Menus are retrofitted to match the new layout, so the function naming is
//not consistent with the contents of each menu.
//Questions: jbdowney@aps.anl.gov

//ABOUT
function APSgenerateAboutMenu(){
	stm_bm(["uueoehr",650,"/anl_templates/images/","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0,0,1,1,"default","hand",""],this);
	stm_bp("p0",[0,4,0,0,3,2,0,7,100,"",-2,"",-2,90,0,0,"#000000","#444444","",3,0,0,"#000000"]);
	stm_ai("p0i0",[0,"About","","",-1,-1,0,"/About/","_self","","","","",0,0,0,"arrow_white_down.gif","arrow_white_down.gif",7,7,0,0,1,"#444444",1,"#444444",1,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","bold 8pt 'Arial','Verdana'","bold 8pt 'Arial','Verdana'",0,0]);
	stm_bp("p1",[1,4,-3,3,2,2,6,7,100,"",-2,"",-2,67,2,3,"#999999","#FFFFFF","",3,1,1,"#ACA899"]);
	stm_aix("p1i0","p0i0",[0,"Director\'s Office","","",-1,-1,0,"/About/ALD/","_self","","","","",6,0,0,"","",0,0,0,0,1,"#FFFFFF",0,"#666666",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'"]);
	stm_aix("p1i1","p1i0",[0,"Overview","","",-1,-1,0,"/About/APS_Overview/"]);
	stm_aix("p1i2","p1i0",[0,"Visiting the APS","","",-1,-1,0,"/About/Visiting/"]);
	stm_aix("p1i3","p1i0",[0,"Mission & Goals","","",-1,-1,0,"/About/Mission_and_Goals/"]);
	stm_aix("p1i4","p1i0",[0,"Organization Charts","","",-1,-1,0,"/About/Organization/"]);
	stm_aix("p1i5","p1i0",[0,"Committees","","",-1,-1,0,"/About/Committees/"]);
	stm_aix("p1i6","p1i0",[0,"Employment","","",-1,-1,0,"/About/Employment/"]);
	stm_ep();
	stm_ep();
	stm_em();
}

//USER INFORMATION
function APSgenerateScienceMenu(){
	stm_bm(["uueoehr",650,"http://www.aps.anl.gov/anl_templates/images/","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0,0,1,1,"default","hand",""],this);
	stm_bp("p0",[0,4,0,0,3,2,0,7,100,"",-2,"",-2,90,0,0,"#000000","#444444","",3,0,0,"#000000"]);
	stm_ai("p0i0",[0,"User Information","","",-1,-1,0,"http://www.aps.anl.gov/Users/","_self","","","","",0,0,0,"arrow_white_down.gif","arrow_white_down.gif",7,7,0,0,1,"#444444",1,"#444444",1,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","bold 8pt 'Arial','Verdana'","bold 8pt 'Arial','Verdana'",0,0]);
	stm_bp("p1",[1,4,-3,3,2,2,6,7,100,"",-2,"",-2,67,2,3,"#999999","#FFFFFF","",3,1,1,"#ACA899"]);
	stm_aix("p1i0","p0i0",[0,"For Prospective Users","","",-1,-1,0,"http://www.aps.anl.gov/Users/Prospective/","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFFF",0,"#666666",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'"]);
	stm_aix("p1i1","p1i0",[0,"For New Users","","",-1,-1,0,"http://www.aps.anl.gov/Users/New/"]);
	stm_aix("p1i2","p1i0",[0,"For Current Users","","",-1,-1,0,"http://www.aps.anl.gov/Users/Current/"]);
	stm_aix("p1i3","p1i0",[0,"For Administrators","","",-1,-1,0,"http://www.aps.anl.gov/Users/Administrators/"]);
	stm_ai("p1i4",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i5","p1i0",[0,"Find a Beamline","","",-1,-1,0,"http://www.aps.anl.gov/Beamlines/"]);
	stm_aix("p1i6","p1i0",[0,"Contacts","","",-1,-1,0,"http://www.aps.anl.gov/Users/Contacts/"]);
	stm_aix("p1i7","p1i0",[0,"Calendars","","",-1,-1,0,"http://www.aps.anl.gov/Users/Calendars/"]);
	stm_aix("p1i8","p1i0",[0,"Community","","",-1,-1,0,"http://www.aps.anl.gov/Users/Communications/"]);
	stm_ai("p1i9",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i10","p1i0",[0,"Scientific Access","","",-1,-1,0,"http://www.aps.anl.gov/Users/Communications/Users/Scientific_Access/"]);
	stm_aix("p1i11","p1i0",[0,"Site Access","","",-1,-1,0,"http://www.aps.anl.gov/Users/Site_Access/"]);
	stm_aix("p1i12","p1i0",[0,"Training","","",-1,-1,0,"http://www.aps.anl.gov/Safety_and_Training/Training/"]);
	stm_ep();
	stm_ep();
	stm_em();
}


//SCIENCE AND EDUCATION
function APSgenerateMediaCenterMenu(){
	stm_bm(["uueoehr",650,"http://www.aps.anl.gov/anl_templates/images/","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0,0,1,1,"default","hand",""],this);
	stm_bp("p0",[0,4,0,0,3,2,0,7,100,"",-2,"",-2,90,0,0,"#000000","#444444","",3,0,0,"#000000"]);
	stm_ai("p0i0",[0,"Science & Education","","",-1,-1,0,"http://www.aps.anl.gov/Science/","_self","","","","",0,0,0,"http://www.aps.anl.gov/anl_templates/images/arrow_white_down.gif","http://www.aps.anl.gov/anl_templates/images/arrow_white_down.gif",7,7,0,0,1,"#444444",1,"#444444",1,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","bold 8pt 'Arial','Verdana'","bold 8pt 'Arial','Verdana'",0,0]);
	stm_bp("p1",[1,4,-3,3,2,2,6,7,100,"",-2,"",-2,67,2,3,"#999999","#FFFFFF","",3,1,1,"#ACA899"]);
	stm_aix("p1i0","p0i0",[0,"Science and Research Highlights","","",-1,-1,0,"http://www.aps.anl.gov/Science/Highlights/","_self","","","","",6,0,0,"","",0,0,0,0,1,"#FFFFFF",0,"#666666",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'"]);
	stm_aix("p1i1","p1i0",[0,"Conferences and Workshops","","",-1,-1,0,"http://www.aps.anl.gov/News/Conferences/"]);
	stm_aix("p1i2","p1i0",[0,"Seminars and Meetings","","",-1,-1,0,"http://www.aps.anl.gov/News/Seminars/"]);
	stm_ai("p1i3",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i4","p1i0",[0,"Acronym Definitions","","",-1,-1,0,"http://www.aps.anl.gov/About/Acronyms/"]);
	stm_aix("p1i5","p1i0",[0,"Publications","","",-1,-1,0,"http://www.aps.anl.gov/Science/Publications"]);
	stm_aix("p1i6","p1i0",[0,"Annual Reports","","",-1,-1,0,"http://www.aps.anl.gov/Science/Reports"]);
	stm_aix("p1i7","p1i0",[0,"Future Directions","","",-1,-1,0,"http://www.aps.anl.govhttp://www.aps.anl.gov/Science/Future"]);
	stm_ai("p1i8",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i9","p1i0",[0,"Courses and Schools","","",-1,-1,0,"http://www.aps.anl.gov/Science/Courses/"]);
	stm_aix("p1i10","p1i0",[0,"Graduate Programs","","",-1,-1,0,"http://www.aps.anl.gov/Science/Courses/graduate_programs.html"]);
	stm_aix("p1i11","p1i0",[0,"IITV on the Argonne TV Network","","",-1,-1,0,"http://www.anl.gov/IITV"]);
	stm_ep();
	stm_ep();
	stm_em();
}

//MEDIA CENTER
function APSgenerateUserInformationMenu(){
	stm_bm(["uueoehr",650,"http://www.aps.anl.gov/anl_templates/images/","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0,0,1,1,"default","hand",""],this);
	stm_bp("p0",[0,4,0,0,3,2,0,7,100,"",-2,"",-2,90,0,0,"#000000","#444444","",3,0,0,"#000000"]);
	stm_ai("p0i0",[0,"Media Center","","",-1,-1,0,"http://www.aps.anl.gov/News/","_self","","","","",0,0,0,"arrow_white_down.gif","arrow_white_down.gif",7,7,0,0,1,"#444444",1,"#444444",1,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","bold 8pt 'Arial','Verdana'","bold 8pt 'Arial','Verdana'",0,0]);
	stm_bp("p1",[1,4,-3,3,2,2,6,0,100,"",-2,"",-2,67,2,3,"#999999","#FFFFFF","",3,1,1,"#ACA899"]);
	stm_aix("p1i0","p0i0",[0,"Calendar of Events","","",-1,-1,0,"http://www.aps.anl.gov/News/APS_Today/","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFFF",0,"#666666",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'"]);
	stm_aix("p1i1","p1i0",[0,"APS News","","",-1,-1,0,"http://www.aps.anl.gov/News/APS_News/"]);
	stm_aix("p1i2","p1i0",[0,"User News","","",-1,-1,0,"http://www.aps.anl.gov/Users/Communications/User_News/"]);
	stm_aix("p1i3","p1i0",[0,"News Archives","","",-1,-1,0,"http://www.aps.anl.gov/News/Archives/"]);
	stm_ai("p1i4",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i5","p1i0",[0,"The APS and You","","",-1,-1,0,"http://www.aps.anl.gov/Science/APS_and_You"]);
	stm_aix("p1i6","p1i0",[0,"Annual Reports","","",-1,-1,0,"http://www.aps.anl.gov/Science/Reports"]);
	stm_ai("p1i7",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i8","p1i0",[0,"APS Podcasts","","",-1,-1,0,"http://www.aps.anl.gov/News/APS_Podcasts/"]);
	stm_aix("p1i9","p1i0",[0,"Image Bank (lightsources.org)","","",-1,-1,0,"/http://www.lightsources.org/imagebank/search_public.php?offset=0&amp;keywords=&amp;lab=APS&amp;limit=5"]);
	stm_aix("p1i10","p1i0",[0,"Video Library","","",-1,-1,0,"http://www.aps.anl.gov/video/"]);
	stm_aix("p1i11","p1i0",[0,"Syndicated Feeds (RSS)","","",-1,-1,0,"http://www.aps.anl.gov/Media_Center/rss/"]);
	stm_ep();
	stm_ep();
	stm_em();
}

//BEAMLINES
function APSgenerateEducationMenu(){
//some contents on filesystem are still in /Facility
	stm_bm(["uueoehr",650,"/anl_templates/images/","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0,0,1,1,"default","hand",""],this);
	stm_bp("p0",[0,4,0,0,3,2,0,7,100,"",-2,"",-2,90,0,0,"#000000","#444444","",3,0,0,"#000000"]);
	stm_ai("p0i0",[0,"Beamlines","","",-1,-1,0,"/Facility/","_self","","","","",0,0,0,"arrow_white_down.gif","arrow_white_down.gif",7,7,0,0,1,"#444444",1,"#444444",1,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","bold 8pt 'Arial','Verdana'","bold 8pt 'Arial','Verdana'",0,0]);
	stm_bp("p1",[1,4,-3,3,2,2,6,0,100,"",-2,"",-2,67,2,3,"#999999","#FFFFFF","",3,1,1,"#ACA899"]);
	stm_aix("p1i0","p0i0",[0,"Beamline Maps","","",-1,-1,0,"/Beamlines/","_self","","","","",6,0,0,"","",0,0,0,0,1,"#FFFFFF",0,"#666666",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'"]);
	stm_aix("p1i1","p1i0",[0,"Beamline Directory","","",-1,-1,0,"http://beam.aps.anl.gov/pls/apsweb/beamline_display_pkg.beamline_dir"]);
	stm_aix("p1i2","p1i0",[0,"Research Techniques","","",-1,-1,0,"http://beam.aps.anl.gov/pls/apsweb/beamline_display_pkg.technique_dir","_self","","","","",0]);
	stm_ai("p1i3",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i4","p0i0",[0,"Status and Schedule","","",-1,-1,0,"/Facility/Status","_self","","","","",6,0,0,"","",0,0,0,0,1,"#FFFFFF",0,"#666666",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'"]);
	stm_aix("p1i5","p1i0",[0,"Safety & Training","","",-1,-1,0,"/Safety_and_Training/","_self","","","","",0]);
	stm_ai("p1i6",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i7","p1i0",[0,"Data Review","","",-1,-1,0,"/Accelerator_Systems_Division/Operations_Analysis/logging/MonitorDataReview.html"]);
	stm_aix("p1i8","p1i0",[0,"Fill History","","",-1,-1,0,"/Accelerator_Systems_Division/Operations_Analysis/FillHistory.html"]);
	stm_aix("p1i9","p1i0",[0,"Main Control Room Status","","",-1,-1,0,"/asd/operations/gifplots/MCRstatus.html"]);
	stm_aix("p1i10","p1i0",[0,"Storage Ring Parameters","","",-1,-1,0,"/Facility/Storage_Ring_Parameters/"]);
	stm_ep();
	stm_ep();
	stm_em();
}



function APSgenerateFacilityMenu(){
//now divisions menu
	stm_bm(["uueoehr",650,"/anl_templates/images/","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0,0,1,1,"default","hand",""],this);
	stm_bp("p0",[0,4,0,0,3,2,0,7,100,"",-2,"",-2,90,0,0,"#000000","#444444","",3,0,0,"#000000"]);
	stm_ai("p0i0",[0,"Divisions","","",-1,-1,0,"/Divisions/","_self","","","","",0,0,0,"arrow_white_down.gif","arrow_white_down.gif",7,7,0,0,1,"#444444",1,"#444444",1,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#FFFFFF","bold 8pt 'Arial','Verdana'","bold 8pt 'Arial','Verdana'",0,0]);
	stm_bp("p1",[1,4,-3,3,2,2,6,0,100,"",-2,"",-2,67,2,3,"#999999","#FFFFFF","",3,1,1,"#ACA899"]);
	stm_aix("p1i0","p0i0",[0,"APS Engineering Support Division","","",-1,-1,0,"/APS_Engineering_Support_Division","_self","","","","",6,0,0,"","",0,0,0,0,1,"#FFFFFF",0,"#666666",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'"]);
	stm_aix("p1i1","p1i0",[0,"AES Groups","","",-1,-1,0,"/APS_Engineering_Support_Division/groups.html"]);
	stm_ai("p1i2",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i3","p1i0",[0,"Accelerator Systems Division","","",-1,-1,0,"/Accelerator_Systems_Division"]);
	stm_aix("p1i4","p1i0",[0,"ASD Groups","","",-1,-1,0,"/Accelerator_Systems_Division/groups.htm"]);
	stm_ai("p1i5",[6,1,"#000000","",-1,-1,0]);
	stm_aix("p1i6","p1i0",[0,"X-ray Science Division","","",-1,-1,0,"/Xray_Science_Division"]);
	stm_aix("p1i7","p1i0",[0,"ASD Groups","","",-1,-1,0,"/Xray_Science_Division/groups.php"]);
	stm_ep();
	stm_ep();
	stm_em();
}

