/*******************************************
 * 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("/");i=q;d1=" <span class='kwspan'>"+m+"</span> "
	if (f!=-1) if (l.indexOf(f)!=-1) s.pop();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("aboutthecollege","About the College","contact","Contact","dartingtonlinks","Dartington Links","factsandfigures","Facts and Figures","films","Films","artsandculturalmanagement","Arts & Cultural Management","choreography","Choreography","fineart","Art","music","Music","theatre","Theatre","writing","Writing","maps","Partners","sourcesofinformation","Sources of Information","artsandculturalmanagement","Arts & Cultural Management","boardofgovernorsresolution","Board of Governors' Resolution","choreography","Choreography","christopherpressler","Christopher Pressler","archivesandlibraries","Archives and Libraries","career","Career","contact","Contact","differenceengine","Difference Engine","performance","Performance","repertoire","Repertoire","instruments","Instruments","ensembles","Ensembles","musicresearch","Music Research","senseofplace","Sense of Place","textualpractices","Textual Practices","webarchive","Web Archive","collegeadministration","College Administration","freedomofinformation","Freedom of Information","roi","Register of Interest","conferences","Conferences","dart","DART Europe","boardofgovernorsresolution","Board of Governors' Resolution","collegeadministration","College Administration","contact","Contact","enterprise","Creative Enterprise","festival07","Festival 07","films","Films","choreography","Choreography","music","Music","theatre","Theatre","writing","Writing","joining","Joining","drha06","DRHA 2006","library","Library","pdp4life","PDP4Life","rsf","Research Strategy Forum","maps","Partners","music","Music","openday","Open Days","selectionday","Selection Days","research","Research","stream","stream","drha06","DRHA 2006","drha07","DRHA 2007","enterprise","Creative Enterprise","contact","Contact","newsandevents","News & Events","cpd","CPD","innovation","Innovation Projects","enquiry","Surgeries","festival06","Festival 06","festival07","Festival 07","contact","Contact","fineart","Art","futureplans","Future Plans","graduatesassociation","Graduates Association","honorarydegrees","Honorary Degrees","intouch","In Touch","websites","Websites","guide","Guide","goodpractice","Good Practice","conferences","Conferences","enterprise","Creative Enterprise","films","Films","graduatesassociation","Graduates Association","library","Library","maps","Partners","naln","NALN","festival06","Festival 06","openday","Open Days","soundart","soundart radio","outhere06","Outhere 06","differenceengine","Difference Engine","performance","Performance","choreography","Choreography","research","Research","stream","stream","aboutthecollege","About the College","films","Films","artsandculturalmanagement","Arts & Cultural Management","business","Business","choreography","Choreography","collegeadministration","College Administration","conferences","Conferences","drha07","DRHA 2007","fineart","Art","graduatesassociation","Graduates Association","guide","Guide","drha07","DRHA 2007","library","Library","pdp4life","PDP4Life","rsf","Research Strategy Forum","music","Music","naln","NALN","openday","Open Days","outhere06","Outhere 06","research","Research","showcase","Showcase","soundart","soundart radio","stream","stream","theatre","Theatre","writing","Writing","macapd","MACAPD","writing","Writing","informationandlearningservices","Information & Learning Services","library","Library","dancevideocollection","Dance Video Collection","abstractsandindexes","Resources","choreography","Choreography","music","Music","theatre","Theatre","writing","Writing","skills","Information Skills","soundandvision","Sound & Vision","informationforstudents","Information for Students","joining","Joining","studying","Studying","finance","Supporting","maps","Partners","library","Library","macapd","MACAPD","maps","Partners","music","Music","naln","NALN","openday","Open Days","futureplans","Future Plans","selectionday","Selection Days","outhere06","Outhere 06","research","Research","completedprojects","Completed Projects","currentprojects","Current Projects","rsf","Research Strategy Forum","showcase","Showcase","soundart","soundart radio","stream","stream","theatre","Theatre","writing","Writing","macapd","MACAPD","contact","Contact")
	for (var x=0;x<nList.length;x=x+2) 	if (a==nList[x]) {retVal=nList[x+1];break;}	
	return retVal;
}