function setHeights()
{
 m = menu.clientHeight + 67;
 t = text1.clientHeight + 133;
 r = right.clientHeight + 133 + 63;
 maxheight = Math.max(m,Math.max(t,r));
 if (maxheight<372)
  maxheight=372;
 main.style.height=maxheight + 33;
 menu.style.height=maxheight - 67;
 text1.style.height=maxheight - 133;
 right.style.height=maxheight - 133 - 63;
 footer1.style.top=maxheight + 1;
 footer1.style.visibility='visible';
 footer2.style.top=maxheight + 1;
 footer2.style.visibility='visible';
}

function setHeights2()
{
 m = menu.clientHeight + 67;
 t = text1.clientHeight + 133;
 maxheight = Math.max(m,t);
 if (maxheight<372)
  maxheight=372;
 main.style.height=maxheight + 33;
 menu.style.height=maxheight - 67;
 text1.style.height=maxheight - 133;
 footer1.style.top=maxheight + 1;
 footer1.style.visibility='visible';
 footer2.style.top=maxheight + 1;
 footer2.style.visibility='visible';
}

