function tamany(Color)
{
	var altWindow;
	if(document.all){
		altWindow = document.body.clientHeight;
	}
	else{
		altWindow = innerHeight;
	}
	altWindow = altWindow - 105 + 8;
	var altText = document.getElementById("Contingut").offsetHeight + 50; 
	
//	if(altText < altWindow){ 
//		document.getElementById("RequadreEsquerre").style.height = altText - 50 + 12 + "px";
//		document.getElementById("RequadreDret").style.height = altText - 50 + 12 + "px";
//	}
//	else{
		document.getElementById("RequadreEsquerre").style.height = (altWindow - 40) + "px";
		document.getElementById("RequadreDret").style.height = (altWindow - 40) + "px";
		document.getElementById("Contingut").style.height = (altWindow - 52) + "px";	
		document.getElementById("Contingut").style.paddingRight = "20px";
		document.getElementById("Contingut").style.width = "568px";
		document.getElementById("Contingut").style.overflow = "auto";
		document.getElementById("Contingut").className = "scroll" + Color;
//	}
}
