// JavaScript Document
function adjustLayout(){
	var hFooter = document.getElementById("footer");
	
	if (window.innerHeight && window.scrollMaxY) {// Firefox
		yWithScroll = window.innerHeight + window.scrollMaxY;
	} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
		yWithScroll = document.body.scrollHeight;
	} else { // works in Explorer 6 Strict, Mozilla (not FF) and Safari
		yWithScroll = document.body.offsetHeight;
  	}
	
	hFooter.style.top = yWithScroll - 30 + 'px';

}

function reloadOnSize(){
	if( browserCheck == 0 ){
		window.location.reload();
		
		adjustLayout();
	}
}