    function loadContent() {
      // Request the content and update the .div. area (i.ll explain this in more detail later).
         if (document.getElementById("optinarea")) {
            new Ajax.Updater("optinarea", 'http://blogs.aafp.org/cgi-bin/gmmb.pl', { method:'get'});
         }
    }

    function submitForm() {
       var params = "";
       for (var i=0; i<document.optin.email_options.length; i++)  {
          if (document.optin.email_options[i].checked)  {
             params += "&email_options=" + document.optin.email_options[i].value;
             params += "&op=save_form";
          } 
       }

       new Ajax.Updater("optinarea", 'http://blogs.aafp.org/cgi-bin/gmmb.pl', {method: 'get', parameters: params, asynchronus:false });
    }


