--- recaptcha/recaptcha.module	2007-07-20 00:25:44.000000000 -0700
+++ recaptcha-5.x-2/recaptcha.module	2007-08-09 16:36:08.000000000 -0700
@@ -112,6 +112,13 @@ function recaptcha_admin_settings() {
     '#maxlength' => 40,
     '#description' => t('The private key given to you when you <a href="@url" target="_blank">registered at reCAPTCHA.net</a>.', array('@url' => url(recaptcha_get_signup_url($_SERVER['SERVER_NAME'], variable_get('site_name', ''))))),
    );
+  $form['recaptcha_form_weight'] = array(
+    '#type' => 'weight',
+    '#title' => t('reCAPTCHA weight'),
+    '#default_value' => variable_get('recaptcha_form_weight', 1),
+    '#delta' => 15,
+    '#description' => t('Weight of the reCAPTCHA challenge within a form that uses it.'),
+  );    
   $form['recaptcha_server_settings'] = array(
     '#type' => 'fieldset',
     '#title' => t('Server Settings'),
@@ -174,7 +181,7 @@ function recaptcha_captcha() {  
         $result['form']['captcha_challenge'] = array (
           '#type' => 'item',
           '#description' => recaptcha_get_html(variable_get('recaptcha_public_key', ''), NULL, variable_get('recaptcha_secure_connection', FALSE)),
-          '#weight' => 0,
+          '#weight' => variable_get('recaptcha_form_weight', 1),
           '#required' => TRUE,
         );
       }
