function myDateVoid() { /** blank **/ }

function popup( strUrl, intWidth, intHeight)
{
	var newWindow = window.open(strUrl,"popWin","width=" + intWidth + ", height=" + intHeight + ", top=10,left=10, scrollbars=0, resizable=0");
}

function popupModal( strUrl, intWidth, intHeight)
{
    if (window.showModalDialog)
        var result = window.showModalDialog(strUrl, window, "dialogHeight:" + intHeight + "px; dialogWidth:" + intWidth + "px; edge:Raised; help:No; resizable:No; status:No; scroll:Yes");
    else
        var newWindow = window.open(strUrl, "newWindow", "height=" + intHeight + ",width=" + intWidth + ",scrollbars=no,resizable=no,toolbars=no,status=no,menubar=no,location=no");
}
	
function popupHelp( strTitle , strBody)
{
	var newWindow = window.open("","newWin","width=350, height=300, top=10,left=10, scrollbars=1, resizable=1");
	newWindow.document.open();
	newWindow.document.writeln("<html>");
	newWindow.document.writeln("	<head>");
	newWindow.document.writeln("		<title>MTC Help</title>");
	newWindow.document.writeln("		<link rel='stylesheet' type='text/css' href='/styles/cc/popuphelp.css'>");
	newWindow.document.writeln("	</head>");
	newWindow.document.writeln("	<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
	newWindow.document.writeln("		<table valign='top' border='0'>");
	newWindow.document.writeln("			<tr>");
	newWindow.document.writeln("				<td align='left' valign='bottom'>");
	newWindow.document.writeln("					<table cellpadding='0' cellspacing='0' border='0'>");
	newWindow.document.writeln("						<tr>");
	newWindow.document.writeln("							<td align='left' valign='bottom'><span class='headerSiteName'>" + strTitle + "</span><span class='headerHelp'>Help</span></td>");
	newWindow.document.writeln("						</tr>");
	newWindow.document.writeln("						<tr><td height='5' colspan='2'></td></tr>");
	newWindow.document.writeln("					</table>");
	newWindow.document.writeln("				</td>");
	newWindow.document.writeln("			</tr>");
	newWindow.document.writeln("		</table>");
	newWindow.document.writeln("		<div class='linksmiddle' id='linksmiddle'>");
	newWindow.document.writeln("			<span class='linksmiddle' onclick='window.close()'>Close&nbsp;Window</span>");
	newWindow.document.writeln("		</div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#E8E8E8;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#EEEEEE;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#F2F2F2;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#F4F4F4;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#F7F7F7;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#F9F9F9;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#FBFBFB;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#FDFDFD;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<table cellpadding='10' cellspacing='0' border='0' class='contentHolder'>");
	newWindow.document.writeln("			<tr>");
	newWindow.document.writeln("				<td valign='top' class='main'>");
	newWindow.document.writeln("					" + strBody);
	newWindow.document.writeln("				</td>");
	newWindow.document.writeln("			</tr>");
	newWindow.document.writeln("		</table>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#E8E8E8;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#EEEEEE;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#F2F2F2;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#F4F4F4;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#F7F7F7;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#F9F9F9;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#FBFBFB;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksbottom' style='background:#FDFDFD;'><img src='Images/blank.gif' height='1' width='1' border='0'></div>");
	newWindow.document.writeln("		<div class='linksmiddle' id='linksmiddle'>");
	newWindow.document.writeln("			<span class='linksmiddle' onclick='window.close()'>Close&nbsp;Window</span>");
	newWindow.document.writeln("		</div>");
	newWindow.document.writeln("	</body>");
	newWindow.document.writeln("</html>");
	newWindow.document.close();
}