/**
 * @version    1.0
 * @date       2011-06-21, 2011-06-21
 * @since      2011-06-21
 * @author     Christian Oellers, c.oellers@alldesign.de
 * @copyright  Alldesign, www.alldesign.de
 *
 * REQUIREMENTS
 * - jQuery 1.4.2
 * - jQuery.prettyPhoto 3.1.2
 *
 * DESCRIPTION
 * - Replaces the old MooTools 'Slimbox' that
 *   does not work with Firefox 4.
 */
jQuery.noConflict();
jQuery(document).ready(function($) {

    $('a[rel^="lightbox"]').prettyPhoto ({

      theme                   : 'facebook',
      //theme                   : 'default',
      allow_resize            : false,
      autoplay                : false,
      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           : 400,
      default_height          : 350,
      counter_separator_label : '/',
      slideshow               : false,
      animation_speed         : 'normal',
      opacity                 : 0.65,
      wmode                   : 'opaque',
      changepicturecallback   : function() {

        $('.pp_pic_holder').removeClass('loading');
      }
    });
});

