	//----------------------------------------------------------
	// Name		: breadcrumb
	// Purpose	: Create Breadcrumb Trail
	//----------------------------------------------------------
	//
	function breadcrumb()
	{
		var sDelimiter = '>';
	
		var sURL = escape(location.pathname.indexOf('?') != -1) ? location.pathname.substring(0, location.pathname.indexOf('?')) : location.pathname;
		sURL = (location.pathname.charAt(0) == '/') ? location.pathname.substring(1) : location.pathname;
		var aURL = sURL.split('/');
	
		if(aURL)
		{
			var sOutput = '<a href="/" target="_top">Home</a> ';
			var sPath = '/';
		
			for(var i = 0; i < aURL.length - 1; i++)
			{
				sPath += aURL[i] + '/';						
				sOutput += ' ' + sDelimiter + ' ';
				sOutput += '<a href="' + sPath + '"';
				var vPath = '';
				var vURL = '';
				vURL = aURL[i].split('_');
				if(vURL)
				{
					for(var n= 0; n < vURL.length; n++)
					{
						vPath += vURL[n] + ' ';
					}
				}

				if (i == aURL.length - 2)
				{
	// change to prevent last breadcrumb being a link
					sOutput += ' target="_top"></a>' + vPath;
				} else {
					sOutput += ' target="_top">' + vPath + '</a>';
				}
			}								
			document.write(unescape(sOutput));
		}
	}
