<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript"><!--
var off = false;

function copyData() {
    document.myCopy.passwordCopy.value = document.html40.password.value;
    for (var i=0;i < document.html40.radio.length;i++)
        if (document.html40.radio[i].checked)
            document.myCopy.radioCopy.value = i;
    document.myCopy.selectCopy.value = document.html40.select.selectedIndex;
    document.myCopy.textCopy.value = document.html40.text.value;
    document.myCopy.textareaCopy.value = document.html40.textarea.value;
}

function mySuspend() {
    off = !off;
    copyData();
}

function myResume() {
    off=false;
}
//--></SCRIPT>

<FORM NAME="html40" onSubmit="if (off) return false">
<PRE>
Button        <INPUT NAME="button" TYPE="BUTTON" VALUE="Button" onClick="if (off) return false">
Checkbox      <INPUT NAME="checkbox" TYPE="CHECKBOX" onClick="if (off) this.checked=!this.checked">
File          <INPUT NAME="file" TYPE="FILE">
Password      <INPUT NAME="password" TYPE="PASSWORD" onChange="if (off) this.value=document.myCopy.passwordCopy.value">
Radio         <INPUT NAME="radio" TYPE="RADIO" CHECKED onClick="if (off) document.html40.radio[document.myCopy.radioCopy.value].checked=true">
              <INPUT NAME="radio" TYPE="RADIO" onClick="if (off) document.html40.radio[document.myCopy.radioCopy.value].checked=true">
Reset object  <INPUT NAME="reset" TYPE="RESET" onClick="if (off) return false">
Select object <SELECT NAME="select" onChange="if (off) this[document.myCopy.selectCopy.value].selected=true"><OPTION>1<OPTION>2<OPTION>3</SELECT>
Submit object <INPUT NAME="submit" TYPE="SUBMIT" onClick="if (off) return false">
Text          <INPUT NAME="text" TYPE="TEXT" NAME="myText" onChange="if (off) this.value=document.myCopy.textCopy.value">
Textarea      <TEXTAREA NAME="textarea" onChange="if (off) this.value=document.myCopy.textareaCopy.value"></TEXTAREA>
</PRE>
</FORM>

<FORM NAME="myCopy">
<INPUT TYPE="BUTTON" VALUE="Suspend Form" onClick="if (!off) {off = !off;copyData()}">
<INPUT TYPE="BUTTON" VALUE="Resume Form" onClick="off=false">
<INPUT TYPE="HIDDEN" NAME="passwordCopy">
<INPUT TYPE="HIDDEN" NAME="radioCopy">
<INPUT TYPE="HIDDEN" NAME="selectCopy">
<INPUT TYPE="HIDDEN" NAME="textCopy">
<INPUT TYPE="HIDDEN" NAME="textareaCopy">
</FORM>