function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

if (hasPath("featured"))
YD.addClass(document.body, "featured");

if (hasPath("maps"))
 YD.addClass(document.body, "maps");

if (hasPath("sitefeatures"))
  YD.addClass(document.body, "sitefeatures");