<!--
	
	/********************************************
	* Set up automatic breadcrumbs
	********************************************/	

	// check for a location
	if (window.location)
	{
		var path = "";
		var url = "";
		var target = "";
		var href = window.location.href;
		
		// holds partial href
		pref = new Array();
		// holds folder names
		s = href.split("/");
		// holds full name
		fname=new Array();
		parts=new Array();
		
		var foundhome = 0
		
		for (i=2; i < (s.length - 1); i++)
		{
			pref[2] = s[2] + "\/";
			pref[i + 1] = pref[i] + s[i + 1] + "/";
		}
		i = s.length-2;
		pref[i+1] = pref[i] + s[i+1];
		for (i = 2; i < (s.length-1); i++)
		{
			fname[i] = s[i];
		
			/************************************************************************************
			* Here you can suppress display of folders' names by assigning an empty fname string,
			* or change names to be displayed.
			************************************************************************************/
			
			// rename or suppress directories
			// if there is a site folder, that will become the home link. if not, the home link will be the host
			if (SiteFolder != "")
			{
				if (s[i] == SiteFolder)
				{
					fname[i] = "Home"
					foundhome = 1
				}
				if (foundhome == 0) { fname[i] = "" }
			}
			else if (s[i] == BaseURL2) { fname[i] = "Home" }
			else if (s[i] == "other") { fname[i] = "" }
		
			// folders and directories you want to show, but not link to, should be enclosed in square brackets
			//else if (s[i]=="consulting"){fname[i]="[Consulting]"}
			
			/*************************************************************************************
			* Parse fname string and put it back together as pnoun ('proper noun')
			* You can actually give a name to a folder here, consisting of more than one word.
			* To do so, separate the words with an underline "_".
			*************************************************************************************/
			
			// look at the first character unless it's an '<'
			if (fname[i].charAt(0) !== "<")
			{
				// set 'toLowerCase' or 'toUpperCase'		
				pnoun = fname[i].charAt(0).toUpperCase();
				for (j = 1; j < (fname[i].length); j++)
				{
					// k designates the character following the "_"			
					var k = j-1;
					
					// replace "_"s with spaces
					if (fname[i].charAt(j) == "_") { pnoun += " "; }
					
					// capitalize the letter following "_"
					else if (fname[i].charAt(k) == "_") { pnoun += fname[i].charAt(j).toUpperCase(); }

					// append fname value to pnoun
					else { pnoun += fname[i].charAt(j); }
				}
				// replave fname with pnoun
				fname[i] = pnoun;
			}
		}
		
		/******************************************************************************************** 
		* This writes the breadcrumb links.
		* Notice: I'm appending "index.htm" to the link here. Change this to your file type extension.
		********************************************************************************************/
	
		for (i = 2; i <= (s.length-2); i++)
		{
			target = "index.htm";
			(fname[i] == "")?(path += ""):((fname[i].charAt(0) == "[")?(path += fname[i] + " \&raquo; "):(path += "<a class = directory href = \"" + href.substring(0,href.indexOf(pref[i]) + pref[i].length) + target + "\" >" + fname[i] + "<a> \/ "));
		}
		
		i = s.length - 1;
		fullname = s[i].substring(0,s[i].indexOf("."));
		
		/********************************************************************************************** 
		* For any files not adhering to the naming scheme, you may specify a custom display name here: 
		* You can give a name to a page here, consisting of more than one word.
		* To do so, separate the words with an underline "_".
		**********************************************************************************************/
		
		if (fullname == "") { fullname = "overview" }
		if (fullname == "index") { fullname="overview" }
		else if (fullname == "crptcnme") { fullname = "some_name" }
		else {};
		
		// hides the name of the file
		fullname = ""
		
		// first character to upper case
		pnoun = fullname.charAt(0).toUpperCase();
		for (i = 1; i < (fullname.length); i++)
		{
			// k designates the character following the "_"
			var k = i - 1;
			
			// replace "_"s with spaces
			if (fullname.charAt(i) == "_") { pnoun += " "; }
			
			// capitalize the letter following "_"
			else if (fullname.charAt(k) == "_") { pnoun+=fullname.charAt(i).toUpperCase(); }
			
			// Append each original character in fullname onto pnoun
			else { pnoun += fullname.charAt(i); }
		}
		path+=pnoun;
		
		// the following adds the protocol to the url
		// url=window.location.protocol+"//"+path;
		url = path;
	
		if (ShowCrumbs == "True")
		{
			// hide breadcrumbs on the home page
			if (href != BaseURL + "/")
			{
				// hide breadcrumbs on the home page
				if (href != BaseURL + "/index.htm")
				{
					document.write ('<table cellspacing="0" cellpadding="0" border="0" width="100%" summary="Page Content">');
					document.write ('<tr><td height="10" class="directory">');
					document.write (url);
					document.write ('</td></tr>');
					document.write ('<tr><td height="5"><img alt="" src="' + BaseURL + '/images/clea-1-a.gif" width="1" height="5"></td></tr>');
					document.write ('<\/table>');
				}
			}
		}

	}

-->