function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
{
YD.addClass(document.body, "galleries");
}

if (hasPath("gallery"))
{
YD.addClass(document.body, "gallery");
}

if (hasPath("keyword"))
{
YD.addClass(document.body, "kw");
}

if (hasPath("Photography"))
{
YD.addClass(document.body, "photography");
}