/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function checkform1()
{
    if(document.newent.user.value=='')
    {
        alert("请输入用户名！");
        document.newent.user.focus();
        return false;
    }
    if(document.newent.e_mail.value =="")
    {
        alert("请输入电子邮件地址！");
        document.newent.e_mail.focus();
        return false;
    }
    else
    {
        return true;
    }
}

