data: "Action=AddBook1&Type=NewBook&Subject=" + encodeURIComponent(strSubject) + "&Company=" + encodeURIComponent(strCompany) + "&Email=" + encodeURIComponent(strEmail) + "&Name=" + encodeURIComponent(strName) + "&Url=" + encodeURIComponent(url) + "&Tel=" + encodeURIComponent(strTel) + "&Message=" + encodeURIComponent(strMessage) + "&Code=" + encodeURIComponent(strCode), success: function (ret) { if (ret == "200") { window.location.href = "/thank.html"; } else { alert(ret); } } }); } catch (ex) { alert("Erro" + ex); } } function timerli() { ttt = 0; }