//Overwrite breadcrumbs function
//removed "" from function call
//to allow for non-.html index pages
function anlBreadCrumbs(baseURL){
	breadCrumbs(baseURL,">","",null,null,null,"0");
}


function generateAboutMenu(){
	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,"/Sectors/Sector7/About","_self","","","","",0,0,0,"/anl_templates/images/arrow_white_down.gif","/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,0,100,"",-2,"",-2,67,2,3,"#999999","#FFFFFF","",3,1,1,"#ACA899"]);
	stm_aix("p1i0","p0i0",[0,"Overview and History","","",-1,-1,0,"/Sectors/Sector7/About","_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,"Contacts","","",-1,-1,0,"/Sectors/Sector7/About/contacts.shtml"]);
	stm_aix("p1i2","p1i0",[0,"User Information","","",-1,-1,0,"/Sectors/Sector7/About/userinfo.html"]);	
	stm_aix("p1i3","p1i0",[0,"Site Map","","",-1,-1,0,"#"]);
	stm_ep();
	stm_ep();
	stm_em();
}

function generateScienceAndResearchMenu(){
	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,"Science and Research","","",-1,-1,0,"/Sectors/Sector7/Science/News","_self","","","","",0,0,0,"/anl_templates/images/arrow_white_down.gif","/anl_templates/images/arrow_white_down.gif",7,7,0,0,1,"#333333",1,"#333333",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("p1i1","p1i0",[0,"What's New","","",-1,-1,0,"/Sectors/Sector7/Science/News/"]);
	stm_aix("p1i2","p1i0",[0,"Research Programs","","",-1,-1,0,"/Sectors/Sector7/Science/Programs/"]);
	stm_aix("p1i3","p1i0",[0,"Advisory Committee","","",-1,-1,0,"/Sectors/Sector7/Science/AdvisoryCommittee/"]);
	stm_aix("p1i4","p1i0",[0,"Publications","","",-1,-1,0,"/Sectors/Sector7/Science/Publications/"]);
	stm_aix("p1i5","p1i0",[0,"Ultrafast SIG","","",-1,-1,0,"/Users/Scientific_Interest_Groups/Ultrafast"]);
	stm_aix("p1i6","p1i0",[0,"APS Science and Research Highlights","","",-1,-1,0,"/Science"]);
	stm_ep();
	stm_ep();
	stm_em();
}

function generateBeamlinesMenu(){
	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,"/Sectors/Sector7/Beamlines","_self","","","","",0,0,0,"/anl_templates/images/arrow_white_down.gif","/anl_templates/images/arrow_white_down.gif",7,7,0,0,1,"#333333",1,"#333333",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("p1i1","p1i0",[0,"Sector 7 Floor Plan","","",-1,-1,0,"/Sectors/Sector7/Beamlines/floorplan.html"]);
	stm_aix("p1i3","p1i0",[0,"Beamline 7-BM","","",-1,-1,0,"/Sectors/Sector7/Beamlines/"]);
	stm_aix("p1i4","p1i0",[0,"Beamline 7-ID","","",-1,-1,0,"#"]);
	stm_aix("p1i5","p1i0",[0,"7ID-A Hutch","","",-1,-1,0,"/Sectors/Sector7/Beamlines/7ida"]);
	stm_aix("p1i6","p1i0",[0,"7ID-B Hutch","","",-1,-1,0,"/Sectors/Sector7/Beamlines/7idb"]);
	stm_aix("p1i7","p1i0",[0,"7ID-C Hutch","","",-1,-1,0,"/Sectors/Sector7/Beamlines/7idc"]);
	stm_aix("p1i8","p1i0",[0,"7ID-D Hutch","","",-1,-1,0,"/Sectors/Sector7/Beamlines/7idd"]);
	stm_aix("p1i9","p1i0",[0,"7ID-E Hutch","","",-1,-1,0,"/Sectors/Sector7/Beamlines/7ide"]);
	stm_aix("p1i10","p1i0",[0,"7ID MiniHutch","","",-1,-1,0,"/Sectors/Sector7/Beamlines/7minihutch"]);
	stm_aix("p1i11","p1i0",[0,"Getting Beamtime","","",-1,-1,0,"/Sectors/Sector7/About/userinfo.html"]);	
	stm_ep();
	stm_ep();
	stm_em();
}

function generateOperationsMenu(){
	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,"Operations & Schedule","","",-1,-1,0,"/Sectors/Sector7/Operations","_self","","","","",0,0,0,"/anl_templates/images/arrow_white_down.gif","/anl_templates/images/arrow_white_down.gif",7,7,0,0,1,"#333333",1,"#333333",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","p1i0",[0,"7ID Operations Data","","",-1,-1,0,"/Sectors/Sector7/Operations"]);
	stm_aix("p1i1","p1i0",[0,"7ID Schedules","","",-1,-1,0,"/Sectors/Sector7/Operations"]);
	stm_aix("p1i2","p1i0",[0,"7BM Schedules","","",-1,-1,0,"/Sectors/Sector7/7BM-Operations/"]);
	stm_aix("p1i3","p1i0",[0,"APS Links","","",-1,-1,0,"/Sectors/Sector7/Operations/aps_links.html"]);
	stm_ep();
	stm_ep();
	stm_em();
}

function generateSafetyMenu(){
	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,"Safety","","",-1,-1,0,"/Sectors/Sector7/Safety","_self","","","","",0,0,0,"/anl_templates/images/arrow_white_down.gif","/anl_templates/images/arrow_white_down.gif",7,7,0,0,1,"#333333",1,"#333333",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_ep();
	stm_ep();
	stm_em();
}


function generateIntranetMenu(){
	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,"Intranet","","",-1,-1,0,"/Sectors/Sector7/Internal","_self","","","","",0,0,0,"/anl_templates/images/arrow_white_down.gif","/anl_templates/images/arrow_white_down.gif",7,7,0,0,1,"#333333",1,"#333333",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","p1i0",[0,"Electronic Logs","","",-1,-1,0,"http://sector7.xor.aps.anl.gov/elog/"]);
	stm_aix("p1i1","p1i0",[0,"Calendar","","",-1,-1,0,"http://cal.aps.anl.gov/command.shtml?view=weekview&calid=Sector7&tzid=America/Chicago&security=1"]);
	stm_aix("p1i2","p1i0",[0,"Links","","",-1,-1,0,"/Sectors/Sector7/Internal"]);
	stm_ep();
	stm_ep();
	stm_em();
}

