/* devbobo's gallery trick */

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
/* devbobo's gallery trick */


SM.SmugMug.config.size = 'large';


function ModifyText ()
{
  if (YD.hasClass(document.body, "gallery_4881290"))
  {
    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);