var browserType;

if (document.layers) {browserType = "nn4"}
if (document.all) {browserType = "ie"}
if (window.navigator.userAgent.toLowerCase().match("gecko")){browserType= "gecko"}


function show_hide(boolShow, strDivID)
{
	switch (browserType)
	{
	case "gecko":
		document.divTarget = eval('document.getElementById(strDivID + "_divPerfInfo")');
		document.linkMore = eval('document.getElementById(strDivID + "_linkMore")');
		document.linkLess = eval('document.getElementById(strDivID + "_linkLess")');
		break
	case "ie":
		document.divTarget = eval('document.getElementById(strDivID + "_divPerfInfo")');
		document.linkMore = eval('document.getElementById(strDivID + "_linkMore")');
		document.linkLess = eval('document.getElementById(strDivID + "_linkLess")');
		break
	default:
		document.divTarget = eval('document.layers[strDivID + "_divPerfInfo"]');
		document.linkMore = eval('document.layers[strDivID + "_linkMore"]');
		document.linkLess = eval('ddocument.layers[strDivID + "_linkLess"]');
	}
	
	if(boolShow)
	{
		document.divTarget.style.display = "inline";
		document.linkLess.style.display = "inline";
		document.linkMore.style.display = "none";
	}
	else
	{
		document.divTarget.style.display = "none";
		document.linkLess.style.display = "none";
		document.linkMore.style.display = "inline";
	}
	


}