<script>
function isTelephone(obj){ var isMobile= /^([0-9]|[\-]|[\)]|[\(]|[\+])+$/g; if(!isMobile.test(obj.value)){ obj.value=''; obj.focus(); return false; } </script>