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