// JavaScript Document

function reposition() {

	var browserHeight = 0;
	if (typeof(window.innerWidth) == 'number')
		browserHeight = window.innerHeight;
	else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight))
		broswerHeight = document.documentElement.clientHeight;
		
	var footerRef = document.getElementById('footer_');
	var superfooterRef = document.getElementById('superfooter');
		
	if (browserHeight > 820) {
		footerRef.style.top = browserHeight - 230 + "px";
		superfooterRef.style.top = browserHeight - 230 + "px";
//		alert("browserHeight: " + browserHeight + "; height: " + footerRef.style.height);
	} else {
		footerRef.style.top = "590px";
		superfooterRef.style.top = "590px";
	}
	//alert(footerRef.style.top);
}
