<html>
<body>
<center>
<form name=thisform>
用户名:     &nbsp &nbsp  <input type=text name=t1 size=20><br>
密码:     &nbsp &nbsp  &nbsp<input type=password name=t2 size=20><br>
密码确认:  &nbsp  <input type=password name=t3 size=21><br>
 &nbsp&nbsp&nbsp&nbsp<input type=button value=确定 onclick=pd><!--这里是调用下面的过程啊?--!>
</form>
</center>
<!--下面是一个过程--!>
<script language=vbscript>
sub pd()
if thisform.t1.value<>" " then
   if len(thisform.t2.value)>6 then
if thisform.t2.value=thisform.t3.value then
msgbox "欢迎" & thisform.t1.value &"登陆"
else
msgbox "用户和密码输入不一致"
end if
   else
msgbox "输入的密码少于6位"
   end if
else
                msgbox "用户名不能为空"

end if
end sub
</script>
</body>
</html>
上面为什么无法调用?为什么会提示网页错误?