Don't know exactly what you want to do but I'd recommend downloading jQuery, it'll make your life easier and your code more cross-browser compatible. To set a form value with jQuery, you would just do $('#antispam').val('My Value!');