function PerformLogin(a,b){formData=jQuery("#LoginForm").serialize();jQuery("#txtLogin").attr("disabled","true");jQuery("#txtPassword").attr("disabled","true");jQuery("#btnFrmLogin").attr("disabled","true");jQuery("#chkRememberMe").attr("disabled","true");formData=formData+"&nocache="+Math.random()*50000;jQuery("#loginmsg").html(a+"<br><br><img src='/GlobalIncludes/FrontEnd/Images/ajaxDroidBlue.gif'>");jQuery.ajax({type:"POST",url:"index.cfm",data:formData,dataType:"html",success:function(c){jQuery("#loginmsg").html(c);jQuery("#txtLogin").attr("disabled","");jQuery("#txtPassword").attr("disabled","");jQuery("#btnFrmLogin").attr("disabled","");jQuery("#chkRememberMe").attr("disabled","");if(bLoginSuccessful){window.location=b}}})}function PerformSubscribe(a,c,b){formData=jQuery("#SubscribeForm").serialize();jQuery("#cEmail").attr("disabled","true");jQuery(":checkbox").attr("disabled","true");jQuery("#btnSubmitSubscribe").attr("disabled","true");formData=formData+"&nocache="+Math.random()*50000;jQuery("#subscribemsg").html(a+"<br><br><img src='/GlobalIncludes/FrontEnd/Images/ajaxDroidBlue.gif'>");jQuery.ajax({type:"GET",url:"index.cfm",data:formData,dataType:"html",success:function(d){jQuery("#subscribemsg").html(d);if(bSuccessful){jQuery("#subscribeFormContainer").html("");jQuery("#subscribemsg").html("");jQuery("#subscribeFormContainer").html(d)}else{jQuery("#subscribemsg").html(d);jQuery("#cEmail").attr("disabled","");jQuery(":checkbox").attr("disabled","");jQuery("#btnSubmitSubscribe").attr("disabled","")}}});return false};