 function checkselect(){
                          
						  if (document.myform1.type.value==1){  
    						document.myform1.action='searchhy.asp';
  						  }
						  
						  if (document.myform1.type.value==2){  
    						document.myform1.action='searchky.asp';
  						  }
						   
						  if (document.myform1.type.value==3){  
    						document.myform1.action='searchly.asp';
  						  }
                        return true;
                        }
  var welcomestring;
  var  mydate = new Date();
  var  myyear = mydate.getYear();
  if(myyear < 300)myyear = 1900 + myyear ;
    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="夜里好";
      
    function UrlConv(url)
    {
      url = url + "";
      var m_url = url;
      var outstring = "";
      var x1 = 0;
      for(x1 = 0 ; x1 < (m_url.length) ; x1++)
      {
        chr = m_url.substr(x1,1);
        if(chr=='&')
        {
          outstring += "%26";
          continue;
        }
        if(chr=='?')
        {
          outstring += "%3F";
          continue;
        }
        if(chr==':')
        {
          outstring += "%3A";
          continue;
        }
        if(chr=='%')
        {
          outstring += "%25";
          continue;
        }
        outstring += chr;
      }
      return outstring;
    }
