<!-- BEGIN

  // required - array of required field names in the form
  required1 = Array(
    "name",
    "password"
  );
  required2 = Array(
    "name",
    "email"
  );
  required3 = Array(
    "name",
    "password", 
    "new_password"
  );
  // required_text - printed in alert (instead of field name)
  required_text1 = Array(
    "your name",
    "your password"
  );
  required_text2 = Array(
    "your name",
    "your email address"
  );
  required_text3 = Array(
    "your name",
    "your old password",
    "your new password" 
  );
    
  url = 'http://www.mdsg.umd.edu/cgi-bin/rfp_review.pl';
  txt = new Array();
  txt['login'] = '<FORM METHOD="POST" NAME="edit" ACTION="' + url + '" ';
  txt['login'] += 'onSubmit="return check_required(this,required1,required_text1);">';
  txt['login'] += '<INPUT TYPE="hidden" NAME="what" VALUE="login">\n';
  txt['login'] += '<INPUT TYPE="hidden" NAME="rfp_nsi" VALUE="rfp">\n';
  txt['login'] += '<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0" WIDTH="350">\n';
  txt['login'] += '<TR>\n';
  txt['login'] += '<TD COLSPAN="2" ALIGN="LEFT" VALIGN="TOP">\n';
  txt['login'] += '<H3>\n';
  txt['login'] += 'Login\n';
  txt['login'] += '<\/H3>\n';
  txt['login'] += '<P>\n';
  txt['login'] += 'Please fill out and submit the following form:\n';
  txt['login'] += '<\/P>\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<\/TR>\n';
  txt['login'] += '<TR>\n';
  txt['login'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['login'] += 'Name<BR>\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['login'] += '<INPUT TYPE="TEXT" NAME="name" SIZE="30">\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<\/TR>\n';
  txt['login'] += '<TR>\n';
  txt['login'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['login'] += 'Password<BR>\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['login'] += '<INPUT TYPE="PASSWORD" NAME="password" SIZE="30">\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<\/TR>\n';
  txt['login'] += '<TR>\n';
  txt['login'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP WIDTH="15%">\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP COLSPAN="2">\n';
  txt['login'] += '<INPUT TYPE=SUBMIT VALUE=\'Continue\'> &nbsp;&nbsp; ';
  txt['login'] += '<INPUT TYPE=RESET VALUE=\'Clear Entries\'>&nbsp;&nbsp;<BR>\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<\/TR>\n';
  txt['login'] += '<\/TABLE>\n';
  txt['login'] += '<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="6" WIDTH="350">\n';
  txt['login'] += '<TR>\n';
  txt['login'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['login'] += '<A HREF="#" onClick="getForm(\'forgot\');return false">';
  txt['login'] += 'Forgot your password?<\/A>\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<TD ALIGN="RIGHT" VALIGN="TOP" NOWRAP>\n';
  txt['login'] += '<A HREF="#" onClick="getForm(\'change\');return false">';
  txt['login'] += 'Change your password<\/A>\n';
  txt['login'] += '<\/TD>\n';
  txt['login'] += '<\/TR>\n';
  txt['login'] += '<\/TABLE>\n';
  txt['login'] += '<\/FORM>\n';

  txt['forgot'] = '<FORM METHOD="POST" NAME="edit" ACTION="' + url + '" ';
  txt['forgot'] += 'onSubmit="return check_required(this,required2,required_text2);">';  
  txt['forgot'] += '<INPUT TYPE="hidden" NAME="what" VALUE="forgot">\n';
  txt['forgot'] += '<INPUT TYPE="hidden" NAME="rfp_nsi" VALUE="rfp">\n';
  txt['forgot'] += '<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0" WIDTH="350">\n';
  txt['forgot'] += '<TR>\n';
  txt['forgot'] += '<TD COLSPAN="2" ALIGN="LEFT" VALIGN="TOP">\n';
  txt['forgot'] += '<H3>\n';
  txt['forgot'] += 'Forgot Your Password?\n';
  txt['forgot'] += '<\/H3>\n';
  txt['forgot'] += '<P>\n';
  txt['forgot'] += 'Please fill out and submit the following form to have your password ';
  txt['forgot'] += 'sent to you by email:\n';
  txt['forgot'] += '<\/P>\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<\/TR>\n';
  txt['forgot'] += '<TR>\n';
  txt['forgot'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['forgot'] += 'Name<BR>\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['forgot'] += '<INPUT TYPE="TEXT" NAME="name" SIZE="30">\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<\/TR>\n';
  txt['forgot'] += '<TR>\n';
  txt['forgot'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['forgot'] += 'Email<BR>\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['forgot'] += '<INPUT TYPE="TEXT" NAME="email" SIZE="30">\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<\/TR>\n';
  txt['forgot'] += '<TR>\n';
  txt['forgot'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP WIDTH="15%">\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP COLSPAN="2">\n';
  txt['forgot'] += '<INPUT TYPE=SUBMIT VALUE=\'Continue\'> &nbsp;&nbsp; ';
  txt['forgot'] += '<INPUT TYPE=RESET VALUE=\'Clear Entries\'>&nbsp;&nbsp;<BR>\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<\/TR>\n';
  txt['forgot'] += '<\/TABLE>\n';
  txt['forgot'] += '<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="6" WIDTH="350">\n';
  txt['forgot'] += '<TR>\n';
  txt['forgot'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['forgot'] += '<A HREF="#" onClick="getForm(\'login\');return false">';
  txt['forgot'] += 'Login<\/A>\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<TD ALIGN="RIGHT" VALIGN="TOP" NOWRAP>\n';
  txt['forgot'] += '<A HREF="#" onClick="getForm(\'change\');return false">';
  txt['forgot'] += 'Change your password<\/A>\n';
  txt['forgot'] += '<\/TD>\n';
  txt['forgot'] += '<\/TR>\n';
  txt['forgot'] += '<TR>\n';
  txt['forgot'] += '<\/TABLE>\n';
  txt['forgot'] += '<\/FORM>\n';
  
  txt['change'] = '<FORM METHOD="POST" NAME="edit" ACTION="' + url + '" ';
  txt['change'] += 'onSubmit="return check_required(this,required3,required_text3);">';
  txt['change'] += '<INPUT TYPE="hidden" NAME="what" VALUE="change">\n';
  txt['change'] += '<INPUT TYPE="hidden" NAME="rfp_nsi" VALUE="rfp">\n';
  txt['change'] += '<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0" WIDTH="350">\n';
  txt['change'] += '<TR>\n';
  txt['change'] += '<TD COLSPAN="2" ALIGN="LEFT" VALIGN="TOP">\n';
  txt['change'] += '<H3>\n';
  txt['change'] += 'Change Your Password?\n';
  txt['change'] += '<\/H3>\n';
  txt['change'] += '<P>\n';
  txt['change'] += 'Please submit the following form to change your password:\n';
  txt['change'] += '<\/P>\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<\/TR>\n';
  txt['change'] += '<TR>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['change'] += 'Name<BR>\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['change'] += '<INPUT TYPE="TEXT" NAME="name" SIZE="30">\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<\/TR>\n';
  txt['change'] += '<TR>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['change'] += 'old Password<BR>\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['change'] += '<INPUT TYPE="PASSWORD" NAME="password" SIZE="30">\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<\/TR>\n';
  txt['change'] += '<TR>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['change'] += 'New Password<BR>\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['change'] += '<INPUT TYPE="PASSWORD" NAME="new_password" SIZE="30">\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<\/TR>\n';
  txt['change'] += '<TR>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP WIDTH="15%">\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP COLSPAN="2">\n';
  txt['change'] += '<INPUT TYPE=SUBMIT VALUE=\'Continue\'>  &nbsp;&nbsp; ';
  txt['change'] += '<INPUT TYPE=RESET VALUE=\'Clear Entries\'>&nbsp;&nbsp;<BR>\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<\/TR>\n';
  txt['change'] += '<\/TABLE>\n';
  txt['change'] += '<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="6" WIDTH="350">\n';
  txt['change'] += '<TR>\n';
  txt['change'] += '<TD ALIGN="LEFT" VALIGN="TOP" NOWRAP>\n';
  txt['change'] += '<A HREF="#" onClick="getForm(\'login\');return false">';
  txt['change'] += 'Login<\/A>\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<TD ALIGN="RIGHT" VALIGN="TOP" NOWRAP>\n';
  txt['change'] += '<A HREF="#" onClick="getForm(\'forgot\');return false">';
  txt['change'] += 'Forgot your password<\/A>\n';
  txt['change'] += '<\/TD>\n';
  txt['change'] += '<\/TR>\n';
  txt['change'] += '<\/TABLE>\n';
  txt['change'] += '<\/FORM>\n';
  
  function getForm(form_name) { 
    ChangeText('this_form','txt',form_name);
    ChangeText('this_msg',"");
  }
  
//END -->