/*******************************************************************************
	Funzione per abilitare/disabilitare il button di un form cliccando 
	una check box
	
	<input type="checkbox" id="cprivacy" onclick="ok_privacy('cprivacy','idButton');" /> 
*******************************************************************************/
function ok_privacy(idCheck, idButton)
{
	if (document.getElementById(idCheck).checked == true)
	{
		document.getElementById(idButton).disabled = false;
		document.getElementById(idButton).className = "button";
	}
	else
	{
		document.getElementById(idButton).disabled = true;
		document.getElementById(idButton).className = "button_disabled";
	}

}
