function emailCheck(email){
	if ((email.length > 128) || (email.length < 6)){
		return false;
	}
	
	var format = /^[A-Za-z0-9+]+[A-Za-z0-9\.\_\-+]*@([A-Za-z0-9\-]+\.)+[A-Za-z0-9]+$/;
	
	if (!(format).test(email)) {
		 return false;
	}
 	return true;
} 
function isTel(str){
       var reg=/^([0-9]|[\-])+$/g ;
       if(str.length<7 || str.length>18){
        return false;
       }
       else{
         return reg.exec(str);
       }
}

function isNumber(oNum) 
   { 
  if(!oNum) return false; 
  var strP=/^\d+(\.\d+)?$/; 
  if(!strP.test(oNum)) return false; 
  try{ 
  if(parseFloat(oNum)!=oNum) return false; 
  } 
  catch(ex) 
  { 
   return false; 
  } 
  return true; 
}
function isNull(str){
	return str.length>0;
}
function isInteger( str ){
	var regu = /^[-]{0,1}[0-9]{1,}$/;
	return regu.test(str);
}

function isMobilePhone(src)
{
   if(/^13\d{9}$/g.test(src)||(/^15[8,9]\d{8}$/g.test(src))){
         return true;
    }else{
        return false;
   }
} 
