//* Build breadcrumb path on page for navigation
//* Copyright 2004, Copperfield Publishing; http://www.copperfieldpub.com

function Crumb(Path, Name, Url) {
	this.Path	= Path; 
	this.Name	= Name;
	this.Url	= Url;
}

BagOCrumbs = new Array();

// add new directories here.  the format:

// Path: the name of the directory folder the file is n
// Name: the text you want to display onscreen
// Url:  the URL to the parent page for this directory or book


BagOCrumbs[0] = new Crumb("administration", "Administration", "http://d67602.a46.highendhost.com/administration/index.htm");
BagOCrumbs[1] = new Crumb("operations", "Operations", "http://d67602.a46.highendhost.com/operations/index.htm");
BagOCrumbs[2] = new Crumb("prevention", "Prevention", "http://d67602.a46.highendhost.com/prevention/index.htm");
BagOCrumbs[3] = new Crumb("links", "Links", "http://d67602.a46.highendhost.com/links/index.htm");
BagOCrumbs[4] = new Crumb("community", "Community", "http://d67602.a46.highendhost.com/community/index.htm");
// ... we build the path and display it

var i, x;
strConcat = " > ";
strUrl = document.location.href;
strList = "<a href='/'>Home</a>";
strDebug = "";
aryDirs = strUrl.split("/");
for (x=0; x < aryDirs.length; x++) {
	
	for(i = 0; i < BagOCrumbs.length; i++) {
	
		if (BagOCrumbs[i].Path.toLowerCase() == aryDirs[x].toLowerCase()) {
	
                      strList += strConcat + "<a href='" + BagOCrumbs[i].Url + "'>" + BagOCrumbs[i].Name + "</a>";
			i = BagOCrumbs.length;
		}

	}

}
strList += " > " + document.title; 
document.write(strList);



