//校验查询信息  Index.aspx
function CheckContentInfo(txtA) {
    var theword = document.getElementById(txtA).value;
    if (theword.length < 1) {
        alert("查询内容不能为空,请输入!  ");
        document.getElementById(txtA).focus();
        return false;
    }
}
//定位页面  Index.aspx
function RedirectToLink() {
   var curUrl = this.options[this.selectedIndex].value;
   
   if ( curUrl.length>0 && curUrl != "0") {
       window.open(curUrl,'','');
   }
}
//校验查询信息  Director_Admit.aspx Word_Pad.aspx
function CheckContentData(txtA,txtB,txtC) {
    var theword1 = document.getElementById(txtA).value;
    if (theword1.length < 1) {
        alert("标题不能为空,请输入!  ");
        document.getElementById(txtA).focus();
        return false;
    }
    var theword2 = document.getElementById(txtB).value;
    if (theword2.length < 1) {
        alert("姓名不能为空,请输入!  ");
        document.getElementById(txtB).focus();
        return false;
    }
    var theword3 = document.getElementById(txtC).value;
    if (theword3.length < 1) {
        alert("具体内容不能为空,请输入!  ");
        document.getElementById(txtC).focus();
        return false;
    }
}