function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

YE.onAvailable('homelink', function(e) {
this.href = "http://timesrspecialphotography.smugmug.com/";
this.firstchlld.alt="http://timesrspecialphotography.com";
this.firstchild.title="http://timesrspecialphotography.com";
});
