
function getMasterHeight(){
	var $height1 = $("#container_330").height(); 
	var $height2 = $("#container_470").height(); 

	//alert('The height of  330 is ' + $height1 + '  The height of  470 is ' + $height2 );

	if ($height1 > $height2) {
		var $masterheight = $height1;
	}

	if ($height1 < $height2) {
		var $masterheight = $height2;
	}

	//alert('The Master height is ' + $masterheight);

	$("#container_330").css("height", $masterheight+"px");
	$("#container_60").css("height", $masterheight+"px");
	$("#container_470").css("height", $masterheight+"px");
	$("#container_30").css("height", $masterheight+"px");
	$("#container_134").css("height", $masterheight+"px");
}


function addMasterHeight($fullHeight){

	var $masterheight = $("#container_330").height(); 

	var $expandedHeight = ($masterheight + $fullHeight);
	

	$("#container_330").css("height", $expandedHeight+"px");
	$("#container_60").css("height", $expandedHeight+"px");
	$("#container_470").css("height", $expandedHeight+"px");
	$("#container_30").css("height", $expandedHeight+"px");
	$("#container_134").css("height", $expandedHeight+"px");
}


function backMasterHeight($fullHeight){

	var $masterheight = $("#container_330").height(); 

	var $reducedHeight = ($masterheight - $fullHeight);
	

	$("#container_330").css("height", $reducedHeight+"px");
	$("#container_60").css("height", $reducedHeight+"px");
	$("#container_470").css("height", $reducedHeight+"px");
	$("#container_30").css("height", $reducedHeight+"px");
	$("#container_134").css("height", $reducedHeight+"px");
}
