[SOLVED] Custom reCAPTCHA callback

Where do I enter all of this code? In the footer custom code? Where do I put the html?