function posFooter() {
	var scrOfX = 0, scrOfY = 0;
	if( typeof( window.pageYOffset ) == 'number' ) {
		scrOfY = window.pageYOffset; scrOfX = window.pageXOffset;
	} else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
		scrOfY = document.body.scrollTop; scrOfX = document.body.scrollLeft;
	} else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
		scrOfY = document.documentElement.scrollTop; scrOfX = document.documentElement.scrollLeft;
	}
	
	var Height = document.documentElement.clientHeight;
	posy = Height + scrOfY - 34;
	
	document.getElementById('footer').style.top = posy + 'px';
}

function appelposFooter() {
	setInterval ( "posFooter()", 1 );
}

window.onload = function() {
	appelposFooter();
}