function subscribe(){var e=$("#email").val();$.ajax({type:"POST",data:{e:e},url:"subscribe.php",dataType:"json",error:function(){$("#response").html("Error. Please try again.");},success:function(json){if(json.err){$("#response").html(json.err);}else{$("#response").text('');alert(json.msg);$("#subscribe").slideUp();}}});}



