

//---------------------------------------------------------------------------
// zf_stdGetClientWidth
//
//  Returns the width of the browser client area.
//
//  Prototype:
//
//		int zf_stdGetClientWidth();
//
//  Parameters:
//	  none.
//
//  Returns:
//	  width of the browser client area.
//
function zf_stdGetClientWidth()
{

	if (document.documentElement)
		return document.documentElement.clientWidth;
	else

		if (window.innerWidth)
			return window.innerWidth;
	else
		return 1024;
}

//---------------------------------------------------------------------------
// zf_stdGetClientHeight
//
//  Returns the height of the browser client area.
//
//  Prototype:
//
//		int zf_stdGetClientHeight();
//
//  Parameters:
//	  none.
//
//  Returns:
//	  height of the browser client area.
//
function zf_stdGetClientHeight()
{

	if (document.documentElement)
		return document.documentElement.clientHeight;
	else

		if (window.innerHeight)
			return window.innerHeight;
	else
		return 768;
}