// Adapt text of rightclick warning 
rightClickWarning = "All photos are property of Jan Kooreman. All rights reserved. Unauthorized use is prohibited."; 


// Guestbook comments
function ModifyText ()
{
  if (YD.hasClass(document.body, "gallery_3652510")) 
  {
    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);


// hide the word "galleries" from title of category pages
YE.onAvailable('galleryTitle', function() {this.innerHTML = this.innerHTML.replace(/galleries/, '')});

// hide the word "galleries" from title of sub-category pages
YE.onAvailable('subCatGalleryTitle', function() {this.innerHTML = this.innerHTML.replace(/galleries/, '')});


// fix the pesky pipes

YE.onAvailable("cobrand_footer", function() {this.innerHTML = this.innerHTML.replace(/\||what are feeds\?/gi, '');});



