function preSubmit(){if($("#cbMsg,#cbMail,#cbSms").filter(":checked").length==0)return showAndExit("请至少选择一种发送方式！");var n=CKEDITOR.instances.ckContent.getData();return n==""?showAndExit("请输入内容！"):$("#cbSms:checked").length>0&&$(n).text().length>200?showAndExit("当前内容超过了200字，不适合使用短信提醒方式！"):(UpdateEditorElement(),!0)}function sent(n,t){hideLoading();$("#resultArea").show();$("#mainArea").hide();$("#resultMsg").html(t.replace("\n","<br />"))}function toContinue(){$("#resultArea").hide();$("#mainArea").show()}LoadEditor();$(function(){MakeEditor("#ckContent","Compact",343,!1,!1);var n=Sys.WebForms.PageRequestManager.getInstance();n.add_initializeRequest(showLoading);n.add_endRequest(hideLoading);$(window).load(function(){setTimeout(function(){AutoComplete($(":text[acfid],textarea[acfid]"))},50);$("#tbUser").val()==""?$("#tbUser").focus():setTimeout(function(){CKEDITOR.instances.ckContent.focus()},300)})})