/*  Link for Pet Photography services in Pet Photography Gallery */
function addCategoryDescription() {
  var categoryDescription = {      
     "Pet_Photography"  : 'Pet Photography Services information can be found at <a href="http://www.ilenesamowitzphoto.com/-/ilenesamowitzphoto/wildcard.asp">Pet Photography Services</a>'
  };

  if ((YD.hasClass(document.body, "category")) && (!YD.hasClass(document.body, "subcategory")))  {

    re = /category_(\S+)/i;
    re.exec(document.body.className);

    breadCrumb = YD.get("breadcrumb");
    if (breadCrumb && categoryDescription[RegExp.$1]) {
      divTag = document.createElement("div");
      divTag.className = "categoryDescription";
      divTag.innerHTML = categoryDescription[RegExp.$1];
      breadCrumb.parentNode.insertBefore(divTag, breadCrumb.nextSibling);
    }
  }
  if (YD.hasClass(document.body, "homepage")) {
    re = /\>([\w\-]+)<\/a>/i;

    divTag = YD.get("categoriesBox");
    if (divTag) {
      divTags = YD.getElementsByClassName("albumTitle", "p", divTag);

      for (i=0; i<divTags.length; i++)  {
        re.exec(divTags[i].innerHTML);
        if (categoryDescription[RegExp.$1] != undefined) {
          pTag = document.createElement("p");
          pTag.className = "categoryDescription";
          pTag.innerHTML = categoryDescription[RegExp.$1];
          divTags[i].parentNode.insertBefore(pTag, divTags[i].nextSibling);
        }
      }
    }
  }
}
YE.onContentReady('bodyWrapper', addCategoryDescription);
/* end Link for Pet Photography services in Pet Photography Gallery */
/* email Link securely */
function norobotmail(aUser, aDomain) { document.location = "mailto:" + aUser + "@" + aDomain; }
/*end of email link */