function single (){
	var mywidth = $('.left').width();
	if(mywidth < 700) {
		$('.left .post').removeClass('single');
	} else if(mywidth > 700) {
		$('.left .post').addClass('single');	
	}
	else {
	};
}

$(document).ready(function() {
	single();
	$('#header li').each(function() {
		var offset = $(this).position();
		$(this).css('background-position', -+offset.left + 'px 0px' );
	});
	$('.post').wrapInner('<div class="inner"></div>')
	$('.left .post:first-child').addClass('first');
	$(window).resize(function() {
		single();
	});
});
