// JavaScript Windows Listener

// Inner width from  window
function WindowWidth()
{
 if (window.innerWidth) return window.innerWidth;
 else if (document.body && document.body.offsetWidth) return document.body.offsetWidth;
 else return 0;
}
// Inner height from window
function WindowHeight()
{
 if (window.innerHeight) return window.innerHeight;
 else if (document.body && document.body.offsetHeight) return document.body.offsetHeight;
 else return 0;
}
//Flash Page
function ReconstructWindow()
{
	// Check if the sizes from page entry has changed
	if (WindowWidthStart != WindowWidth() || WindowHeightStart != WindowHeight())
 		ResizeCheck();
}
// HTML Page
function ConfigureContentBasedOnWindowSize()
{
	// Check if the sizes from page entry has changed
	if (WindowWidthStart != WindowWidth() || WindowHeightStart != WindowHeight())
 		ScrollbarCheck();
}
