﻿function ShowCover()
{
	var intClientHeight = document.body.clientHeight;
	var intScrollHeight = document.body.scrollHeight;
	var intHeight;

	if (intScrollHeight > intClientHeight)
	{
		intHeight = intScrollHeight;
	}
	else
	{
		intHeight = intClientHeight;
	}
	
	document.getElementById("tdSpinner").style.height = intHeight + 'px';
	document.getElementById("Cover").style.width = document.body.scrollWidth;
	document.getElementById("Cover").style.visibility = 'visible';
	document.getElementById("floatdiv").style.visibility = 'visible';

	ie_bug();
}

function HideCover()
{
	document.getElementById("Cover").style.visibility = 'hidden';
	document.getElementById("floatdiv").style.visibility = 'hidden';
}

