/*******************************************
 * Kaosweaver Expert Breadcrumbs           *
 * by Paul Davis http://www.kaosweaver.com * 
 * Copyright 2003 all rights reserved      *
 *******************************************/
var KW_uTitle=document.title
function KW_breadcrumbs(o,m,n,r,f,q,v) { // v1.3.0
	d=document;l=window.location.toString();s=l.split("/");d1=" <span class='kwspan'>"+m+"</span> "
	if (f!=-1) if (l.indexOf(f)!=-1){sNew = new Array(); for (i=0;i<s.length-1;i++) {sNew[i] = s[i]};
	s = sNew;};i=q;	h="<a href='"+KW_jTrail(l,i)+f+"' class='kwhref'>"+o+"</a>";
	t="<span class='kwtitle'>"+KW_uTitle+"</span>";if (s.length==q) {h=t;d1=""}	w=(r==1)?h+d1:t;
	d.write(w);if (n&&!r) d.write("<br>");if (r==1) for (i=v;i<s.length;i++) {d.write("<a href='");
	d.write(KW_jTrail(l,i)+f+"' class='kwhref'>"+KW_fName(s[i-1])+"</a> <span class='kwspan'>"+m+"</span> ")
	l=window.location.toString();} else for (i=s.length;i>v;i--) {d.write(" <span class='kwspan'>"+m)
	d.write("</span> <a href='"+KW_jTrail(l,i-1)+f+"' class='kwhref'>"+KW_fName(s[i-2])+"</a>");
	l=window.location.toString();}if (n && r) d.write("<br>");w=(r==1)?t:d1+h;if (s.length!=q) d.write(w)
}
function KW_jTrail(l,i){ // v1.3.0
	p=0;for (z=0;z<i;z++)p=l.indexOf("/",p)+1;return l.substring(0,p)
}
function KW_fName(a) { // v1.3.0
	a=unescape(a); g=a.split(' '); for (l=0;l<g.length;l++)	
	g[l]=g[l].toUpperCase().slice(0,1)+g[l].slice(1);retVal=g.join(" "); 
	nList= new Array(
"9000"	 ,"Superintendent"					,
"9003"   , "Human Resources"				,
"9004"   , "School Police"				,
"9007"	 , "Risk & Benefits Management"	,
"9008"	 , "Diversity In Business Practices"	,
"9010"   , "Safety & Learning Environment"	,
"9010pc" , "Prevention Center"			,
"9011"	 , "9011",
"9012"   , "Afterschool Programming"		,
"9013"	 , "COO",
"9014"	 , "Palm Beach Virtual School"	,
"9016"	 , "Office of Academics",
"9018"	 , "Student Intervention Services",
"9019"   , "Labor Relations"				,
"9022"	 , "Community Involvement"		,
"9025"	 , "Financial Management",					 
"9026"	 , "FTE & Student Reporting"		,
"9031"	 , "Federal and State Programs"	,
"9032"   , "ESE"							,
"9033"	 , "Early Childhood Education"	,
"9036"   , "Instructional Materials"		,
"9037"	 , "The Education Network"		,
"9039"	 , "Community Education"			,
"9042"   , "Innovative Education"   ,
"9043"	 , "Support Operations"		,
"9044"	 , "Choice Programs"				,
"9044ce" , "Career Education"				,
"9044he" , "Home Education"				,
"9045"   , "Performance Accountability ",					 
"9048"	 , "Curriculum",
"9049"   , "Records Management",
"9051"	 , "K-12 Curriculum"	,
"9052"   , "Administration"					,
"9053"	 , "Assessment"					,
"9054"   , "Research & Evaluation"		,
"9055"   , "EDW"							,
"9056"	 , "Secondary Curriculum"			,
"9058"   , "School Improvement"			,
"9072"   , "Quality Assurance",					 
"9071"	 , "Education Foundation",
"9080"   , "Public Affairs"				,
"9081"	 , "Printing Services"			,
"9083"	 , "Multicultural Education"		,
"9084"   , "Grants and Reform",					 
"9090"	 , "Budget Services"				,
"9095"   , "ECO"							,
"9100"	 , "Accounting Services"			,
"9104"	 , "Audit"						,
"9150"	 , "School Food Service"			,
"9220"   , "Purchasing"					,
"9228"   , "Educational Technology"		,
"9229"	 , "Records Management"			,
"9230"	 , "Information Technology"		,					 
"9231"   , "Technical Operations"			,
"9232"   , "IT Governance"				,
"9234"   , "PMO"							,
"9236"	 , "Treasury"						,
"9241"	 , "Building Department"			,
"9242"   , "Planning and Real Estate Services",
"9243"	 , "Real Estate Services"			,
"9244"	 , "Project Controls"				,
"9245"	 , "Program Management"			,
"9263"	 , "Employee Relations"			,
"9264"	 , "Professional Development"		,
"9265"	 , "Professional Growth"			,
"9266"   , "HR Customer Relations"      	,
"9267"	 , "Recruitment & Retention"    	,
"9268"   , "Compensation"               	,
"9304"	 , "Alternative Education"	  	,
"9320"   , "Transportation"             	,
"9333"   , "Charter Schools"            	,
"9450"	 , "Facilities Services"			,
"9720"	 , "Legal Services"				,
"chiefcounsel"	 , "Chief Counsel"				,

"edw"			     , "EDW",
"coa"				 , "Administration",
"it"	   		     , "Information Technology"		,
"innovativeeducation" , "Innovative Education",
"Service_Catalog"	 , "Service Catalog"	 ,
"Learning_Tools"	 , "Learning Tools"	 ,
"pao"     		     , "PAO"	,
"printingservices" 	 , "Printing Services",
"mwbe" 			     , "MWBE",
"ten"                , "T.E.N.",
"realestate"		 , "Real Estate",
"social_studies"	 , "Social Studies",  
"creditlab"		     , "Credit Lab",
"facman"             , "Support Operations",
"planning"           , "Planning and Real Estate Services",
"professionalgrowth" , "Professional Growth",
"supportoperations"  , "Support Operations",
"ZZZ"			     , "ZZZ"				
					 )
					 
	for (var x=0;x<nList.length;x=x+2) 	if (a==nList[x]) {retVal=nList[x+1];break;}	
	return retVal;
}
