function hasPath(sPath)                     /*  slideshow text */
{                                           /*  slideshow text */
re = new RegExp("\/" + sPath + "(\/|$)");   /*  slideshow text */
return re.test(window.location)             /*  slideshow text */
}


/*  Set Galleries Pages */
     if (hasPath("find"))
     YD.addClass(document.body, "find");

     if (hasPath("galleries"))
     YD.addClass(document.body, "galleries");

     if (hasPath("featured"))
     YD.addClass(document.body, "featured");

/* End Set Galleries Page */

YE.onAvailable('categoryTitle', function() {this.innerHTML = 'Gallery Categories'});
YE.onAvailable('featuredTitle', function() {this.innerHTML = 'Featured Photos and Art'});


function ModifyText ()
{
  if (YD.hasClass(document.body, "gallery_7708042_J55wR"))
  {
    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);

/* Google API key for peterpazucha.smugmug.com --- ABQIAAAA8N79cn3LqNYU4Rkc6U8ruBSM-eXXYlZ3zJOaqOh4juda2IhwnRTHLpi1RquUYtpKTL345b5roZbABw  */

/*  Google API key for pix.peterpazucha.com --- ABQIAAAA8N79cn3LqNYU4Rkc6U8ruBQjpNIxGHJg5Y__z3JD4xSawtJ_eBRdEky7DQOhhUIPnTTTsfmaEwpK3Q */