filmstripMove = 0;

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

YE.onAvailable('categoryTitle', function() {this.innerHTML = 'the galleries'});

function ModifyText ()
{
  if (YD.hasClass(document.body, "gallery_4791158"))
  {
    var objElement = YD.get("comment")
    if (objElement != null)
    {
      var str = new String(objElement.innerHTML);
      str = str.replace(/\gallery/gi, 'guestbook');
      objElement.innerHTML = str;
    }
  }
}
 
YE.onAvailable("comment", ModifyText)