showImagePreview = false;

function delHover() {
imgTags = document.getElementsByTagName("img");
for (i=0; i<imgTags.length; i++) {
imgTags[i].title = "";
imgTags[i].alt = "";
}
}

showPhotoBar = false; 

function addCategoryDescription() {
  var categoryDescription = {
      "Sculpture"  : "As a sculptor, I work primarily with reclaimed metal and glass rescued from junkyards and recycling centers.  I have also completed mixed media installations. My sculpture often reveals mutation, growth,unfolding, merging, or germination in the ways I connect different materials, shapes and ideas.  My imagination builds on familiar visual iconography such as suns, human heads and figures, hearts, and flowers. I have a strong interest in how consumerism affects the natural environment (I also express this in my work as a product designer), so I combine organic and industrial based forms such as machinery gears and sprockets, seaweed, tree branches, disposable water bottles, chains and other discarded or found objects. <br>I aim to present viewers with an alternate language for connecting with objects, and to provide a means of developing emotional connections to objects normally taken for granted or narrowly experienced in everyday life. Art can play a serious and humorous role in strengthening our spiritual and physical connection to the material world, to help us realize that with every action, we influence other people and our surroundings.  Through sculpture and product design, l want to research and express more about this intertwined and independent relationship between people and objects."
"Product"  : "In combining my philosophy and experience in art, design, and engineering, I created a collection of original products using discarded, recycled or biodegradable materials wherever possible.  By using this kind of glass, I remain mindful of earth’s valuable resources, and from a metaphysical perspective, I imbue these products with a deeper history and conscience.  Not only are many of these products truly innovative in their look and function, but the methods used to make them are technically progressive.  I love finding ways of transforming crushed bottle glass so that the irregular curved pieces become attractive and functional in the creation of a new product.  Currently, the market demand for recycled glass is low or non-existent.  Through developing, marketing, and selling my glass products and sculpture, I would like to help grow the demand to use recycled glass.  Since I handcraft all of these designs in my studio, my production volume is relatively low.  However, these products have the potential to be reproduced as higher volume manufactured designs, and therefore successfully re-using more discarded bottle glass.  I would like to see consumers and companies demanding the use of recycled glass, not just due to a concern for reducing waste and increasing efficiency, but because the special qualities of this type of glass determine the unique and exciting features of these products."
  };

  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.appendChild(document.createTextNode(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.appendChild(document.createTextNode(categoryDescription[RegExp.$1]));





          divTags[i].parentNode.insertBefore(pTag, divTags[i].nextSibling);
        }
      }
    }
  }
}
YE.addListener(window, "load", addCategoryDescription);

