function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

/* Move Comments directly under photo box */
function MoveCommentBelowPhoto()
{
  var commentSection = document.getElementById("comment");
  document.getElementById("imageInfo").appendChild(commentSection);
}
YE.onDOMReady(MoveCommentBelowPhoto);

