 JavaScript Document
function validateCaptcha()
{
    challengeField = $(input#recaptcha_challenge_field).val();
    responseField = $(input#recaptcha_response_field).val();
    alert(challengeField);
    alert(responseField);
    return false;
    var html = $.ajax({
    type POST,
    url customrecaptchaajax.recaptcha.php,
    data recaptcha_challenge_field= + challengeField + &recaptcha_response_field= + responseField,
    async false
    }).responseText;
    
	alert(html);
    if(html == success)
    {
		alert('recaptcha html is success');
        $(#captchaStatus).html(Success. Submitting form.);
        return true;
    }
    else
    {
		alert('recaptcha failed');
        $(#captchaStatus).html(Your captcha is incorrect. Please try again);
        Recaptcha.reload();
        return false;
    }
}
