Jak to zrobić?

<html> <head> <script type="text/javascript" language="javascript"> function wlaczAdres () { if ( document.getElementById ( 'Regulamin' ).checked ) { document.getElementById ( 'Adres' ).disabled = false; } else { document.getElementById ( 'Adres' ).disabled = true; } } </script> </head> <body> <form action="zapisz.php" method="post"> Adres: <input type="submit" value="Zapisz"> </form> </body> </html>
<input type="checkbox" onclick="c(this)" />