﻿    function postTo(url)
    {
      if(url!=""&&url!=null)
         window.open(url,"news");
    }
    function postTo1(url)
    {
      if(url!=""&&url!=null)
         window.open(url,"mainFrame");
    }
    function checkup()
    {
        if(document.forms[0].t_FNAME.value.length==0)
        {
            alert("用户名不能为空");
            return false;
        }   
        if(document.forms[0].t_FPASSWORD.value.length==0)
        {
            alert("密码不能为空");
            return false;
        }
        
       if(document.forms[0].DropDownList5.selectedvalue=="0")
       {
           alert("请选择用户类型");
           return false;
       }
        return true;
    }
    function checkup1()
    {
        if(document.forms[0].TB_key.value.length==0)
        {
            alert("关键字不能为空");
            return false;
        }
        return true;
    }