function ContentIEDependant()
{
    var an = navigator.appName;
    var r = false;
    
    var divString = "<div id=\"content\"";
    if (an == "Microsoft Internet Explorer")
    {
    	divString = divString + "style=\"width:943px; ";
    	divString = divString + "height:"+GetWindowHeight()+";\">";
    }
	else
	{
    	divString = divString + "style=\""; /*width:943px; ";*/
    	divString = divString + "height:"+GetWindowHeight()+";\">";
	}
    document.write(divString);
}

function GetTableHeight()
{
	var tableHeight = Math.floor(screen.height * 0.570);
	return tableHeight;
}

function GetWindowHeight()
{
	var myHeight = 0;
	if (typeof(window.innerWidth) == 'number') 
	{
		//Non-IE
		myHeight = window.innerHeight;
	} 
	else 
	{
		if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) 
		{
			//IE 6+ in 'standards compliant mode'
			myHeight = document.documentElement.clientHeight;
		}
		else 
		{
			if (document.body && (document.body.clientWidth || document.body.clientHeight))
			{
				//IE 4 compatible
				myHeight = document.body.clientHeight;
			}
		}
	}
	if (myHeight > 0)
	{
		myHeight = myHeight - 195; // subtract the amount of the screen we're already using
	}
	else
	{
		myHeight = GetTableHeight();
	}
	return myHeight;
}


function GetWindowWidth()
{
	var myWidth  = 0;
	if (typeof(window.innerWidth) == 'number') 
	{
		//Non-IE
		myWidth  = window.innerWidth;
	} 
	else 
	{
		if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) 
		{
			//IE 6+ in 'standards compliant mode'
			myWidth  = document.documentElement.clientWidth;
		}
		else 
		{
			if (document.body && (document.body.clientWidth || document.body.clientHeight))
			{
				//IE 4 compatible
				myWidth = document.body.clientWidth;
			}
		}
	}
	return myWidth;
}

function RefreshPage()
{
    //  This version of the refresh function will be invoked
    //  for browsers that support JavaScript version 1.2
    //
    
    //  The argument to the location.reload function determines
    //  if the browser should retrieve the document from the
    //  web-server.  In our example all we need to do is cause
    //  the JavaScript block in the document body to be
    //  re-evaluated.  If we needed to pull the document from
    //  the web-server again (such as where the document contents
    //  change dynamically) we would pass the argument as 'true'.
    //  
    //window.location.reload(false);
    var sURL = unescape(window.location.pathname);
    window.location.replace( sURL );
}

 