var footerH = 30; var headerH = 255; var argL = 0; // default // ====================================================== function doFLIRinit() { FLIR.init( { path: 'http://www.aerosoldesign.nl/custom-font/facelift/' } ); FLIR.auto(); FLIR.init( new FLIRStyle( { realFontHeight: true } ) ); } // ====================================================== function doresize() { setH('left','content','right'); // give the id's of all concerning columns inside 'container' // Each column stretches its height due to its content : // the footer top position is computed after the page is loaded : under the heighest column } // ====================================================== function doresize2col() { setH('left','content'); // give the id's of all concerning columns inside 'container' // Each column stretches its height due to its content : // the footer top position is computed after the page is loaded : under the heighest column } // ====================================================== function setH() { argL = setH.arguments.length; var allColH = colH(setH.arguments); for (var i=0;i < argL;i++) { document.getElementById(setH.arguments[i]).style.height = allColH + "px"; } var daHeaderH = headerH + (document.getElementById('hometags') ? document.getElementById('hometags').offsetHeight + 60 : 0); var windowH = document.body.clientHeight - daHeaderH; var fillH = windowH - footerH; var TFfill = (footerH + allColH < windowH); var daH = TFfill ? fillH : allColH; document.getElementById('footer').style.top = (daH + daHeaderH) + "px"; document.getElementById('footer').style.visibility = "visible"; } // ====================================================== function colH(aColID) { // Array containing all IDs of the concerning COLumns var i; var oH = 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; } // ====================================================== function miMV(ID) { document.getElementById("L"+ID).style.backgroundPosition = "0px -33px"; } // ====================================================== function miMT(ID) { document.getElementById("L"+ID).style.backgroundPosition = "0px 0px"; } // ====================================================== function subMV(ID) { miMV(ID); document.getElementById("U"+ID).style.display = 'block'; } // ====================================================== function subMT(ID) { miMT(ID); document.getElementById("U"+ID).style.display = 'none'; } // ======================================================