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