/**
 * @date    2011-05-05, 2011-04-19
 * @since   2010-08-24
 * @author  Christian Oellers, c.oellers@alldesign.de
 *
 * REQUIREMENTS
 * - jQuery 1.4.2
 * - jQuery.prettyPhoto 3.1.2
 *
 * FEATURES
 * - Image popups
 *   - Pressroom gallery
 *   - Product cart
 *   - Product view
 */
jQuery.noConflict();
jQuery(document).ready(function($)
{
  $("#content a[rel^='lightbox']").prettyPhoto
  ({
    theme                   : 'facebook',
    allow_resize            : true,
    autoplay                : true,
    autoplay_slideshow      : false,
    hideflash               : false,
    deeplinking             : false,
    modal                   : false,
    overlay_gallery         : false,
    ie6_fallback            : false,
    show_title              : false,
    social_tools            : "",
    horizontal_padding      : 20,
    default_width           : 500,
    default_height          : 350,
    counter_separator_label : "/",
    slideshow               : false,
    animation_speed         : "normal",
    opacity                 : 0.65,
    wmode                   : "opaque",
    changepicturecallback   : function()
    {
      $(".pp_pic_holder").removeClass("loading");
    },
    callback : function(){} // on close
  });
});

