//Verifica se o telefone está no formato correto 9999-9999
function IsInteiro(strNumero){
      var r = new RegExp("[0-9]*");

      if (strNumero==""){
         return false;
      }
      
      //Verifica se o telefone é válido
      var arrResultado = strNumero.match(r); 
      if (arrResultado != null && arrResultado.length > 0 && arrResultado[0] == strNumero)
         return true;
      else
         return false;
}
