function checkPhone(){
st = false
num = window.document.forms["fhome"].newnumber.value
tam = num.length
vnum = parseInt(num);
	if (isNaN(vnum)){
		alert("Escriba un número válido")
		window.document.forms["fhome"].newnumber.value = ""
	}else{
		if (tam==10){
			st = true
			//comentar todo menos las dos ultimas filas de este if
			//window.document.forms["fhome"].action="http://www.nextel.com.mx/Mensajes/Index.htm"
			//window.document.forms["fhome"].action="http://mexmessag.nextelinternational.com/cgi/iPageExt.dll"
			window.document.forms["fhome"].action="/nr/NextelSite/MMS/PTN_val.asp"
			window.document.forms["fhome"].submit();
		}else{
			alert("Escriba un número válido")
			window.document.forms["fhome"].newnumber.value = ""
		}
	}
	
	return st
}
