<script language="javascript">
function display()
{
var name=document.form1.name1.value;
var pwd0=document.form1.pwd0.value;
var pwd1=document.form1.pwd1.value;
var sex=document.form1.male.checked==true? document.form1.male.value:document.form1.remale.value;
var city=document.form1.city.value;
var hobby=gethobby();
function ger_code(code_length){ //动态生成验证码
var rand_aa="";
var code=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J",
"K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h",
"i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z");
var code_Num=code.length;
for(i=0;i<code_length;i++){
var ran_ss=parseInt(Math.random()*code_Num);
rand_aa+=String(code[ran_ss]);
}
document.write("<input type=text name=check_code size="+code_length+" value="+rand_aa+" class=blank_bg maxsize=4 readonly=true>");
}
function subTest(){
var name = document.testForm.userName.value;
var pass = document.testForm.password.value;
var check = document.testForm.check.value;
var check_code = document.testForm.check_code.value;