<!-- Original:  Kevin Lynn Brown  -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin

var path = "";
var href = document.location.href;
var s = href.split("/"); 
for (var i=3;i<(s.length-1);i++) 
{

//folder to nice name formatting
//alert(s[i].replace(/chat/gi,"Live Chat"));
//var s[i] = s[i].replace("","");

 path+="<A HREF=\""+href.substring(0,href.indexOf(s[i])+s[i].length)+"/\">"+s[i]+"</A>";
 if (i<s.length-1){path+="  >  ";}

// capitalize first letter
var z=s[i].match(/home|chat|forums|prog|science|music|jarsofclay|art|games/);
if (z!="null") 
  {
//  z=z.substr(0, 1).toUpperCase();
//  z=z+z.(1);
//  z=z.replace(/^./, z.match(/^./)[0].toUpperCase());
// alert(z+":"+s[i]);
  }

}

i=s.length-1;
//path+="<A HREF=\""+href.substring(0,href.indexOf(s[i])+s[i].length)+"\">"+s[i]+"</A>";

path+="<i>";
path+=s[i];
//path+=s[i].replace(/prog/gi,"Programming");
s[i].replace(/music/gi,"Music");
s[i].replace(/art/gi,"Pics and Art");
s[i].replace(/chat/gi,"Live Chat");
s[i].replace(/science/gi,"Science");
s[i].replace(/games/gi,"Games");
s[i].replace(/jarsofclay/gi,"Jars of Clay");
path+="</i>";


//var url = window.location.protocol + "//" + path;
var url = "&nbsp; >> "+path;

document.writeln(url);

// End -->


