function display_recaptcha_bp($errors) {
global $recaptcha_opt, $wpmu, $bp;
if ($recaptcha_opt['re_registration']) {
$format = <<<END
<script type='text/javascript'>
var RecaptchaOptions = { theme : '{$recaptcha_opt['re_theme_reg']}', lang : '{$recaptcha_opt['re_lang']}' , tabindex : 30 };
</script>
END;
$comment_string = <<<COMMENT_FORM
<script type='text/javascript'>
document.getElementById('recaptcha_table').style.direction = 'ltr';
</script>
COMMENT_FORM;
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on")
$use_ssl = true;
else
$use_ssl = false;
?>
<label for="verification">Verification:</label>
<?php do_action( 'bp_captcha_errors' ); ?>
<?php echo $format . recaptcha_wp_get_html($_GET['rerror'], $use_ssl); ?>
<?php
}
}