function GetPath()
{
	var href 			= window.location.pathname;
  var path			= href.split("/");
//var path			= href.slice(root.length).split("\\");
	var hostname	=	window.location.hostname;
	var s       	= "";
	var indent   	= "&nbsp;&nbsp;&nbsp;&nbsp;";

  window.document.writeln("&nbsp;<a href=\"http://www.niva4x4.ru/index.php\"\">\"Niva 4x4 Forum\"</a>&nbsp;<br>");
  window.document.writeln("&nbsp;<a href=\"http://www.niva-faq.msk.ru/index.html\"\">NIVA-FAQ</a>&nbsp;<br>");
  window.document.writeln(indent + "<a href=\"http://" + hostname + "\"> Catalog</a>&nbsp;<br>");
//window.document.writeln(indent + "<a href=\"" + root + "/" + "index.htm\">Niva FAQ</a>&nbsp;<br>");
	for(i = 1; i < path.length - 2; i++)
	{
		s 			+= "/" + path[i];
		indent 	+= "&nbsp;&nbsp;&nbsp;";

    window.document.writeln(indent + "<a href=\"http://" + hostname + s + "/" + "index.htm\">" + section[path[i]] + "</a>&nbsp;<br>");
//  window.document.writeln(indent + "<a href=\"" + root + s + "/" + "index.htm\">" + section[path[i]] + "</a>&nbsp;<br>");
	}

  if(path[path.length - 1] != "index.htm")
  {
    indent 	+= "&nbsp;&nbsp;&nbsp;";
  	s 			+= "/" + path[path.length - 2];
    window.document.writeln(indent + "<a href=\"http://" + hostname + s + "/" + "index.htm\">" + section[path[path.length - 2]] + "</a>&nbsp;<br>");
  }
}





