/**
 * @author Christopher Wallace
 */

jQuery(window).load(function(){

  // Lazy Load images below the fold
  jQuery(".content img.thumbnail").lazyload();

  // The magic sliding panels
	
  
  // Comment Author URL hover effect
  jQuery('.comment-author a.url').mouseover(function(e){
  	var url = jQuery(this).attr('href');
	jQuery(this).parent('span').append('<span class="hover-url">'+url+'</span>');
  })
  jQuery('.comment-author a.url').mouseout(function(e){
	jQuery(this).parent('span').find('.hover-url').remove();
  })
  
  jQuery('#footer .widgetcontainer:nth-child(3n+1)').addClass('reset');
  jQuery('.ie6 #footer .widgetcontainer:nth-child(3n+1),.ie7 #footer .widgetcontainer:nth-child(3n+1)').style({
    clear : 'left'
  });

});