function sortuj(a,b) { return b-a}
function jedwys(jeden,drugi,trzeci) {
	if (document.getElementById(jeden)) {
		var obj=new Array(3);
		var option=[jeden,drugi,trzeci];
		for(var i=0; i<option.length; i++) {
			document.getElementById(option[i]).style.height="auto";
			obj[i]=document.getElementById(option[i]).offsetHeight;
			nh=obj.sort(sortuj);
		}
		nh1=nh.splice(1,2);
		for(var i=0; i<option.length; i++) {
			if (nh <= 676) {nh = 676} else {}
			document.getElementById(option[i]).style.height=nh+"px";
		}
	}
}