rightClickWarning = "Sorry you can't have this one"; rightClickWarning = "Sorry you can't have this one"; 

function hasPath(sPath)
{
re = new RegExp("\/" +  sPath + "(\/|$)");
return re.test(window.location)
} 

 if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

