!this.is_number(num)
function Test(){
this.num = function(b){
if (!this.is_number(num)) {
alert('验证失败');
return false;
}}; this.is_number = function(n){
 re = /^\d{5,15}$/;
 var c=false;
 if(re.test(n)){c=true;}
 return(c);
}}