/**
 * @author Christopher Wallace
 */

jQuery(window).load(function(){

  // Lazy Load images below the fold
  jQuery(".content img.thumbnail").lazyload();

  // The magic sliding panels
	jQuery('.Por_Ind_Are_Ind a span.Por_Ind_Are_Ind_Nom').css({
		opacity : '0.0'
	}).parent('a').append('<span class="cover-up"></span>');
	jQuery('.Por_Ind_Are_Ind a').mouseover(function(e){
      jQuery(this).find('img.thumbnail').stop().animate({
	  	marginTop : '-25px'
	  }, 100).parent('a').find('span.Por_Ind_Are_Ind_Nom').stop().fadeTo("slow",1.0);
	});
	jQuery('.Por_Ind_Are_Ind a').mouseout(function(e){
      jQuery(this).find('img.thumbnail').stop().animate({
	  	marginTop : '0'
	  }, 100).parent('a').find('span.Por_Ind_Are_Ind_Nom').stop().fadeTo("slow",0.0);
	});
});