﻿// JavaScript Document
function getWH()
{
		if( window.innerHeight && window.scrollMaxY ){ // Firefox 
			pageHeight = window.innerHeight + window.scrollMaxY;
		}else if( document.body.scrollHeight > document.body.offsetHeight ) // all but Explorer Mac
		{
			pageHeight = document.body.scrollHeight;
		}else{ // works in Explorer 6 Strict, Mozilla (not FF) and Safari 
			pageHeight = document.body.offsetHeight + document.body.offsetTop; 
		}
		return pageHeight;	
}//end func