jQuery.noConflict();

(function($) {
  init = function() {
    $("img[rel]").overlay();
    $("a[rel]").overlay({
      onBeforeLoad: function() {
        $('.contentWrap').empty();
        $('.contentWrap').load(this.getTrigger().attr("href"));
      }
    });
  }

  $(document).ready(init);

  /* Safari bug workaround */
  $(window).bind('load', function() {
      $('.js_hide').hide();
      $('.js_show').show();
  });
})(jQuery);

