$().ready(function() {

 $('#ex0')
  .jqm({ajax: 'popups/00_bu.html', 
  trigger: 'a.ex0trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn("fast"); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });   

  $('#ex1')
  .jqm({ajax: 'popups/01_bu.html', 
  trigger: 'a.ex1trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn("fast"); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });   
  
    $('#ex2')
  .jqm({ajax: 'popups/02_bu.html', 
  trigger: 'a.ex2trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn("medium"); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  }); 
  
  
    $('#ex3')
  .jqm({ajax: 'popups/03_bu.html', 
  trigger: 'a.ex3trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn(); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  }); 
      

  $('#ex4')
  .jqm({ajax: 'popups/04_bu.html', 
  trigger: 'a.ex4trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn(); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });   


  $('#ex5')
  .jqm({ajax: 'popups/05_bu.html', 
  trigger: 'a.ex5trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn(); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  }); 


  $('#ex6')
  .jqm({ajax: 'popups/06_bu.html', 
  trigger: 'a.ex6trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn(); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });


  $('#ex7')
  .jqm({ajax: 'popups/07_bu.html', 
  trigger: 'a.ex7trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn(); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });
  
  
    $('#ex8')
  .jqm({ajax: 'popups/08_bu.html', 
  trigger: 'a.ex8trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn(); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });

    $('#ex9')
  .jqm({ajax: 'popups/09_bu.html', 
  trigger: 'a.ex9trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn(); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });
  
      $('#ex10')
  .jqm({ajax: 'popups/10_bu.html', 
  trigger: 'a.ex10trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn(); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });
  
        $('#ex11')
  .jqm({ajax: 'popups/11_bu.html', 
  trigger: 'a.ex11trigger',


      overlay: 1,
      onShow: function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.css('opacity',1).fadeIn("normal"); 
        },
      onHide: function(h) {
        /* callback executed on window hide. Hide notice, overlay. */
        h.w.fadeOut("slow",function() { if(h.o) h.o.remove(); }); } 
  });

});
