//====================================================================================
//- Get My Window Area
//====================================================================================
function getMyWindowTop()
{
	return 16;
}

function getMyWindowLeft()
{
	return 16;
}

function getMyWindowHeight()
{
	return getWindowHeight() - 32;
}

function getMyWindowWidth()
{
	return getWindowWidth() - 32;
}

//====================================================================================
//- Window Height and Width
//====================================================================================
function getWindowHeight()
{
	if (window.innerHeight)
		return window.innerHeight;
		
	if (document.body.clientHeight)
		return document.body.clientHeight;
		
	if (document.documentElement.clientHeight)
		return document.documentElement.clientHeight;
}

function getWindowWidth()
{
	if (window.innerWidth)
		return window.innerWidth;
		
	if (document.body.clientWidth)
		return document.body.clientWidth;
		
	if (document.documentElement.clientWidth)
		return document.documentElement.clientWidth;
}