<!--function CreateTrail() { 	//Paula Speller, Neil Martin, David Gillies. Jack Levy 2002,2003	var i;	url=location.toString(); //Turns URL into a string	subdirs=url.substr(3+url.indexOf("uk")).split("/"); //Removes extraneous characters from URL - the number of characters equals the http://                                    // the domain name and the end slash e.g. http://www.ucl.ac.uk/ = 21 characters	divider=(" &#8250;&#8250; "); //Defines divider	var number=subdirs.length;	document.write('<a href="'+RelURL(subdirs.length-1)+'">UCL Home</a>'); //Automatically writes UCL home page into breadcrumb	if (number==2) 	{		document.write(divider+Dirname(unescape(subdirs[0]))); //If  number of directories is 2 inserts divider plus runs function Dirname below	}	if (number!=2) //If number is other than 2 makes second directory a link and subsequent directories if required	{		document.write(divider+'<a href="'+RelURL(subdirs.length-2)+'">'+Dirname(unescape(subdirs[0]))+'</a>');		for (i=1;i<(subdirs.length-2);i++) 		{ 			subdirs[i]=Dirname(unescape(subdirs[i]));			if (subdirs[i].substr(0,1)!=1) 				document.write(divider+'<a href="'+RelURL(subdirs.length-i-2)+'">'+subdirs[i]+'</a>');		}	}	if (i>0)	{		subdirs[i]=Dirname(unescape(subdirs[i]));		document.write(divider+subdirs[i]);	}}function RelURL(x) { 	//makes link relative	var address="";	if (x>0) 		for (z=0;z<x;z++) 			address=address+"../"; 		return address;}function Dirname(name) { 	//writes directory name	// Check for local override	if (typeof namechange != "undefined" && typeof namechange[name] != "undefined") 	{        Newname = namechange[name];		return Newname;	}		//switch folder name	switch(name) 	{		//toplevel		case "about-ucl": Newname="About UCL"; break;		case "administration": Newname="Administration, Services & Facilities"; break;		case "ah": Newname="A & H";	break;		case "alumni-relations": Newname="Alumni Home";	break;    		case "a-z": Newname="A to Z"; break;		case "businesses": Newname="Information for Businesses"; break;		case "current-students": Newname="Information for Current Students"; break;		case "departments": Newname="Information about Departments"; break;		case "former-students": Newname="Information for Former Students"; break;		case "friends": Newname="Information for Friends & Benefactors"; break;		case "intranet": Newname="Intranet"; break;   		case "healthandsociety": Newname="Health and Society"; break;  		case "local-community": Newname="Information about UCL & the Local Community"; break;		case "media": Newname="Information for the Media"; break;		case "newlook": Newname="UCL Online developments"; break;		case "president": Newname="President and Provost"; break;		case "programmes": Newname="Information about Programmes of Study"; break;		case "proposedmerger": Newname="Proposed Merger"; break;		case "prospective-students": Newname="Information for Prospective Students"; break;		case "provost": Newname="President and Provost"; break;		case "research": Newname="Information about Research"; break;		case "staff": Newname="Information for Staff"; break;		case "virology-bloomsbury": Newname="Centre of Virology"; break;		case "WebForum": Newname="WebForum"; break;  		//other levels		case "2002-03": Newname="2002-2003"; break;		case "2003-04": Newname="2003-2004"; break;  		case "2004-05": Newname="2004-2005"; break;  		case "2005-06": Newname="2005-2006"; break;  		case "2006-07": Newname="2006-2007"; break;  		case "2007-08": Newname="2007-2008"; break;		case "admin": Newname="List of Administration, Services and Divisions"; break;		case "academic-departments": Newname="List of Academic Departments by Faculty"; break;		case "admission": Newname="How to Apply"; break;		case "affiliated-organisations": Newname="List of UCL Affiliated Organisations"; break;		case "as-staff": Newname="Staff"; break;		case "aspa": Newname="Administrative Secretary Post"; break;  		case "bentham": Newname="Jeremy Bentham"; break;		case "camden": Newname="UCL and Camden"; break;		case "cert": Newname="CERT Contacts"; break;		case "chairs": Newname="Chairs & Readerships"; break;		case "chair-readership-apps": Newname="Chair/Readership Appointments"; break;		case "cis": Newname="CIS"; break;		case "cishe": Newname="CISHE"; break;		case "classes-information": Newname="Classes of Information"; break;		case "code": Newname="Code of Practice"; break;		case "commercial": Newname="List of Commercial Organisations"; break;		case "consultation-response": Newname="UCL Responses to three Major Consultations"; break;  		case "contact-details": Newname="Departmental Contact Details"; break;		case "contacts": Newname="Contact Us"; break;		case "corporate-statement": Newname="Corporate Planning Statement"; break;		case "courses": Newname="Course Booklets"; break;		case "data-protection": Newname="Data Protection Policy"; break;		case "degree-awarding-powers": Newname="Degree Awarding Powers/Institutional Audit"; break;		case "department-location": Newname="Location Map of Departments"; break;		case "directory": Newname="Staff Phone & Email Directory"; break;		case "disabled-students": Newname="Students with Disabilities"; break;		case "email-access": Newname="Accessing your UCL e-mail"; break;  		case "europe": Newname="UCL and Europe"; break;		case "facilities-services": Newname="Facilities and Services"; break;		case "facts": Newname="Intereresting Facts"; break;		case "faqs": Newname="Frequently Asked Questons"; break;		case "Filmstudies": Newname="Film Studies"; break;  		case "financial-hardship": Newname="Financial Hardship"; break;		case "foi": Newname="Freedom of Information Act"; break;		case "for-ucl": Newname="For UCL"; break;		case "freedom": Newname="Freedom of Information"; break;		case "from-ucl": Newname="From UCL"; break;		case "gap-year": Newname="Taking a Gap Year"; break;		case "governance-management": Newname="Governance and Management"; break;		case "graduate-tutors": Newname="Faculty Graduate Tutors"; break;		case "greenpaper": Newname="Green Paper"; break;		case "health": Newname="List of Health and Safety Related Services"; break;		case "health-safety": Newname="Health and Safety"; break;		case "he-fairs": Newname="Higher Education Fairs"; break;		case "helping-students": Newname="Helping Current Students"; break;		case "history": Newname="History of UCL"; break;		case "iccse": Newname="ICCSE"; break;		case "ics": Newname="ICS"; break;		case "in-touch": Newname="Keeping In Touch"; break;		case "international-students": Newname="International Information"; break;		case "introducing-ucl": Newname="Introduction to UCL"; break;		case "joining-ucl": Newname="Joining UCL"; break;		case "latest": Newname="Item"; break;		case "landt": Newname="Learning & Teaching Strategy"; break;		case "location": Newname="Location of UCL"; break;		case "london": Newname="UCL and London"; break;		case "london-life": Newname="Living & Studying in London"; break;		case "making-applications": Newname="How to Apply"; break;		case "media-relations": Newname="Media Relations Office"; break;		case "mis": Newname="MIS"; break;		case "newsletter": Newname="UCL Newsletter"; break;		case "news-events": Newname="News & Events"; break;		case "news-items": Newname="Item"; break;		case "non-discrim-lang": Newname="Guide to Non-Discriminatory Language"; break;		case "nursery": Newname="Nursery Informatio and Regulations"; break;		case "open-events": Newname="Events Open to the Public"; break;		case "priv": Newname="Privacy"; break;		case "public-transport": Newname="Reaching UCL by Public Transport"; break;		case "publications": Newname="Publications"; break;		case "rae": Newname="Research Assessment Exercise"; break;		case "rae-2001": Newname="RAE 2001"; break;		case "rae-newsletter": Newname="Newsletter"; break;		case "rae-qaa": Newname="Departmental RAE & QAA Ratings"; break;		case "requests": Newname="Request Information"; break;		case "research-development": Newname="Research and Development"; break;		case "reviewing-updating": Newname="Reviewing and Updating"; break;		case "schedule-meetings": Newname="Schedule of Committee Meetings"; break;		case "selection": Newname="Selection Procedure"; break;		case "spanish-latinamerican": Newname="Spanish and Latin American Studies"; break;		case "speeches": Newname="Speeches and Publications"; break;  		case "sports": Newname="Sports & Social Actvities"; break;		case "ssi-gen": Newname="Server Side Includes for General Use"; break;		case "staff-focused": Newname="List of Staff Focused Services"; break;		case "strategy-documentation": Newname="Strategies and Related Documents"; break;		case "student-admin": Newname="Student Administration and Services"; break;		case "student-focused": Newname="List of Student Focused Services"; break;		case "study-abroad": Newname="Study Abroad Opportunities"; break;		case "support": Newname="Support & Advice"; break;		case "support-welfare": Newname="Support and Welfare"; break;		case "supporting-ucl": Newname="Supporting UCL Financially"; break;		case "teaching-learning": Newname="Teaching and Learning"; break		case "topic-areas": Newname="Research by Topic Areas"; break;		case "UCL-at-a-glance": Newname="UCL at a Glance"; break;		case "ucl-biomedica": Newname="UCL BioMedica"; break;		case "ucl-bloomsbury": Newname="UCL Bloomsbury"; break;		case "ucl-communications": Newname="UCL Communications"; break;		case "ucl-consultants": Newname="UCL Consultants"; break;		case "ucl-consultants": Newname="UCL Consultants"; break;		case "ucl-experts": Newname="Find an Expert"; break;		case "ucl-futures-guidance": Newname="UCL Futures Guidance"; break;		case "ucl-governance": Newname="UCL Governance"; break;		case "ucl-press": Newname="UCL Press"; break;		case "ucl-policy": Newname="UCL Policy"; break;		case "ucl-profile": Newname="UCL Profile"; break;		case "uol": Newname="UCL & The University of London"; break;		case "uol-and-europe": Newname="UCL and Europe"; break;		case "ucl-strategies": Newname="UCL Strategies"; break;		case "vice-provosts": Newname="Provost's Senior Management Team"; break;		case "vsu": Newname="Voluntary Services Unit"; break;		case "welfare": Newname="Welfare & Support"; break;		case "wp-statement": Newname="Widening Participation Initial Statement"; break;		case "why-give": Newname="Why Give to UCL?"; break;		case "why-UCL": Newname="Why UCL?";  		default: // default if nothing to switch			proper=name.split('-'); //splits file name and removes hyphen			Newname=proper.join(" "); //joins them back together			Newname=toUpper(Newname); //references upper case function below			break;		}	return Newname;}function toUpper(word) {    var pattern =/(\w)(\w*)/;    var a = word.split(/\s+/g); // split the sentence into an array of words    for (i = 0 ; i < a.length ; i ++ )     {        var parts = a[i].match(pattern);        var firstLetter = parts[1].toUpperCase();        var restOfWord = parts[2].toLowerCase();        a[i] = firstLetter + restOfWord; // re-assign it back to the array and move on    }    word = a.join(' ');	    return word; // joins it back together}//-->