        function ShowDate()
            {
        	mydate = new Date();
        	switch (mydate.getDay()) 
        	{	  
        	case 0:   strweek="日";
        		  	break;
        	case 1:   strweek="一";
        		  	break;	  
        	case 2:   strweek="二";
        		  	break;
        	case 3:   strweek="三";
        		  	 break;
            case 4:   strweek="四";
                	 break;
            case 5:   strweek="五";
                 	 break;
            case 6:   strweek="六";
                     break;    
               }
    myyear = mydate.getYear();
    mymonth = mydate.getMonth()+1;
    today = mydate.getDate();  
    myhour = mydate.getHours();
    if(myhour<6)            
      welcomestring="凌晨好!";
    else if(myhour<9)
      welcomestring="早上好!";
    else if(myhour<12)
      welcomestring="上午好!";
    else if(myhour<14)
      welcomestring="中午好!";
    else if(myhour<17)
      welcomestring="下午好!";
    else if(myhour<19)
      welcomestring="傍晚好!";
    else if(myhour<22)
      welcomestring="晚上好!";
    else
      welcomestring="夜里好!";

document.write(myyear+"年"+mymonth+"月"+today+"日");
document.write(" 星期"+strweek+" ");
document.write(welcomestring);}


	function enter_mail(){
	    with(document.forms["mail"]){
		
		var sel = elements["site"].selectedIndex;
		// alert(sel);
		if (sel == 0){
			action="http://www.anyemail.net/cgi-bin/user_login_post";
			elements["Plogin_name"].value = elements["user"].value;
			elements["Ppasswd"].value = elements["pass"].value;
			submit();

		}
		if (sel == 1){
			action="http://bjweb.163.net/cgi/login";
         		submit();
		}
		if (sel == 2){
			action="http://freemail.263.net/cgi/login";
			submit();
		}
		if (sel == 3){
			action="http://freemail.990.net/prog/login";
			submit();
		}
		if (sel == 4){
			action="http://www.371.net/prog/login";
			submit();
		}
		if (sel == 5){
			action="http://www.126.com/cgi/login";
			submit();
		}
		if (sel == 6){
			action="http://freemail.netease.com/cgi/login";
			submit();
		}
                if (sel == 7){
			action="http://webmail.21cn.com/NULL/NULL/SignIn.gen";
			submit();
		}
                if (sel == 8){
			action="http://mail.sina.com.cn/cgi-bin/login.cgi";
			submit();
		}
                if (sel == 9){
			action="http://freemail.sohu.com/_mem_bin/verifpwd.asp";
			submit();
		}
                if (sel == 10){
			action="http://login.etang.com/servlet/login/default.htm";
			submit();
		}
                if (sel == 11){
			action="http://202.106.186.237/extend/newgb/NULL/NULL/SignInnew.gen";
			submit();
		}
                if (sel == 12){
			action="http://www.cmmail.com/mail/login";
			submit();
		}
                if (sel == 13){
			action="http://lc5.law5.hotmail.passport.com/cgi-bin/dologin";
			submit();
		}
            }

          }
