// *** BUG - DO NOT DELETE THIS LINE ***


function subscribedouble(form)
{ var blog_id = form.blog_subscription_blog_id.value
  var email = form.blog_subscription_email.value

  var bothsubs = 0
  if(form.blog_subscription_bothsubs[1].checked) bothsubs = 1

//  var url = getSubscribeURL(blog_id) + '&email=' + email;
  var url = getSubscribeURL(blog_id) + '&email=' + email + '&bothsubs=' + bothsubs;

//  alert(bothsubs);

  var myAjax = new Ajax.Request( url,
                                 { method: 'POST',
                                   //parameters: 'someParameter=ABC',
                                   onSuccess: eval('isSubscribeSuccess_' + blog_id),
                                   onFailure: eval('isSubscribeFailure_' + blog_id)
                                 }
                               );
} 
