function Nest(x)
{
	var x=x-3;
	var sNesting="";
	for (i=0; i<x; i++ )
	{
		sNesting=sNesting + "../";
	}
		return sNesting;
	}

function breadcrumbs()
{
	var sDir = new Array();
	var sURL = window.location.toString();
	sDir=sURL.split("/");
	var sOutput="";
	for (y=2;y<(sDir.length-1) ;y++ )
	{
		sOutput=sOutput + " :: <a href='" + Nest((sDir.length-y)+1) + "index.html'>" + sDir[y] + "</a>";
	}
		document.write(sOutput);
	}