function footer_scroll() {
	if (document.documentElement && (document.all || document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
		win_height = document.documentElement.clientHeight;
		win_width = document.documentElement.clientWidth;
		scroll_pos_Y = document.documentElement.scrollTop;
		scroll_pos_X = document.documentElement.scrollLeft;
		test=1;
		//alert(document.body.clientHeight);
	}
	else if (document.body) {
		win_height = document.body.clientHeight;
		win_width = document.body.clientWidth;
		scroll_pos_Y = document.body.scrollTop;
		scroll_pos_X = document.body.scrollLeft;
		test=2;
	}
	else {
		win_height = window.innerHeight;
		win_width = window.innerWidth;
		scroll_pos_Y = window.pageYOffset;
		scroll_pos_X = window.pageXOffset;
		test=3;
	}
	
	document.getElementById("footer").style.top = (win_height + scroll_pos_Y -42) +"px";
	document.getElementById("footer").style.left = (win_width + scroll_pos_X -285) +"px";
	window.setTimeout("footer_scroll();", 10);
}
