// Add attributes to images and preload all images when the page loads
// Specify validation rules
// Specify that email should be validated
// by the built-in "email" rule
// Specify validation error messages
// Make sure the form is submitted to the destination defined
// in the "action" attribute of the form when valid
// if (grecaptcha.getResponse()) {
//alert('Captcha Confirmed!');
// $('#response').html('Captcha Confirmed!').show();
//instead of $.post() we are using $.ajax()
//that's because $.ajax() has more options and flexibly.
//load json data from server and output message
// $('#sucoutput').empty().show().html(sucoutput).delay(3000).fadeOut(300);
// $("#response").hide().html(output).slideDown();
// form.submit();
// }else{
// $('#response').html('Please confirm captcha to proceed').show();
// return false;
// }
-->