check为什么会出错(IE)
<%@page   contentType= "text/html "%>  
  <%@page   pageEncoding= "UTF-8 "%>  
  <!DOCTYPE   html   PUBLIC    "-//W3C//DTD   XHTML   1.0   Transitional//EN "    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">  
  <html   xmlns= "http://www.w3.org/1999/xhtml ">  
              <head>  
                          <script>  
 function   check(){ 
 } 
 check.prototype={ 
 	pattern_user_name:/[a-z]+/, 
 	checkUserName:function(){ 
 		var   user_name=document.getElementById( "username "); 
 		if(this.pattern_user_name.test(user_name.value)){ 
 			window.alert( "user   name   does   not   match\n "); 
 		} 
                                                 else{ 
                                                 alert( "pp "); 
                                                 } 
 	}, 
 } 
 var   validate=new   check();   
                          </script>  
                          <title> Untitled   Document </title>                            
                          <meta   http-equiv= "Content-Type "   content= "text/html;   charset=UTF-8 "   />  
                          <link   href= "register.css "   rel= "stylesheet "   type= "text/css "   />  
              </head>  
              <body   class= "sub ">  
                          <form   action= " "   method= "post "   name= "register "   id= "register ">  
                                      <table   border= "0 "   cellpadding= "8 "   id= "outertable ">  
                                                  <tr>  
                                                              <td   colspan= "3 "   class= "HeaderColor ">                          <h4> 注册Padoo </h4>                    </td>  
                                                  </tr>  
                                                  <tr   style= "vertical-align:   top ">  
                                                              <td   height= "52 "   nowrap= "nowrap "   class= "LabelColor "   style= "text-align:   right ">