function window.onload()
{
	if (document.body.scrollHeight > document.body.clientHeight)
	{
		document.body.children(1).style.height = document.body.clientHeight-64 + "px";
		document.body.children(1).children(1).style.height = document.body.clientHeight-64 + "px";
	}
}

function window.onresize()
{
	if (document.body.scrollHeight != document.body.clientHeight)
	{
		document.body.children(1).style.height = document.body.clientHeight-64 + "px";
		document.body.children(1).children(1).style.height = document.body.clientHeight-64 + "px";
	}
}

function doPopup(sURL)
{
	var appName = window.navigator.appName;
	if (appName != "Microsoft Internet Explorer")
	{
		popupWindow=window.open(sURL, "popupWindow", 'scrollbars=yes,status=no,height=300,width=400,toolbar=no,directories=no,location=no,resizable=no,menubar=no')
	}
	else
	{
		popupWindow=window.open(sURL, "popupWindow", 'scrollbars=no,status=no,height=300,width=400,toolbar=no,directories=no,location=no,resizable=no,menubar=no')
	}
}

function checkThis(oNode)
{
	var appName = window.navigator.appName;
	if (appName == "Microsoft Internet Explorer")
	{
		var oShowCell = oNode.parentElement.parentElement.nextSibling.children(1);
		var oHideTable = oNode.parentElement.parentElement.parentElement;
		var i;
		var j;
		
		for (i=0;i<oHideTable.children.length;i++)
		{
			var n = oHideTable.children(i);
			
			for (j=0;j<n.children.length;j++)
			{
				if (n.children(j).className == "newsbodyhideable")
					n.children(j).style.display = "none";
			}
		}
		oShowCell.style.display='';
	}
	else
	{
		var oShowCell = oNode.parentNode.parentNode.nextSibling.childNodes[1];
		var oHideTable = oNode.parentNode.parentNode.parentNode;
		
		var i;
		var j;
		
		for (i=0;i<oHideTable.childNodes.length;i++)
		{
			var n = oHideTable.childNodes[i];
			
			for (j=0;j<n.childNodes.length;j++)
			{
				if (n.childNodes[j].className == "newsbodyhideable")
					n.childNodes[j].style.display = "none";
			}
		}
		oShowCell.style.display='';
	}
}

function Void()
{
}

function showTable(sTable)
{
	if (document.getElementById!=null)
	{
		var oTable = document.getElementById(sTable);
		
		if (oTable!=null)
			if (oTable.style.display!=null)
				oTable.style.display = "";
	}
}

