function yzm(a,b){
$(".hq_yzm").click( function(){
if( a[ 0 ].value.search( "^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0,5-9]))\\d{8}$" )==-1||((b[ 0 ].value.length<6||b[ 0 ].value.length>16)&&b[ 0 ].value.search( "^[a-zA-Z]\w{5,17}$" )==-1)){
return false;
}
$( this ).attr( "disabled",true );
var count=60;
var timer=setInterval(function(){
count--;
$(".hq_yzm").html( count+"后重新获取" );
if( count==-1 ){
clearInterval(timer);
$(".hq_yzm").html( "获取验证码" );
$(".hq_yzm").attr( "disabled",false );
}
},1000)
} )
}