//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/Sector9/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","","",-1,-1,0,"/Sectors/Sector9/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,"User Information","","",-1,-1,0,"/Sectors/Sector9/About/userinfo.html"]);	
	stm_aix("p1i2","p1i0",[0,"Contacts","","",-1,-1,0,"/Sectors/Sector9/About/contacts.shtml"]);
	stm_aix("p1i3","p1i0",[0,"Staff","","",-1,-1,0,"/Sectors/Sector9/About/staff.html"]);
	stm_aix("p1i4","p1i0",[0,"Site Map","","",-1,-1,0,"/Sectors/Sector9/About/site_map.html"]);
	
	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/Sector9/Science/Programs/","_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,"Research Programs","","",-1,-1,0,"/Sectors/Sector9/Science/Programs/"]);
	stm_aix("p1i2","p1i0",[0,"Publications","","",-1,-1,0,"/Sectors/Sector9/Science/Publications/"]);
	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/Sector9/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("p1i0","p1i0",[0,"Beamline 9-ID","","",-1,-1,0,"/Sectors/Sector9/Beamlines/9_ID"]);
	stm_aix("p1i1","p1i0",[0,"Beamline 9-BM","","",-1,-1,0,"/Sectors/Sector9/Beamlines/9_BM"]);
	stm_aix("p1i2","p1i0",[0,"Getting Beamtime","","",-1,-1,0,"/Sectors/Sector9/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/Sector9/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,"9-ID User Manual","","",-1,-1,0,"/Sectors/Sector9/Operations/9id_manual/"]);
	stm_aix("p1i1","p1i0",[0,"9-BM User Manual","","",-1,-1,0,"/Sectors/Sector9/Operations/9bm_manual/"]);
	stm_aix("p1i2","p1i0",[0,"Common Tasks","","",-1,-1,0,"/Sectors/Sector9/Operations/common_tasks.html"]);
	stm_aix("p1i3","p1i0",[0,"Computers & Software","","",-1,-1,0,"/Sectors/Sector9/Operations/computers_software.html"]);
	stm_aix("p1i4","p1i0",[0,"Troubleshooting","","",-1,-1,0,"/Sectors/Sector9/Operations/troubleshooting.html"]);
	stm_aix("p1i5","p1i0",[0,"Web Cameras","","",-1,-1,0,"/Sectors/Sector9/Operations/webcameras.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/Sector9/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,"#","_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();
}

