function changecity(){
index = myform.gzdd.options.selectedIndex-1;
myform.city.length = city[index].length;
for(var i = 0;i<city[index].length;i++)
{
var text = city[index][i].split("-");
myform.city.options[i].text = text[0];
myform.city.options[i].value =text[1];
}
}

function GetMyPass()
{
  if (document.form_login.user_name.value!="")
	{   
	    for(var i=0;i<form_login.type.length;i++){
			if (document.form_login.type[i].checked) {
			var strtype=document.form_login.type[i].value
			}
		}
	    var url="password.asp?user_name="+document.form_login.user_name.value+"&type="+strtype
	    window.open(url,"newwindow","width=340,height=200,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no,target=_blank")
	}
	else
	{
		alert("请在姓名输入框里输入用户名！");
	}
}


