$(document).ready(function(){
	var noElements = $('#menu ul li').length;
	var width = $('#menu').width()-(($('#menu ul li').length-1)*parseInt($('#menu ul li').css('margin-right')));
	var newWidth = parseInt(Math.floor(width/noElements));
	var rest = width-(noElements*newWidth);
	$('#menu ul li').css('width',newWidth+'px');
	
	$('#menu ul li').each(function(){
		if(rest>0) {
			$(this).css('width',(parseInt($(this).css('width'))+1)+'px');
			rest--;
		}
	});
	
	
	$('.two-cols-2 img').fadeIn();
	
});