rem: var contentHeight = document.getElementById('content').offsetHeight; 
add: var contentHeight = document.getElementById('pagecontent').offsetHeight; 
context: function setFooter() {    if (document.getElementById) {        var windowHeight = getWindowHeight();		if (windowHeight > 0) {			var headerHeight = document.getElementById('header').offsetHeight;			var contentHeight = document.getElementById('content').offsetHeight;			var footerElement = document.getElementById('footer');			var footerHeight  = footerElement.offsetHeight;			if (windowHeight - (headerHeight + contentHeight + footerHeight) >= 0) {				footerElement.style.position = 'absolute';				footerElement.style.top = (windowHeight - footerHeight) + 'px';				footerElement.style.marginTop = '0';            }            else {                footerElement.style.position = 'static';			}            _footerHeight=footerHeight;		}	}}
meta: 5150	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5150/33efbfc2e9803aaf3656c961f43695b957c27298/footer.js/buggy/www/intermine/site/style/footer.js