function sortNum(a,b) { return b-a}

function fixH2(one,two) {
if (document.getElementById(one)) {
var obj=new Array(2);
var option=[one,two];
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(sortNum);
}

nh1=nh.splice(1,2);
for(var i=0; i<option.length; i++) {
document.getElementById(option[i]).style.height=nh+"px";
}
nh=nh-125;
actHeight=Number(nh)+Number(12);
if(actHeight<220)
{
actHeight="220";
nh=actHeight-12;
}
//document.getElementById(two).style.height=nh+"px";
//document.getElementById(one).style.height=actHeight+"px";
}
}

window.onload=function(){
fixH2('leftnav','rightcol');
}

