You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

784 lines
22 KiB

<!-- $Id: addcnd.htt,v 1.22 2006/10/02 06:38:28 psims Exp $ -->
<HTML>
<HEAD>
<TITLE><%=PHRASE.419%> <%=PHRASE.103%> <%=PHRASE.105%></TITLE>
<BASEFONT FACE="Arial">
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
<STYLE>
<!--
SELECT {font-size: 10px;height: 150;width: 160;}
INPUT {font-size: 10px;height: 20;}
-->
</STYLE>
<%=SYSTEM.ENDIF%>
<%=SYSTEM.INCLUDEJS global.js %>
<SCRIPT language="JavaScript">
<!--
var objWdw, bInEvent;
var down, csec, syncform;
function wdw_onLoad() {
<%=SYSTEM.STARTIF?SESSION.registrar Y EXCLUDE %>
make_select_cndtype();
<%=SYSTEM.ENDIF%>
syncform = top.findex.document.syncform
syncform.csec.value = <%=SYSTEM.autologout%>;
monitor();
synclists(document.form1);
}
function monitor() {
monitorrepeat();
}
<%=SYSTEM.STARTIF?SESSION.registrar Y EXCLUDE %>
function make_select_cndtype() {
if (document.form1.grpownerchk.value == 'Y') {
document.form1.grptype.options[1].selected = true;
} else if (document.form1.registrarchk.value == 'Y') {
document.form1.grptype.options[2].selected = true;
} else if (document.form1.selfregchk.value == 'Y') {
document.form1.grptype.options[3].selected = true;
} else {
document.form1.grptype.options[0].selected = true;
}
}
<%=SYSTEM.ENDIF%>
function monitorrepeat() {
csec=syncform.csec.value;
csec--;
syncform.csec.value=csec;
if ((csec > 0)) {
down=setTimeout("monitorrepeat()",1000);
}
}
function set_change_flag() {
reset_autotimer();
document.form1.cndchange.value="Y";
}
function reset_autotimer() {
syncform.csec.value=<%=SYSTEM.autologout%>;
}
function synclists(oform) {
var i,j,c,n,s,t,u;
j=oform.regtest.length;
for (i=0; i < j; i++) {
oform.regfor.options[i].value="";
oform.regfor.options[i].text="";
oform.tkntest.options[i].value="";
oform.tkntest.options[i].text="";
}
s=oform.authtests.value;
j=s.length;
t="";
n=0;
for (i=0; i<=j; i++) {
c=s.charAt(i);
u=c.toString();
// hkh 1/20/04 check for trailing char '*' - indicates test is in progress
if ((u == "*") || (u == ";") || (i==j)) {
copylistoption(oform.regtest,t,oform.regfor,n,u)
n++;
t="";
} else {
t+=u;
}
}
s=oform.oldtests.value;
j=s.length;
t="";
n=0;
for (i=0; i<=j; i++) {
c=s.charAt(i);
u=c.toString();
if ((u == ";") || (i==j)) {
copylistoption(oform.regtest,t,oform.tkntest,n,u)
n++;
t="";
} else {
t+=u;
}
}
}
function copylistoption(olfm,lov,olto,loi,astrk) {
var oform,i;
var kk, trnc;
oform=olfm.form;
for (i=0; i<olfm.length; i++) {
kk=olfm.options[i].value;
trnc=kk.substring(1,10);
if (trnc == lov) {
olto.options[loi].value=trnc;
// hkh 1/20/04 prefix text with asteriks if test is in progress
if (astrk == "*") {
olto.options[loi].text="*** " + olfm.options[i].text;
} else {
olto.options[loi].text=olfm.options[i].text;
}
break;
}
}
}
function findtest(olst,v,w) {
var i,j;
j=-1;
for (i=0; i < olst.length; i++) {
if ((olst.options[i].value=="") && (olst.options[i].text== "<--- " + w)) {
j=i;
break;
} else {
if (olst.options[i].value==v) {
j=-2;
break;
}
}
}
return j;
}
//hkh 01/23/04 find text that matches value
function findtext(tlst,v,w) {
var i,k;
var kk,trnc;
k=0;
for (i=0; i < tlst.length; i++) {
if (tlst.options[i].value=="") {
break;
} else {
kk=tlst.options[i].value;
trnc=kk.substring(1,10);
if (trnc==v) {
if (w=="*** "+tlst.options[i].text) {
k=1;
}
break;
}
}
}
return k;
}
function addregtest(oform) {
var i,j,k,ofm,oto,n,s,t;
var kk, trnc, ind;
<%=CLIENT.forms%>
ofm=oform.regtest;
oto=oform.regfor;
s=oform.authtests.value;
t=(s == "") ? "" : ";";
n=-1;
oto.selectedIndex=-1;
for (i=0; i < oto.length; i++) {
if ((oto.options[i].value=="") && (oto.options[i].text=="")) {
n=i;
break;
}
}
if (n!=-1) {
for (i=0; i < ofm.length; i++) {
if (ofm.options[i].selected) {
//hkh 03/04 1st pos. of value has inactive indicator, Y=inactive, N=active - bug#26
kk=ofm.options[i].value;
ind=kk.substring(0,1);
if (ind == "Y") {
alert ("<%=PHRASE.768%>");
break;
}
trnc = kk.substring(1,10);
j=findtest(oto,trnc,ofm.options[i].text);
if (j == -1) {
ofm.options[i].selected=false;
oto.options[n].value=trnc;
oto.options[n].text="---> "+ofm.options[i].text;
oto.options[n].selected=true;
s+=t+oto.options[n].value;
t=";";
n++;
} else {
if (j!=-2) {
ofm.options[i].selected=false;
oto.options[j].value=trnc;
oto.options[j].text="---> "+ofm.options[i].text;
oto.options[j].selected=true;
s+=t+oto.options[j].value;
t=";";
n++;
}
}
// Ask if you want to use a test form
for (k=0; k < forms.length; k++) {
if (forms[k] == trnc && confirm("<%=PHRASE.777%>\n<%=PHRASE.778%>")) {
oform.usetestform.value = oform.usetestform.value+":"+trnc;
}
}
}
}
}
oform.authtests.value=s;
return false;
}
function rmvregtest(oform) {
var i,j,n,oto,s,t,ofm,k,utfa,l;
var kk, trnc;
ofm=oform.regtest;
oto=oform.regfor;
s="";
t="";
for (i=0; i < oto.length; i++) {
if (oto.options[i].value == "") {
continue;
}
if (oto.options[i].selected) {
oto.options[i].selected=false;
for (j=0; j < ofm.length; j++) {
kk=ofm.options[j].value;
trnc=kk.substring(1,10);
if (oto.options[i].value == trnc) {
// hkh 1/20/04 prompt admin to confirm deletion of test in progress
if (oto.options[i].text=="*** "+ofm.options[j].text) {
if (confirm("<%=PHRASE.737%>")) {
oto.options[i].text="<--- "+"*** "+ofm.options[j].text;
} else {
oto.selectedIndex=-1;
return false;
}
} else {
oto.options[i].text="<--- "+ofm.options[j].text;
utfa = oform.usetestform.value.split(':');
oform.usetestform.value="";
for (l=0; l<utfa.length; l++) {
if (utfa[l] != oto.options[i].value) {
oform.usetestform.value = oform.usetestform.value+":"+utfa[l];
}
}
}
break;
}
}
oform.rmtests.value += ";" + oto.options[i].value;
oto.options[i].value="";
} else {
s+=t+oto.options[i].value;
//hkh 01/23/04 append "*" back to test in progress value
k=findtext(ofm,oto.options[i].value,oto.options[i].text);
if (k==1) {
s+="*";
}
t=";";
}
}
oto.selectedIndex=-1;
oform.authtests.value=s;
return false;
}
function shwtkntest(oform) {
var i,sURL,t;
i=oform.tkntest.selectedIndex;
if (i != -1) {
t=oform.tkntest.options[i].value;
sURL="<%=PATHS.cgiroot%>/testreport.pl?tid="+oform.tid.value+"&clid=<%=SESSION.clid%>&cndid="+oform.cndid.value+"&tstid="+t;
window.open(sURL, "prtwindow");
}
return false;
}
function btnList(odoc) {
var sURL;
sURL="<%=PATHS.cgiroot%>/sadmin.pl?tid=<%=SESSION.tid%>&dtl=8&lang=<%=SESSION.language%>";
window.document.location.replace(sURL);
return false;
}
<%=SYSTEM.STARTIF?FORM.prevenb 1 INCLUDE %>
function btnPrev(oform) {
oform.dbop.value="prev";
oform.submit();
return false;
}
<%=SYSTEM.ENDIF%>
<%=SYSTEM.STARTIF?FORM.nxtenb 1 INCLUDE %>
function btnNext(oform) {
oform.dbop.value="nxt";
oform.submit();
return false;
}
<%=SYSTEM.ENDIF%>
function btnNew(oform) {
oform.dbop.value="new";
oform.submit();
return false;
}
function btnMaster(oform) {
var i,j,sURL;
if (oform.regfor.selectedIndex < 0) {
alert('<%=PHRASE.854%> <%=PHRASE.853%>');
return false;
}
j=oform.regtest.length;
for (i=0; i < j; i++) {
if (oform.regfor.options[i].selected) {
if (oform.regfor.options[i].text.substring(0,3) == "---") {
alert('<%=PHRASE.854%> <%=PHRASE.853%>');
continue;
}
// Open new window and send it to tmaster.pl
sURL="<%=PATHS.cgiroot%>/tmaster.pl";
sURL+="?tid=<%=SESSION.tid%>";
sURL+="&clid=<%=CLIENT.clid%>";
sURL+="&cndid=<%=CANDIDATE.uid%>";
sURL+="&tstid="+oform.regfor.options[i].value;
//objWdw = window.open("", "testwindow", "height="+screen.height+"width="+screen.width+",screenX=0,screenY=0,left=0,top=0,resizable=yes,scrollbars=auto");
objWdw = window.open("", "masterwindow"+i, "");
objWdw.document.open();
objWdw.document.location=sURL;
}
}
return false;
}
function btnOCR(oform) {
var i,j,sURL;
if (oform.regfor.selectedIndex < 0) {
alert('<%=PHRASE.854%> <%=PHRASE.855%>');
return false;
}
j=oform.regtest.length;
for (i=0; i < j; i++) {
if (oform.regfor.options[i].selected) {
if (oform.regfor.options[i].text.substring(0,3) == "---") {
alert('<%=PHRASE.854%> <%=PHRASE.855%>');
continue;
}
// Open new window and send it to tocrinp.pl
sURL="<%=PATHS.cgiroot%>/tocrinp.pl";
sURL+="?tid=<%=SESSION.tid%>";
sURL+="&clid=<%=CLIENT.clid%>";
sURL+="&cndid=<%=CANDIDATE.uid%>";
sURL+="&tstid="+oform.regfor.options[i].value;
sURL+="&lang=<%=SESSION.language%>";
sURL+="&unscored=P";
sURL+="&completed=";
sURL+="&dbop=dtl";
objWdw = window.open("", "ocrwindow"+i, "");
objWdw.document.open();
objWdw.document.location=sURL;
}
}
return false;
}
function btnResendEmails(oform) {
var i,j,sURL;
if (oform.tkntest.selectedIndex < 0) {
alert('<%=PHRASE.870%> <%=PHRASE.869%>');
return false;
}
oform.dbop.value="resend";
oform.submit();
return false;
}
function form_onSubmit(objForm) {
objForm.dbop.value="";
reset_autotimer();
if ( (objForm.grptype.value != "S") && (objForm.selfregstatic.value == "Y") ) {
if (confirm("<%=PHRASE.889%>")) {
} else {
return false;
}
}
if (objForm.cndid.value == "") {
alert("<%=PHRASE.483%>");
objForm.cndid.focus;
return false;
} else {
if ((objForm.pwd.value == "") || ((objForm.pwd.value.length < 3) && (objForm.pwd.value != "#"))) {
alert("<%=PHRASE.484%>");
objForm.pwd.focus;
return false;
} else {
if (objForm.nmf.value == "") {
alert("<%=PHRASE.485%>");
objForm.nmf.focus;
return false;
} else {
if (objForm.nml.value == "") {
alert("<%=PHRASE.485%>");
objForm.nml.focus;
return false;
} else {
objForm.submit();
return false;
}
}
}
}
}
function cndid_check(objForm) {
var sURL,down;
reset_autotimer();
if (objForm.chkcndid.checked) {
sURL = "<%=PATHS.cgiroot%>/checkid.pl?tid=<%=SESSION.tid%>&cndid="+objForm.cndid.value;
objWdw = window.open("", "helpwindow", "height=50, width=300, resizable=yes, scrollbars=auto");
objWdw.document.open();
objWdw.document.write("<CENTER><%=PHRASE.486%><BR><%=PHRASE.479%></CENTER>");
objWdw.document.location = sURL;
down=setTimeout("Close_Message()",3000);
objForm.chkcndid.checked=false;
}
}
function Close_Message() {
objWdw.close();
reset_autotimer();
}
window.onload=wdw_onLoad;
if ("<%=FORM.respmsg%>" != "") {
alert("<%=FORM.respmsg%>");
}
// -->
</SCRIPT>
</HEAD>
<BODY BACKGROUND="<%=SYSTEM.BACKGROUND%>" BGCOLOR="<%=SYSTEM.BGCOLOR%>"
TEXT="<%=SYSTEM.TEXT%>" LINK="<%=SYSTEM.LINK%>"
VLINK="<%=SYSTEM.VLINK%>" ALINK="<%=SYSTEM.ALINK%>">
<!--
<INPUT TYPE=text value="grpowner: <%=CANDIDATE.grpowner%>">
<INPUT TYPE=text value="sreg: <%=CANDIDATE.selfreg%>">
<INPUT TYPE=text value="registrar: <%=CANDIDATE.registrar%>">
-->
<CENTER>
<FORM NAME="form1" METHOD=POST ACTION="<%=PATHS.cgiroot%>/addcnd.pl">
<INPUT TYPE="HIDDEN" NAME="tid" VALUE="<%=SESSION.tid%>">
<INPUT TYPE="HIDDEN" NAME="new" VALUE="<%=FORM.new%>">
<INPUT TYPE=hidden NAME="sortedkey" VALUE="<%=FORM.sortedkey%>">
<INPUT TYPE=hidden NAME="createdby" VALUE="<%=CANDIDATE.createdby%>">
<INPUT TYPE=hidden NAME="registrarchk" VALUE="<%=CANDIDATE.registrar%>">
<INPUT TYPE=hidden NAME="grpownerchk" VALUE="<%=CANDIDATE.grpowner%>">
<INPUT TYPE=hidden NAME="selfregchk" VALUE="<%=CANDIDATE.selfreg%>">
<INPUT TYPE=hidden NAME="imaregistrar" VALUE="<%=SESSION.registrar%>">
<INPUT TYPE=hidden NAME="validated" VALUE="<%=CANDIDATE.validated%>">
<INPUT NAME="dbop" TYPE=HIDDEN VALUE="">
<INPUT NAME="rmtests" TYPE=HIDDEN VALUE="">
<INPUT NAME="usetestform" TYPE=HIDDEN VALUE="">
<INPUT NAME="cndchange" TYPE=HIDDEN VALUE="N">
<INPUT TYPE="HIDDEN" NAME="clcnd1" VALUE="<%=CLIENT.clcnd1%>">
<INPUT TYPE="HIDDEN" NAME="clcnd2" VALUE="<%=CLIENT.clcnd2%>">
<INPUT TYPE="HIDDEN" NAME="clcnd3" VALUE="<%=CLIENT.clcnd3%>">
<INPUT TYPE="HIDDEN" NAME="clcnd4" VALUE="<%=CLIENT.clcnd4%>">
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR>
<TD ALIGN="center" VALIGN="middle" NOWRAP>
<%=CLIENT.testlogo%><BR>
</TD>
<TD ALIGN="center" VALIGN="middle" NOWRAP>
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>">
<B><I><%=CLIENT.clnmc%></I></B><BR>
</FONT>
</TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="center" VALIGN="middle" NOWRAP>
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>"><B><I><%=FORM.respmsg%></I></B></FONT>
</TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="center" VALIGN="middle" NOWRAP>
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>"><B><%=PHRASE.339%></B></FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.260%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=SYSTEM.STARTIF?FORM.new N INCLUDE %>
<INPUT TYPE=TEXT NAME="cndid" SIZE=30 MAXLENGTH=50 VALUE="<%=CANDIDATE.uid%>" readonly>
<INPUT TYPE=HIDDEN NAME="selfregstatic" VALUE="<%=CANDIDATE.selfreg%>">
<%=SYSTEM.ELSE%>
<INPUT TYPE=TEXT NAME="cndid" SIZE=30 MAXLENGTH=50 VALUE="<%=CANDIDATE.uid%>" onChange="set_change_flag()">
<INPUT TYPE=CHECKBOX NAME="chkcndid" onClick="cndid_check(this.form)"><FONT SIZE=1><%=PHRASE.111%></FONT>
<%=SYSTEM.ENDIF%>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.310%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<INPUT TYPE=TEXT NAME="pwd" SIZE=30 MAXLENGTH=50 VALUE="<%=CANDIDATE.pwd%>" onChange="set_change_flag()">
<%=SYSTEM.STARTIF?SESSION.registrar Y EXCLUDE %>
<SELECT NAME="grptype" onChange="set_change_flag()">
<OPTION VALUE="C"><FONT SIZE=1>Candidate</FONT></OPTION>
<OPTION VALUE="G"><FONT SIZE=1>Group Owner</FONT></OPTION>
<OPTION VALUE="R"><FONT SIZE=1>Registrar</FONT></OPTION>
<OPTION VALUE="S"><FONT SIZE=1>Self Registered Candidate</FONT></OPTION>
</SELECT>
<%=SYSTEM.ENDIF%>
<%=SYSTEM.STARTIF?SESSION.registrar Y INCLUDE %>
<INPUT TYPE=HIDEN NAME="grptype" VALUE="">
<%=SYSTEM.ENDIF%>
</FONT>
</TD>
</TR>
<%=SYSTEM.STARTIF?CLIENT.clreqadr Y INCLUDE %>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.283%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<INPUT TYPE=TEXT NAME="sal" SIZE=6 MAXLENGTH=15 VALUE="<%=CANDIDATE.sal%>" onChange="set_change_flag()">
<INPUT TYPE=TEXT NAME="nmf" SIZE=15 MAXLENGTH=20 VALUE="<%=CANDIDATE.nmf%>" onChange="set_change_flag()">
<INPUT TYPE=TEXT NAME="nmm" SIZE=1 MAXLENGTH=1 VALUE="<%=CANDIDATE.nmm%>" onChange="set_change_flag()">
<INPUT TYPE=TEXT NAME="nml" SIZE=20 MAXLENGTH=20 VALUE="<%=CANDIDATE.nml%>" onChange="set_change_flag()">
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.63%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<INPUT TYPE=TEXT NAME="adr" SIZE=50 MAXLENGTH=50 VALUE="<%=CANDIDATE.adr%>" onChange="set_change_flag()">
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.114%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<INPUT TYPE=TEXT NAME="cty" SIZE=25 MAXLENGTH=25 VALUE="<%=CANDIDATE.cty%>" onChange="set_change_flag()">
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.397%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<INPUT TYPE=TEXT NAME="ste" SIZE=4 MAXLENGTH=4 VALUE="<%=CANDIDATE.ste%>" onChange="set_change_flag()">
<%=PHRASE.316%> <INPUT TYPE=TEXT NAME="pst" SIZE=10 MAXLENGTH=10 VALUE="<%=CANDIDATE.pst%>" onChange="set_change_flag()">
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.142%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<INPUT TYPE=TEXT NAME="ctry" SIZE=4 MAXLENGTH=4 VALUE="<%=CANDIDATE.ctry%>" onChange="set_change_flag()">
</FONT>
</TD>
</TR>
<%=SYSTEM.ELSE%>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.281%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<INPUT TYPE=HIDDEN NAME="sal" SIZE=6 MAXLENGTH=15 VALUE="<%=CANDIDATE.sal%>">
<INPUT TYPE=TEXT NAME="nmf" SIZE=15 MAXLENGTH=20 VALUE="<%=CANDIDATE.nmf%>" onChange="set_change_flag()">
<INPUT TYPE=TEXT NAME="nmm" SIZE=1 MAXLENGTH=1 VALUE="<%=CANDIDATE.nmm%>" onChange="set_change_flag()">
<INPUT TYPE=TEXT NAME="nml" SIZE=20 MAXLENGTH=20 VALUE="<%=CANDIDATE.nml%>" onChange="set_change_flag()">
<INPUT TYPE=HIDDEN NAME="adr" SIZE=50 MAXLENGTH=50 VALUE="<%=CANDIDATE.adr%>">
<INPUT TYPE=HIDDEN NAME="cty" SIZE=25 MAXLENGTH=25 VALUE="<%=CANDIDATE.cty%>">
<INPUT TYPE=HIDDEN NAME="ste" SIZE=4 MAXLENGTH=4 VALUE="<%=CANDIDATE.ste%>">
<INPUT TYPE=HIDDEN NAME="pst" SIZE=10 MAXLENGTH=10 VALUE="<%=CANDIDATE.pst%>">
<INPUT TYPE=HIDDEN NAME="ctry" SIZE=4 MAXLENGTH=4 VALUE="<%=CANDIDATE.ctry%>">
<%=SYSTEM.STARTIF?CLIENT.clcnd1 NULL INCLUDE %>
<INPUT TYPE=HIDDEN NAME="cnd1" SIZE=16 MAXLENGTH=16 VALUE="<%=CANDIDATE.cnd1%>">
<%=SYSTEM.ENDIF%>
<%=SYSTEM.STARTIF?CLIENT.clcnd2 NULL INCLUDE %>
<INPUT TYPE=HIDDEN NAME="cnd2" SIZE=16 MAXLENGTH=16 VALUE="<%=CANDIDATE.cnd2%>">
<%=SYSTEM.ENDIF%>
</FONT>
</TD>
</TR>
<%=SYSTEM.ENDIF%>
<TR>
<TD ALIGN="right" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<%=PHRASE.188%>&nbsp;
</FONT>
</TD>
<TD ALIGN="left" VALIGN="middle" NOWRAP>
<FONT SIZE=2>
<INPUT TYPE=TEXT NAME="eml" SIZE=30 MAXLENGTH=100 VALUE="<%=CANDIDATE.eml%>" onChange="set_change_flag()">
</FONT>
</TD>
</TR>
<INPUT TYPE=HIDDEN NAME="createdate" SIZE=30 MAXLENGTH=100 VALUE="<%=CANDIDATE.createdate%>" onChange="set_change_flag()">
<%=SYSTEM.STARTIF?CLIENT.clcnd1 NULL EXCLUDE %>
<%=CLIENT.clcnd1inputf%>:&nbsp;
<%=SYSTEM.ENDIF%>
<%=SYSTEM.STARTIF?CLIENT.clcnd2 NULL EXCLUDE %>
<%=CLIENT.clcnd2inputf%>:&nbsp;
<%=SYSTEM.ENDIF%>
<%=SYSTEM.STARTIF?CLIENT.clcnd3 NULL EXCLUDE %>
<%=CLIENT.clcnd3inputf%>:&nbsp;
<%=SYSTEM.ENDIF%>
<%=SYSTEM.STARTIF?CLIENT.clcnd4 NULL EXCLUDE %>
<%=CLIENT.clcnd4inputf%>:&nbsp;
<%=SYSTEM.ENDIF%>
<!-- v sac replaced for usability -->
<TR>
<TD colspan=2 align=center valign=top>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=1 WIDTH=100%>
<TR>
<TD align=center valign=middle>
<FONT SIZE=2>
<%=PHRASE.86%> <%=PHRASE.422%>/<%=PHRASE.403%>
</FONT>
</TD>
<TD align=center valign=middle>
<FONT SIZE=2>
<%=PHRASE.253%>
</FONT>
</TD>
<TD align=center valign=middle>
<FONT SIZE=2>
<%=PHRASE.233%>
</FONT>
</TD>
</TR>
<TR>
<TD align=center valign=middle>
<FONT SIZE=2>
<SELECT NAME="regtest" size="8" multiple onClick="reset_autotimer()" onDblClick="return addregtest(this.form)">
<%=CLIENT.TESTS%>
</SELECT>
</FONT>
</TD>
<TD align=center valign=middle>
<FONT SIZE=2>
<INPUT TYPE=HIDDEN NAME="authtests" VALUE="<%=CANDIDATE.authtestslist%>">
<SELECT NAME="regfor" size="8" multiple onClick="reset_autotimer()" onDblClick="return rmvregtest(this.form)">
<%=CLIENT.TESTS%>
</SELECT>
</FONT>
</TD>
<TD align=center valign=middle>
<FONT SIZE=2>
<INPUT TYPE=hidden name="oldtests" value="<%=CANDIDATE.oldtestslist%>">
<SELECT NAME="tkntest" size="8" onClick="reset_autotimer()" onDblClick="return shwtkntest(this.form)">
<%=CLIENT.TESTS%>
</SELECT>
</FONT>
</TD>
</TR>
<TR>
<TD align=center valign=middle>
<FONT SIZE=2>
<INPUT TYPE=BUTTON NAME="addsel" VALUE=" <%=PHRASE.60%> --> " onClick="return addregtest(this.form)">
</FONT>
</TD>
<TD align=center valign=middle>
<FONT SIZE=2>
<INPUT TYPE=BUTTON NAME="rmvsel" VALUE=" <-- <%=PHRASE.344%> " onClick="return rmvregtest(this.form)">
</FONT>
</TD>
<TD align=center valign=middle>
<FONT SIZE=2>
<INPUT TYPE=BUTTON NAME="shwsel" VALUE=" <%=PHRASE.543%> " onClick="return shwtkntest(this.form)">
</FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<!--^ sac end replaced for ease of use -->
<TR>
<TD colspan=2 ALIGN="center" VALIGN="middle" NOWRAP>
<br>
<TABLE cellpadding="0" cellspacing="0" border="0" width=100%>
<TR>
<TD>
<FONT SIZE=2>
<%=SYSTEM.STARTIF?FORM.new N INCLUDE %>
<INPUT TYPE=BUTTON name="refresh" VALUE=" Refresh " onClick="window.document.location.reload();">
<%=SYSTEM.ENDIF%>
<INPUT TYPE=BUTTON name="clist" VALUE=" || List || " onClick="return btnList(window.document)">
&nbsp;<br>
</FONT>
</TD>
<TD align=center>
<FONT SIZE=2>
<INPUT TYPE=BUTTON name="print_master" VALUE="<%=PHRASE.853%>" onClick="return btnMaster(this.form)">
<INPUT TYPE=BUTTON name="input_answers" VALUE="<%=PHRASE.855%>" onClick="return btnOCR(this.form)">
<INPUT TYPE=BUTTON name="resend_emails" VALUE="<%=PHRASE.869%>" onClick="return btnResendEmails(this.form)">
<br>
<br>
<INPUT TYPE=SUBMIT name="save" VALUE="<%=PHRASE.2%>" onClick="return form_onSubmit(this.form)">
<INPUT TYPE=SUBMIT name="newagain" VALUE="<%=PHRASE.286%>" onClick="return btnNew(this.form)">
</FONT>
</TD>
<TD align=right>
<FONT SIZE=2>
&nbsp;
<%=SYSTEM.STARTIF?FORM.prevenb 1 INCLUDE %>
<INPUT TYPE=BUTTON name="prev" VALUE=" << Prev " onClick="return btnPrev(this.form)">
<%=SYSTEM.ENDIF%>
<%=SYSTEM.STARTIF?FORM.nxtenb 1 INCLUDE %>
<INPUT TYPE=BUTTON name="next" VALUE=" Next >> " onClick="return btnNext(this.form)">
<%=SYSTEM.ENDIF%>
</FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</FORM>
</CENTER>
<TD align=left>
<FONT SIZE=1>
<%=PHRASE.727%>
<br>
<%=PHRASE.728%>
<br>
<%=PHRASE.736%>
</FONT>
</TD>
<CENTER>
<FORM NAME="syncform">
<INPUT TYPE=HIDDEN NAME="parentclosed">
<INPUT TYPE=HIDDEN NAME="autotimer">
<INPUT TYPE=HIDDEN NAME="navop" value="">
</FORM>
<P>
<FONT SIZE=1 COLOR="#8C8C8C">
<%=PHRASE.136%><BR>
</FONT>
</P>
</CENTER>
</BODY>
</HTML>