function Encode(str, fld) { var a=463; var b=1835; str=a+b+parseInt(str) if (str==2227249){ alert("Perfecto");} else {alert("Incorrecto");} }