function ModifyText ()
{
  if (YD.hasClass(document.body, "gallery_8391228"))
  {
    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);

/*BEGIN PAYPAL*/
/*========================================*/
/*==   Paypal shopping functionality    ==*/
/*========================================*/
/*
function setPaypalForm(form) {
 urlToImage = webServer + "/gallery/" + AlbumID + "_" + AlbumKey + "/1/" + ImageID + "_" + ImageKey + "/Large" + "   " + photoInfo[ImageID]['fileName']; 
 i = form.photoselection.selectedIndex
 
 sPhotoType = form.photoselection.options[i].text;
 sPhotoPrice = form.photoselection.options[i].value;
 urlToImage = urlToImage + "    " + sPhotoType ;
 form.item_name.value = urlToImage;
 form.amount.value = sPhotoPrice;
}
*/
/*END PAYPAL*/

<!-- Histats.com  START  -->
<a href="http://www.histats.com" target="_blank" title="web site hit counter" ><script  type="text/javascript" language="javascript">
var s_sid = 782030;var st_dominio = 4;
var cimg = 0;var cwi =150;var che =30;
</script></a>
<script  type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script>
<noscript><a href="http://www.histats.com" target="_blank">
<img  src="http://s4.histats.com/stats/0.gif?782030&1" alt="web site hit counter" border="0"></a>
</noscript>
<!-- Histats.com  END  -->