var thisClass = $(this).attr('class'); }

//$("#commentsForm_send_noFb").attr("disabled", "true"); $.cookie(cookie, null, {path: '/'}); if (typeof fbForm_publishOnFB === 'undefined') { // object FBcomments, can be reused for FB authentification function confirm_delete_account() { $('.disclaimerText').show(); //$("#commentInfo_Fb").hide();

$("#commentError_message").hide(); /////////////////////////////////////////////////// if (response.name){ $('#fbForm_publishOnFB').attr('checked', true); $('.commentFBlogin').hide();
$("#fbCommentPublishCheckbox").hide();

$("#commentError_email").show(); }, if (data.code = 0) { var fbForm_customerId = $.trim($("#fbForm_customerId").val()); var emailRegObj = /^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+. var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());

url: "/community/talkback_ajax.html", fbUserName = unescape(RegExp.$3); if (fbFormN_password != fbFormN_password_confirm) { isLoggedIn : false, /////////////////////////////////////////////////// $("#commentsForm_send").attr("disabled", "true"); } var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val()); var messageReg = fbForm_message.length > 1; } else { (fbFormN_firstName.match(/[*]/)) && ! }).blur(function() { var login_email_token = $.trim($("#login_email_token").val()); jQuery.ajax({ type: "POST", Firefighters and a coastguard helicopter were called to help. async: true, if (nnFBloggedIn == true) { e.preventDefault(); } var imgHtml= ""; } alert($("#tr_commentSendError").html()); "Our lives are changed forever, and we don’t know how we will carry on without him.

}); // display login data on start function commentsForm_send_email() { var login_email_token = $.trim($("#login_email_token").val()); hasErrors = true; } var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val()); var nameReg = !

async: true, setMessageBox(data.message, data.addclass); var fbFormN_email = $.trim($("#fbFormN_email_login").val()); }); async: true, dataType: "json",

return false; });

if (!hasErrors) { FB.api({

"He was a man who wasn’t afraid to talk about his feelings, or about ours. if (fbFormN_password != fbFormN_password_confirm) { '+ thisClass).animate({ opacity: "0" }, "fast"); if (data.code == 0) { data: "action=talkback_update_account&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_telephone="+encodeURIComponent(fbFormN_telephone)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbFormN_email_hidden="+encodeURIComponent(fbFormN_email_hidden)+"&customer_id="+fbForm_customerId+password_params+"&token="+login_email_token+"&story_id="+encodeURIComponent(fbForm_storyId),

if (typeof FB === 'undefined') { } ///////////////////////////////////////////////////////////////////////////////// var fbFormN_telephone_change = $.trim($("#fbFormN_telephone_change").val());