function breadcrumbs(){
	sURL = new String;
	bits = new Object;
	var x = 0;
	var stop = 0;
	//var output = "<a href=\"/\">Home</a>  >  "; //commented to replace domain name with directory name next to domain name - mchev2
	var output = "";
	sURL = location.href;
	sURL = sURL.slice(8,sURL.length);
	chunkStart = sURL.indexOf("/");
	sURL = sURL.slice(chunkStart+1,sURL.length)
	while(!stop) {
		chunkStart = sURL.indexOf("/");
		if (chunkStart != -1) {
			bits[x] = sURL.slice(0, chunkStart)
			sURL = sURL.slice(chunkStart+1, sURL.length);
		} else {
			stop = 1;
		}
		x++;
	}
	for(var i in bits) {
		output += "<a href=\"";
		for(y = 1; y < x - i; y++) {
			output += "../";
		}
		
		//added to replace domain name with directory name next to domain name - mchev2
		if(i==0) output += bits[i] + "/\">Home</a>  >  ";
		else output += bits[i] + "/\">" + bits[i].replace(/([A-Z])/g, " $1") + "</a>  >  "; 
		///////
		
		//output += bits[i] + "/\">" + bits[i].replace(/([A-Z])/g, " $1") + "</a>  >  "; //old replaced line
	}
	
	//document.write(unescape(output + document.title));
	output += document.title.replace('- Office of Development - University of Illinois Springfield - UIS','');
	document.write("<span style='text-transform:capitalize;'>"+unescape(output)+"</span>"); //added capitalize 
	return true;
}

