// JavaScript Document
function maxHeight(){
	var maxH= 0;

	$("div.col").each(function() {
		if ($(this).height() > maxH) {
			maxH = $(this).height();
		}
		//alert($(this).height());
	});
	//alert(maxH);
	$("div.col").css("height",maxH);
	//$("div.menu_sx").css("height",maxH+ 130);
	//$(".high div.menu_sx").css("height", maxH + 220);
	$("div.menu_sx").css("height", maxH + 100);
	$(".high div.menu_sx").css("height", maxH + 165);
	$("div.prod").css("height", maxH + 180);
	//alert('altezza menu '+$("div.menu_sx").height());
	
}

function newHeight(){
	var HS = $("div.menu_sx").height(); 
	var H = $("div.content").height();
	$("div.menu_sx").css("height",HS+285);	
	$("div.content").css("height",H+285);	
}

function oldHeight(){
	var HS = $("div.menu_sx").height();
	var H = $("div.content").height();
	$("div.menu_sx").css("height",HS-285);	
	$("div.content").css("height",H-285);
}

function newHeightLavora() {
	var HS = $("div.menu_sx").height();
	var H = $("div.content").height();
	$("div.menu_sx").css("height", HS + 150);
	$("div.content").css("height", H + 150);
}

function oldHeightLavora() {
	var HS = $("div.menu_sx").height();
	var H = $("div.content").height();
	$("div.menu_sx").css("height", HS - 200);
	$("div.content").css("height", H - 200);
}
