// Breadcrumbs Standard : 1.4 : 2001-04-25
// Copyright Mick White 2001
// http://www.mickweb.com/javascript

// new additions included
// added by david m. shannon, 5/16/2002
// grayson business computers, inc
// dba signwarehouse.com

function Bunk(word) {
if ( word == "tech" || word == "Recent_FAQs" || (word.replace("techsupport.signwarehouse.com","")).length < word.length || word == "128.121.181.92" || word == "info008" || word == "techtest" || word == "PSDwebsite" || word == "E:" || word == "C:" || word == "F:" || word == escape("tech on 10.0.0.30") || word == "HTML" || word == "davidshannon" || word == escape("Documents and Settings") || word == "Desktop") { return true } else {return false }
}

function spawn(expr,qty,reversed)
{
	var spawnee=[expr];
	for(s=1;s<qty;s++)
	{
		spawnee[s]=expr+spawnee[s-1]
	}

	if(reversed)
	{
	return spawnee.reverse()
	}
	else
	{
	return spawnee
	}
}

function mw_breadcrumbs(divider,root)
{

	if(!divider) {divider=" : "}
	var m=location.toString(),h="";
	var x="";
	var j=0;
	var temp;
	m=m.substring(m.indexOf("/")+1);
	m=m.split("/");
	var howmany=spawn("../",m.length,true);
	howmany[m.length] = "index.html"
	for(i=1;i<m.length-1;i++)
	{
		temp = m[i+1]
      	       temp = temp.replace("index.html","")

		 			if (m[i+1] != "index.html" && temp.length == m[i+1].length && m[i+1].replace("body","") == m[i+1] && m[i] != "" && !Bunk(m[i])) 
			{
			j++
			if (j<2) { x = " target=_parent"; } else { x = "" }
			if (howmany[i+2] == "index.html") { h+= "<a href=\"" + howmany[i+2] + "\"" + x + ">" }
			else { h+= "<a href=\"" + howmany[i+2] + "index.html" + "\"" + x + ">" }
			h+= "<font color=blue>"
			if (m[i] == "Q_and_A") { m[i] = "Q and A" }
			if (m[i] == "Tips_and_Tricks") { m[i] = "Tips and Tricks" }
			h+= m[i].replace("_"," ")+ "</font></a>" + divider 
			}
	}

if (document.title != "ignore") {
	h += document.title; }

	if(root) {h=h.replace(eval("/"+location.host+"/"),root)} 

	return h
}

function crumbs(target)
{
if (!target) { target = "bottom"; }
var crumbs = "<font size=2 color=black face=arial>You Are Here: <a href=\"../../../../index.html\" target=_parent><font color=blue>Home</font></a>"
if (mw_breadcrumbs("","","") != "") { crumbs+=" <font color=black>&gt;</font> " + mw_breadcrumbs(" <font color=black>&gt;</font> ", 0)}
crumbs+="</font><br>"
return crumbs
}
