step6.htm revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
98N/A<script type="text/javascript">
98N/A
479N/A function agentPasswordResponse(response) {
98N/A if (response.responseText == "true") {
98N/A $('agentPasswordStatus').innerHTML = okString;
98N/A $('nextTabButton').disabled = false;
98N/A } else {
98N/A $('agentPasswordStatus').innerHTML = errorImage +
98N/A '<small>' + response.responseText + '</small>';
98N/A $('nextTabButton').disabled = true;
98N/A }
98N/A }
98N/A
98N/A function validateAgentPasswords() {
98N/A var link = "?actionLink=checkPasswords";
98N/A var cValue = "confirm=" + $('agentConfirm').value;
98N/A var aValue = "&password=" + $('agentPassword').value;
98N/A var oValue = "&otherPassword=" + $('adminConfirm').value;
98N/A var type = "&type=agent";
98N/A ie7fix++;
98N/A AjaxUtils.doPost(null, "$context$path" + link + "&ie7fix=" + ie7fix,
98N/A cValue + aValue + oValue + type, agentPasswordResponse, null, null);
98N/A }
98N/A
98N/A function initStep6() {
98N/A $('nextTabButton').disabled = true;
98N/A }
98N/A YAHOO.util.Event.onDOMReady(initStep6);
98N/A</script>
98N/A
493N/A<div style="margin-left:10px;">
98N/A <h1>$page.getLocalizedString("agent.step.title")<img class="pointer" src="$context/assets/images/message.gif"/></h1>
98N/A <p>$page.getLocalizedString("agent.step.description")</p>
98N/A
493N/A <div class="summaryPanel" style="width:570px">
98N/A <p id="allfields"><em>*</em>&nbsp;$page.getLocalizedString("required.field.label")</p>
98N/A <b class="xtop"><b class="xt1"></b><b class="xt2"></b><b class="xt3"></b><b class="xt4"></b></b>
493N/A <div class="headerBox">$page.getLocalizedString("agent.step.subtitle")</div>
98N/A <div class="bodyBox" style="height:180px">
98N/A <span>
479N/A <table class="temp">
479N/A <tr>
479N/A <td colspan="2">
479N/A <b>$page.getLocalizedString("agent.user.name")</b>
98N/A </td>
493N/A </tr>
493N/A <tr>
493N/A <td>
493N/A <em>&nbsp;*&nbsp;</em>$page.getLocalizedString("password.label")
98N/A </td>
493N/A <td>
493N/A <input id="agentPassword" name="agentPassword"
479N/A type="password" value="" class="text"
98N/A onkeyup="APP.callDelayed(this,validateAgentPasswords)"
493N/A onchange="APP.callDelayed(this,validateAgentPasswords)">
493N/A <span id="agentPasswordStatus"></span>
493N/A </td>
493N/A </tr>
493N/A <tr>
493N/A <td>
493N/A <em>&nbsp;*&nbsp;</em>$page.getLocalizedString("confirm.label")
98N/A </td>
98N/A <td>
98N/A <input id="agentConfirm" name="agentConfirm"
98N/A type="password" value="" class="text"
98N/A onkeyup="APP.callDelayed(this,validateAgentPasswords)"
479N/A onchange="APP.callDelayed(this,validateAgentPasswords)"/>
98N/A </td>
98N/A </tr>
479N/A </table>
98N/A </span>
98N/A </div>
98N/A <b class="xbottom">
98N/A <b class="xbGray1"></b>
98N/A <b class="xbGray2"></b>
493N/A <b class="xbGray3"></b>
<b class="xbGray4"></b>
</b>
</div>
</div>