resize = function resize() {
		if (!resizing) {
			resizing = true;
			$('#maincontent').css('height',($('#allwrap').height()-225) + 'px');
			resizing = false;
		}
}



$(document).ready(function() {
	resizing = false;


	resize();

	$(window).resize(function() {
		resize();
	});


	
	total = $('.level3').length;
	$('.level3').each(function(i) {
		if (i > total-2) {
			$(this).css('margin-left','-164px');
		}
	})
	

	
});