/*============================*/

/*== Virtual Gallery Pages ===*/

/*============================*/

 

function hasPath(sPath)

{

re = new RegExp("\/" + sPath + "(\/|$)");

return re.test(window.location)

}

 

if (hasPath("galleries"))

YD.addClass(document.body, "galleries");








/*============================*/

/*== Change Breadcrumb ==*/

/*============================*/

 

var objElement = document.getElementById("breadCrumbTrail")

if (objElement != null) {

var str = new String(objElement.innerHTML);

str = str.replace('>Onni<', '>Home</a><');

objElement.innerHTML = str;

}

