function fixtwidth() {

var pisin;

tcentercont = window.document.getElementById('centercont');
tleftcont = window.document.getElementById('leftcont');
trightcont = window.document.getElementById('rightcont');
tcontainer = window.document.getElementById('container');

pisin = tleftcont.offsetHeight;

if (trightcont.offsetHeight > tleftcont.offsetHeight)
	pisin = trightcont.offsetHeight;
if (tcentercont.offsetHeight > pisin)
	pisin = tcentercont.offsetHeight;

//Muutetaan voin containeri. Toivottavasti korjaa ongelman handheld-laitteilla
//tleftcont.style.height = pisin + 'px';
//tcentercont.style.height = pisin + 'px';
//trightcont.style.height = pisin + 'px';

if(pisin > tcontainer.offsetHeight) {
	tcontainer.style.height = pisin + 'px';
	}
}
