Salve, avrei bisogno di un aiutino per convertire uno script scritto in vbscript in javascript.

lo script è questo:
codice:
sub CheckAll ()
	
	for each checkfile in document.formCanc.elements 
		if checkfile.name <> "allbox" then
			checkfile.checked = document.formCanc.allbox.checked
		end if
	next
end sub
grazie