/* === RB auto footer height ================================= */ var argL = 0; function init() { didInit(); window.onresize = doresize; doresize(); } function setH() { argL = setH.arguments.length; var allColH = colH(setH.arguments); var windowH = document.body.clientHeight - headerH; var fillH = windowH - FTh; var TFfill = (FTh + allColH < windowH); var daH = TFfill?fillH:allColH; for (i=0;i < argL;i++) { document.getElementById(setH.arguments[i]).style.height = daH + "px"; document.getElementById(setH.arguments[i]).style.marginBottom = (TFfill?0:FTh) + "px"; } document.getElementById('footer').style.top = (daH + headerH) + "px"; document.getElementById('footer').style.visibility = 'visible'; } function colH(aColID) // Array containing all IDs of the concerning COLumns { var oH = 0; var oC = 0; var cOH = new Array(); for (i=0;i < argL;i++) { document.getElementById(aColID[i]).style.height = 'auto'; cOH[i] = document.getElementById(aColID[i]).offsetHeight; } for (i=0;i < argL;i++) { if (cOH[i] > oH) oH = cOH[i]; } return oH; }