'))
$("#mainpagecontent > div:first > div:first > .pagecontainer").append('');
if(bc_dobreadcrumbs){
//console.log("appending rcrumbs div and breadcrumbs-ul and last bcspacer");
$("#breadcrumbs_container").append('
');
var linkCount = 1;
var linkRendered = false;
var manualClass = "";
if (bc_customize){
manualClass = "manual";
}
bc_links.unshift(["/index.shtml", "JMU"]);
for (var linkPair of bc_links){
var link = linkPair[0];
var text = linkPair[1];
var weAreOnTheLastLinkOfAPageAtLeastOneFolderIn = bc_links.length > 2 && bc_links.length == linkCount;
if(weAreOnTheLastLinkOfAPageAtLeastOneFolderIn && bc_currentPageName == 'index'){
// don't show the last link, but only if it's not the root.
//For example, /cise/index.shtml should show the breadcrumb for /cise/index.shtml even tho the last link is to itself
var doNothing = true;
}else{
var html = '
';
if (linkRendered){
//console.log("appending divider to html")
html = html + ' >';
}
var targetAttribute = "";
// for internal Cascade page links
if(link.includes("/entity/open.act")){
targetAttribute = ' target="_parent" '
}
html = html + '' + text + '';
html = html + '