[CODE]<script language="JavaScript">
function Change(){
if (document.myform.PWE.checked) {
document.myform.PW1.disabled=false;
document.myform.PW2.disabled=false;
document.myform.PW3.disabled=false;
document.myform.PW4.disabled=false;
document.myform.PW5.disabled=false;
document.myform.PW6.disabled=false;
document.myform.PW7.disabled=false;
}else{
document.myform.PW1.disabled=true;
document.myform.PW2.disabled=true;
document.myform.PW3.disabled=true;
document.myform.PW4.disabled=true;
document.myform.PW5.disabled=true;
document.myform.PW6.disabled=true;
document.myform.PW7.disabled=true;
}
}
</script>
<form name="myform">
<input type="text" name="PW1" value="abcdefghij" disabled /><br />
<input type="text" name="PW2" value="9876543210" disabled /><br />
<input type="text" name="PW3" value="hkjhlkhhjl" disabled /><br />
<input type="text" name="PW4" value="safdsfasdf" disabled /><br />
<input type="text" name="PW5" value="3534545545" disabled /><br />
<input type="text" name="PW6" value="jljkllkyui" disabled /><br />
<input type="text" name="PW7" value="0123456789" disabled /><br />
<input type="checkbox" id="PWE" onclick="Change();" />
</form>[/CODE]