FloCaptcha is a project mainly written in ACTIONSCRIPT and JAVASCRIPT, it's free.
library and webservice to manage captcha (php, javascript)