// JavaScript Document
$(function() {
	var resize = function() {
		if($(window).width() > 1280) {
			$('#content_wrapper_project').width(1260);
			$('#content_wrapper_project .third').css({clear:'none'});
			$('#content_wrapper_project .fourth').css({clear:'both'});
			
			$('#publications_wrapper').width(1220);
			$('#publications_wrapper .fourth').css({clear:'none'});
			$('#publications_wrapper .fifth').css({clear:'both'});
			
		} else {
			$('#content_wrapper_project').width(980);
			$('#content_wrapper_project .third').css({clear:'both'});
			$('#content_wrapper_project .fourth').css({clear:'none'});
			
			
			$('#publications_wrapper').width(980);
			$('#publications_wrapper .fourth').css({clear:'both'});
			$('#publications_wrapper .fifth').css({clear:'none'});
		}
	}
	$(window).resize(resize);
	resize();
});
