<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<title><wc@dialog_title></wc@dialog_title> </title>
	<link rel="stylesheet" href='../../../theme/css/censusmain.css' type="text/css">

	<script  src="../../js/usersmgr/userinfo.js" type="text/javascript"></script>
	<script  src="../../../js/images.js" type="text/javascript"></script>
	<script  src="../../../js/cmqsysmsg.js" type="text/javascript"></script>
	<script  src="../../js/usersmgr/usersmgrconstants.js" type="text/javascript"></script>
	<script  src="../../../js/mqsysutils.js" type="text/javascript"></script>
	<script  src="../../../js/window.js" type="text/javascript"></script>
	
	<script  type="text/javascript">
		//he should always define this object for the system messages
		var objSysMsg = new CMqSysMsg;
		var m_objMqButton=new MqButton();
		var m_blnChangeOnLogon=false;
		
		var PWD_MATCH_EXP="<WC@PWD_MATCH_EXP></WC@PWD_MATCH_EXP>";
		var QS_PROMPT_ON_LOGON="OnLogon";
		
		if(g_MqRef.MqStr.GetQueryStringValue(location.search, QS_PROMPT_ON_LOGON) == "1"){
			m_blnChangeOnLogon=true;
		}
		
		var m_blnChangeSubmitted=false;
	</script>

</head>
<WC@COMMENT>
<!----------------------------------------------------------------------------------------
		
		File: TmplPassword.htm
		File Version: 1.1
		Last Updated Date: October 9, 2000

		Copyright 1999-2000 MetaQuest Software, Inc. All rights reserved.
	
------------------------------------------------------------------------------------------>
</WC@COMMENT>
<body class="MainBackgroundWizard" marginheight="0" marginwidth="0" topmargin="10" leftmargin="10" marginwidth = "0" marginheight = "0" onload="ResizeTable();" onresize="ResizeTable()" onunload="CloseWindow()">
	<form name="frmAddUser" method="POST" action="" onsubmit="ChangePassword();return false;">
		<input type=hidden name="varCensusWebIni" value="..\..\..\..\CensusLogon.ini">
		<input type=hidden name="varUserName" value="<WC@USERNAME></WC@USERNAME>">
		<input type=hidden name="txtUserName" value="<WC@USERNAME></WC@USERNAME>">
	
			<div class="RoundedBox">
				<table width="100%" cellpadding="0" cellspacing="0" border='0' id="chngPwd" name="chngPwd">
				<!-- Contents -->
					<script type="text/javascript">
						if(m_blnChangeOnLogon){
							document.write('<tr><td class="normalfield" style="color:red;padding-bottom:10px" align="left" colspan="2" >&#160;Your password is expired and needs to be changed.</td></tr>');
						}
					</script>
					<tr>
						<td class="normalfield" width=35%>Password:</td>
						<td width=65%>
							<input class="AdminTextBoxWidth" type=password size=50 maxlength=50 
							name="txtPassword" onmouseover="this.className='AdminTextBoxWidthHover';" 
							onmouseout="this.className='AdminTextBoxWidth';">
						</td>
					</tr>

					<tr>
						<td class="normalfield" width=35%>Confirm Password:</td>
						<td width=65%>
							<input class="AdminTextBoxWidth" type=password size=50 maxlength=50 
							name="txtConfirmPassword" onmouseover="this.className='AdminTextBoxWidthHover';" 
							onmouseout="this.className='AdminTextBoxWidth';">
						</td>
					</tr>

					<tr><td colspan=2><hr></td></tr>

					<tr>
						<td class="AdminNormalTextDarkBG" align="left" colspan="2" >&nbsp; Password can contain a maximum of 50 characters.</td>
					</tr>
									
				<!-- End of Contents -->
				</table>
				
				</div>
				<table align="right" width="100">
					<tr>
						<td align="right">
							<script type="text/javascript">
								<!--
								m_objMqButton.WriteTextButtonHTML("OK", g_MqRef.RESX["BUTTON_OK"], 'ChangePassword()', "", 32, "", g_MqRef.RESX["BUTTON_OK"], 90);
								//-->
							</script>				
						</td>

						<td align="right">
							<script type="text/javascript">
								<!--
								m_objMqButton.WriteTextButtonHTML("Cancel", g_MqRef.RESX["BUTTON_CLOSE"], 'CloseWindow()', "", 32, "", g_MqRef.RESX["BUTTON_CLOSE"], 90);
								//-->
							</script>				
						</td>
					</tr>
				</table>

	</form>
</body>
</html>

