function popupwin(s_URL) 
{
	window.open(s_URL,'','toolbar=no,menubar=no,scrollbars=yes,resizable=no,width=648,height=400');
}
function printerFriendly(s_URL) 
{
	window.open(s_URL,'','toolbar=yes,menubar=yes,scrollbars=yes,resizable=no,width=648,height=300');
}
function CloseWindow() {

	window.close();
}

function ToggleDisplay(oButton, oItems)
{
	if ((oItems.style.display == "") || (oItems.style.display == "none"))	{
		oItems.style.display = "block";
		oButton.src = "/images/b-form-remove.gif";
	}	else {
		oItems.style.display = "none";
		oButton.src = "/images/b-form-add.gif";
	}
	return false;
}

function PrintTE77(tp_id) {
	window.open('/crystalreports/cms/public/rptTE77.asp?TPId=' + tp_id, '', 'location=no');
}

function PrintTE78(tp_id) {
	window.open('/crystalreports/cms/public/rptTE78.asp?TPId=' + tp_id, '', 'location=no');
}

function HighlightRow(objRow)
{objRow.style.background = "#CBCEBE";}
	
function UnHighlightRow(objRow)
{objRow.style.background = "white";}