function setBox(){var n=$f("nums"),t=n.scrollHeight;t>n.offsetHeight&&(t>64?$(n).height(64).css("overflow","auto"):$(n).height(t));setCount()}function sending(){if($("#nums").val()=="")return showAndExit("请输入要发送到的手机号码！");var n=$.trim($("#smsBody").val());return n==""?showAndExit("请输入短信内容！"):n.length>250?showAndExit("短信内容最多允许250个字符！"):($("#divMsg").html("<img src='images/loading.gif' align='absmiddle' />　正在发送，请稍候 …").removeClass("hide"),$("#btnArea,#sendBox").hide(),!0)}function setCount(){var n=$.trim($("#smsBody").val());$("#count").text(250-n.length)}$(function(){$("#nums").val()==""?$("#nums").focus():$("#smsBody").focus()})