function breadcrumbs(){ //edited by JMM 7_6_11
sURL = new String; bits = new Object; var x = 0; var stop = 0; var output = "<a href=\"/\">Home</a>  |  ";
sURL = location.href; sURL = sURL.slice(8,sURL.length); chunkStart = sURL.indexOf("/"); sURL = sURL.slice(chunkStart+1,sURL.length);
while(!stop){
                chunkStart = sURL.indexOf("/");
                if (chunkStart != -1){
                                bits[x] = sURL.slice(0,chunkStart);            sURL = sURL.slice(chunkStart+1,sURL.length);
                }else{ stop = 1;}
                x++;
}

for(var i in bits){
                output += "<a href=\"";
                for(y=1;y<x-i;y++){ output += "../"; }
                output += bits[i] + "/\">"; var begin = bits[i]; begin = begin.substring(0,1).toUpperCase();
                output += begin;
                if(output.indexOf("-") >= 0) {
                                var portion = bits[i].substring(1,bits[i].length);
                                while(portion.indexOf("-") >= 0) {
                                                var dash = portion.indexOf("-"); portion = portion.replace("-"," ");
                                                portion = portion.substring(0,dash+1) + portion.substring(dash+1,dash+2).toUpperCase() + portion.substring(dash+2);
                                }
                                var side = portion.substring(0,portion.indexOf(" "));
                                if(side.toLowerCase() == "ci" && begin == "P") { output += "CI"; }else{ output += portion.substring(0,portion.indexOf(" ")); }
                                output += " "; output += portion.substring(portion.indexOf(" ")+1,portion.indexOf(" ")+2).toUpperCase(); output += portion.substring(portion.indexOf(" ")+2);
                }else{
                                var front = bits[i].substring(1,bits[i].length);
                                if(front.toLowerCase() == "ci" && begin == "P") { output += "CI";}else{output += bits[i].substring(1,bits[i].length);}
                }

                output += "</a>|  ";
}
  document.write(output + document.title);
}
