function dropFooter() {
	var windowHeight = 0;
	var ieMac = false;
	if (self.innerHeight) {
		windowHeight = self.innerHeight;
	}
	else if (document.documentElement.clientHeight) {
		windowHeight = document.documentElement.clientHeight;
	}
	else if (document.body) {
		windowHeight = document.body.clientHeight;
	}
	contentHeight = document.getElementById('wrapper').offsetHeight;
	footerHeight = document.getElementById('footer').offsetHeight;
	if (windowHeight != 0) {
		if (windowHeight > (contentHeight + footerHeight)) {
//			window.status = ("Footer dropped:" + windowHeight + ": " + contentHeight+ ": " +footerHeight);
//			document.getElementById('footer').style.bottom = '0px';
			// The above way is nicer but IE Mac gets in a pickle
			document.getElementById('footer').style.top = (windowHeight -footerHeight) + 'px';

		}
		else {
//			window.status = ("Footer not dropped: " + windowHeight + ": " +  contentHeight +": " +footerHeight);
			document.getElementById('footer').style.bottom = 'auto';
		}
	}
}	
