function captchaRefresh(skippedCaptchaClass,registrationPage){var ajax=new Ajax((function(ajaxObj,responseText){document.getElementById("captcha").innerHTML=responseText;}),(function(ajaxObj,responseText){alert("There was a problem getting a new captcha for you.  Please hit the reload button on your browser.");}));var url='/captcha/refresh_ajax.php';if(registrationPage){url=url+'?registration_page&skipped_captcha_class='+skippedCaptchaClass;}else{url=url+'?skipped_captcha_class='+skippedCaptchaClass;}return ajax.get(url);}