// 
//  script.js
//  jimmytoo
//  
//  Created by Callum Wilson on 2011-11-09.
//  Copyright 2011 The Working Party. All rights reserved.
// 
$(document).ready(function() {
	$('html').removeClass("no-js").addClass("js");
	var $container = $('#featured');
	
	$container.imagesLoaded( function(){
		$container.masonry({
			itemSelector : '.item',
			columnWidth: 173
		});
	});
	$('.ie7 #featured .item a, .ie8 #featured .item a, .ie7 .thumbs li span, .ie8 .thumbs li span').hover(function(){
		$(this).find('img').fadeTo('slow', 0.1);
	}, function(){
		$(this).find('img').fadeTo('slow', 1);
	});
	
	// $('#featured ul').masonry({
	// 	itemSelector : 'li',
	// 	columnWidth: 158,
	// 	isResizable: false
	// });
});

