// JScript File

/**
 * Code below taken from - http://www.evolt.org/article/document_body_doctype_switching_and_more/17/30655/
 *
 * Modified 4/22/04 to work with Opera/Moz (by webmaster at subimage dot com)
 *
 * Gets the full width/height because it's different for most browsers.
 */
function GetViewportHeight() {
	if (window.innerHeight!=window.undefined) {
	  return window.innerHeight;
	} // end if  
	if (document.compatMode=='CSS1Compat') {
	  return document.documentElement.clientHeight;
	} // end if  
	if (document.body) {
	  return document.body.clientHeight; 
	} // end if  
	return window.undefined; 
} // end function

function GetViewportWidth() {
	if (window.innerWidth!=window.undefined) {
	   return window.innerWidth; 
	} // end if   
	if (document.compatMode=='CSS1Compat') {
	  return document.documentElement.clientWidth; 
	} // end if  
	if (document.body) {
	  return document.body.clientWidth; 
	} // end if  
	return window.undefined; 
} // end function


