// change the link on the SmugMug Logo

YE.onAvailable('homelink', function(e) {

this.href = "http://jaedphoto.smugmug.com/";

this.firstChild.alt = "Jaed Photography";

this.firstChild.title = "Jaed Photography";

});

// removes the pipes characters in the toolbar header

YE.onAvailable('toolbar', function(e) {

this.innerHTML = this.innerHTML.replace(new RegExp(/\|/g),"");

});
rightClickWarning = "All photos are © Jaed Photography. All rights reserved. Unauthorized use is prohibited.";
function ModifyText ()
{
  if (YD.hasClass(document.body, "gallery_7181435")) 
  {
    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);
