/**
 * @author Rafal
 */

function wyrownajdivy(div1,poprawka1,div2,poprawka2)
{
	var hdiv1=document.getElementById(div1).clientHeight;
	var hdiv2=document.getElementById(div2).clientHeight;
	
	if(hdiv1>hdiv2) max=hdiv1; else max=hdiv2;
	
	document.getElementById(div1).style.height=(max+poprawka1)+"px";
	document.getElementById(div2).style.height=(max+poprawka2)+"px";
}
//----------------------------------------------------------------------
function wyrownaj3divy(div1,poprawka1,div2,poprawka2,div3,poprawka3)
{
	var hdiv1=document.getElementById(div1).clientHeight;
	var hdiv2=document.getElementById(div2).clientHeight;
	var hdiv3=document.getElementById(div3).clientHeight;
	var max=0;
	
	if(hdiv1>hdiv2) max=hdiv1; else max=hdiv2;
	if(hdiv3>max) max=hdiv3;
	
	document.getElementById(div1).style.height=(max+poprawka1)+"px";
	document.getElementById(div2).style.height=(max+poprawka2)+"px";
	document.getElementById(div3).style.height=(max+poprawka3)+"px";
}
