<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../Site.xsl"?>
<?xml-stylesheet type="text/css" href="../RenderFail.css"?>


<RDWAPage 
    helpurl="http://go.microsoft.com/fwlink/?LinkId=141038" 
    workspacename="Indianola&#32;Community&#32;School&#32;District" 
    baseurl="https://pca.indianola.k12.ia.us/rdweb/pages/en-us/"
    >
  <RenderFailureMessage>
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=unicode"/>
            <title>Error: Unable to display Password Change Application</title>
        </head>
        <body>
            <h1>Error: Unable to display Password Change Application</h1>
            <p>An unexpected error has occurred that is preventing this page from being displayed correctly.</p>
            <p>Viewing this page in Internet Explorer with the Enhanced Security Configuration enabled can cause such an error.</p>
            <p>Please try loading this page without the Enhanced Security Configuration enabled. If this error continues to be displayed, please contact IT Help Desk.</p>
        </body>
    </html> 
  </RenderFailureMessage>

  <HTMLMainContent>
  
      <form id="FrmLogin" name="FrmLogin" action="password.aspx" method="post">

        <table width="350" border="0" align="center" cellpadding="0" cellspacing="0">

            <tr>
            <td height="20">&#160;</td>
            </tr>

            <tr>
            <td>
                <table width="350" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="180" align="right">Username:</td>
                    <td width="7"></td>
					<td align="left" style="white-space:nowrap;">
						<span style="font-weight:bold;">INDIANOLA\</span>
							<input 
								id="UserOnly" 
								name="UserOnly"
								type="text"
								class="textInputField"
								size="20"
								autocomplete="off"
								placeholder="smithj" />
							<input 
								id="DomainUserName" 
								name="DomainUserName" 
								type="hidden" />
                    </td>
                </tr>
                </table>
            </td>
            </tr>

            <tr>
            <td height="7">&#160;</td>
            </tr>

            <tr>
            <td>
                <table width="350" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="180" align="right">Current password:</td>
                    <td width="7"></td>
                    <td align="right">
                    <input id="UserPass" name="UserPass" type="password" class="textInputField" size="25" autocomplete="off" />
                    </td>
                </tr>
                </table>
            </td>
            </tr>

            <tr>
            <td height="7">&#160;</td>
            </tr>

            <tr>
            <td>
                <table width="350" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="180" align="right">New password:</td>
                    <td width="7"></td>
                    <td align="right">
                    <input id="NewUserPass" name="NewUserPass" type="password" class="textInputField" size="25" autocomplete="off" />
                    </td>
                </tr>
                </table>
            </td>
            </tr>
            
            <tr>
            <td height="7">&#160;</td>
            </tr>

            <tr>
            <td>
                <table width="350" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="180" align="right">Confirm new password:</td>
                    <td width="7"></td>
                    <td align="right">
                    <input id="ConfirmNewUserPass" name="ConfirmNewUserPass" type="password" class="textInputField" size="25" autocomplete="off" />
                    </td>
                </tr>
                </table>
            </td>
            </tr>
            
    
            <tr id="tr4" style="display:none" >
            <td>
                <table>
                <tr>
                    <td height="20">&#160;</td>
                </tr>
                <tr>
                    <td><span class="wrng">Your password cannot be changed. Please contact the IT Help Desk for assistance.</span></td>
                </tr>
                </table>
            </td>
            </tr>

    
            <tr id="tr2" style="display:none" >
            <td>
                <table>
                <tr>
                    <td height="20">&#160;</td>
                </tr>
                <tr>
                    <td><span class="wrng">Please enter a new password.</span></td>
                </tr>
                </table>
            </td>
            </tr>

    
            <tr id="tr5" style="display:none" >
            <td>
                <table>
                <tr>
                    <td height="20">&#160;</td>
                </tr>
                <tr>
                    <td><span class="wrng">Your new password does not meet the length, complexity, or history requirements of your domain. Try choosing a different new password.</span></td>
                </tr>
                </table>
            </td>
            </tr>
    
    
            <tr id="tr3" style="display:none" >
            <td>
                <table>
                <tr>
                    <td height="20">&#160;</td>
                </tr>
                <tr>
                    <td><span class="wrng">The entered passwords do not match.</span></td>
                </tr>
                </table>
            </td>
            </tr>

    
            <tr id="tr1" style="display:none" >
            <td>
                <table align = "center">
                <tr>
                    <td height="20">&#160;</td>
                </tr>
                <tr>
                    <td><span class="wrng">Your password has been successfully changed.</span></td>
                </tr>
                <tr>
                    <td height="10">&#160;</td>
                </tr>
                <tr>
                    <td align = "center"><input type="button" class="formButton" id="OK" value="OK" onClick="window.location='password.aspx'"/></td>
                </tr>  

                </table>
            </td>
            </tr>

    
            <tr id="trErrorIncorrectCredentials" style="display:none" >
            <td>
                <table>
                <tr>
                    <td height="20">&#160;</td>
                </tr>
                <tr>
                    <td><span class="wrng">The user name or password that you entered is not valid. Try typing it again.</span></td>
                </tr>
                </table>
            </td>
            </tr>

    
            <tr>
            <td height="20">&#160;</td>
            </tr>
            <tr id="trButtons" style="display:" >
            <td align="right"><label><input type="submit" class="formButton" id="btnSignIn" value="Submit" /></label>
            </td>
            </tr>


            <tr>
            <td height="30">&#160;</td>
            </tr>

        </table>

      </form>

    <script type="text/javascript">
      document.addEventListener('DOMContentLoaded', function() {
        var frm      = document.getElementById('FrmLogin'),
            prefix   = 'indianola\\',
            userOnly = document.getElementById('UserOnly'),
            full     = document.getElementById('DomainUserName');

        frm.onsubmit = function() {
          var u = userOnly.value.trim();
          if (!u) {
            alert('Please enter your user name.');
            userOnly.focus();
            return false;
          }
          full.value = prefix + u;
          return true;
        };
      });
    </script>
  
  </HTMLMainContent>
</RDWAPage>
