// Begin Lazy Loading. Lazy Loading allows us to load JS files and CSS only when the page requires them,
// saving bandwidth and decreasing load times.

jQuery(document).ready(function(){
  // get the class for the page we are on
  // var thisPage = $("body").attr("class");
   
  // if we want fancybox images on our site
  
  jQuery.requireJs('js/fancybox/jquery.fancybox-1.0.0.js');
  jQuery.requireJs('js/fancybox/jquery.pngFix.pack.js'); /* Fix IE6's PNG support (caution, messes up other PNGs sometimes) */
  jQuery.requireCss('js/fancybox/fancy.css');
  
  // we always want to load progressive enhancements at the end of the load queue
  jQuery.requireJs('js/progressive-enhancement.js');
  
});