I am trying to have a check box toggle a set a forms between greyed-out and not, but Javascript is not my strong suit.

Here's what I have so far:
	function toggleView()	{
		If(sign-up.addfeature == "TRUE")	{
			sign-up.name.readonly = false;
			sign-up.address.readonly = false;
			featurearea.background-color = "";
		} else {
			sign-up.name.readonly = true;
			sign-up.address.readonly = true;
			featurearea.background-color = "#8f8f8f";

<form name="sign-up" method="post">
	<input type="checkbox" name="addfeature" value="TRUE" onchange="javascript: toggleView();"><br>
	<div id="featurearea">
		<input type="text" name="name"><br>
		<input type="text" name="address">