
function resizecols() {
	
		col1 = document.getElementById('hpcol1');
		col2 = document.getElementById('hpcol2');
		col3 = document.getElementById('hpcol3');

		htdiff1 = 23; // col1 top - col2 top
		htdiff2 = 0; // col1 padding-bottom
		sizearr = new Array();
		sizearr.push(col1.offsetHeight + htdiff1);
		sizearr.push(col2.offsetHeight);
		if (col3) {
			sizearr.push(col3.offsetHeight);
		}

		sizearr.sort(function(a,b){return b - a})
		col1.style.height = ((sizearr[0] - htdiff1) - htdiff2) + 'px';
		//col2.style.height = sizearr[0] + 'px';
		if (col3) {
			//col3.style.height = sizearr[0] + 'px';
		}
}



	
	window.onload=function() {
		if (document.getElementById) {
			resizecols();
		}
	}







function newseventsview(id1,id2,id3) {
	thisicon = document.getElementById(id1);
	viewthis1 = document.getElementById(id2);
	if (id3) {
		viewthis2 = document.getElementById(id3);
	}

	if (viewthis1.style.display == "none") {
		viewthis1.style.display = "block";
		if (id3) {
			viewthis2.style.display = "none";
		}
		thisicon.src = "http://www.conservatorioadria.it/images/icon_more.gif";
	}
	else {
		viewthis1.style.display = "none";
		if (id3) {
			viewthis2.style.display = "block";
		}
		thisicon.src = "http://www.conservatorioadria.it/images/icon_less.gif";
	}
}

//-->
