function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

// fix the pesky pipes

YE.onAvailable("cobrand_footer", function() {this.innerHTML = this.innerHTML.replace(/\||what are feeds\?/gi, '');});

SM.PhotoBar.config.position = 'bottom';

rightClickWarning = "All photos are property of Ron Preece. All rights reserved. Unauthorized use is prohibited."; 