function adjustLayout() {
	mCol=xGetElementById('lMain');
	cCol=xGetElementById('lContent');
	lCol=xGetElementById('lLeftCol');
	rCol=xGetElementById('lRightCol');
	mainCol=xGetElementById('lMain');
	
	if( xClientWidth()>1000 && xIE ){ mainCol.style.width= xClientWidth()-4; }
	
	lColTop=xHeight(lCol)-60;
	cColTop=xHeight(cCol);
	rColTop=xHeight(rCol)-27;
	
	//sprawdzenie najwyższej wartości i przypisanie jej do zmiennej "m"
	m=Math.max(lColTop, cColTop, rColTop);

	cCol.style.height = cCol.style.minHeight = m+'px';
	rCol.style.height = rCol.style.minHeight = m+27+'px';
	//lCol.style.height = lCol.style.minHeight = m+60+'px';
}