/**
 * @author Christopher Wallace
 */

jQuery(window).load(function(){

  // Lazy Load images below the fold
  jQuery("img.thumbnail").lazyload();

  // The magic sliding panels
	jQuery('.gallery-content a span.span-title').css({
		opacity : '0.0'
	}).parent('a');
	jQuery('.gallery-content a').mouseover(function(e){
      jQuery(this).find('img.thumbnail').stop().animate({
	  	marginTop : '-18px'
	  }, 100).parent('a').find('span.span-title').stop().fadeTo("slow",1.0);
	});
	jQuery('.gallery-content a').mouseout(function(e){
      jQuery(this).find('img.thumbnail').stop().animate({
	  	marginTop : '0'
	  }, 100).parent('a').find('span.span-title').stop().fadeTo("faste",0.0);
	});
  


});

