//win2000,ie5下通过
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>aaa&nbsp; bbb</title>
<script>
var i=1;
function hello(str)
{
if (str=="1") {
i++;
alert("这是checkid等于1,注册用户登录"); 
document.form1.email.disabled="true"; 
document.form1.email.value="有没搞错呀"+i; 
 }
else {
alert("hello from losenetway"); 
document.form1.email.disabled="false"; 
document.form1.email.value="似的"; 
}
}
</script>
</head>
<body>
<form name="form1" method="POST" action=" ">
  <p> </p> 
  <p><input type="text" name="email" size="20" ></p> 
  <p><input type="radio" value="V1" checked name="R1" value="v1" id="Rhello" onclick="hello('1')" >aaa&nbsp;       
  <input type="radio" name="R1" value="V2" id="Rhello" onclick="hello('2')">bbb<input type="submit" value="提交" name="B1"><input type="reset" value="全部重写" name="B2"></p>      
</form>            
</body>           
</html>