function askData() {
         if (confirm('Usted va a inscribir a la escuela en OGA ¿Los datos consignados son correctos?'))
         {
         return true;
         }
         else
         return false;
}

function askBorrarAlumno() {
         if (confirm('Usted va a eliminar la participación del alumno en el Proyecto OGA  ¿Esta segura/o?'))
         {
         return true;
         }
         else
         return false;
}

function askBorraResulta() {
         if (confirm('Usted va a eliminar TODAS las puntuaciones asignadas ¿Esta segura/o?'))
         {
         return true;
         }
         else
         return false;
}

function askPoneResulta() {
         if (confirm('Usted va a registrar las puntuaciones para este grupo ¿Esta segur/o?'))
         {
         return true;
         }
         else
         return false;
}

function askBorraGrupo() {
         if (confirm('Usted va a eliminar al equipo de su en el presente ciclo ¿Esta seguro? Los datos de los alumnos y Coordinadores escolares NO SERAN ELIMINADOS DEL PADRON'))
         {
         return true;
         }
         else
         return false;
}

function replaceChars(entry) {
puntoout = "."; // replace this
out = " "; // replace this
add = ""; // with this
temp = "" + entry; // temporary holder

while (temp.indexOf(out)>-1) {
pos= temp.indexOf(out);
temp = "" + (temp.substring(0, pos) + add +
temp.substring((pos + out.length), temp.length));
}
while (temp.indexOf(puntoout)>-1) {
pos= temp.indexOf(puntoout);
temp = "" + (temp.substring(0, pos) + add +
temp.substring((pos + puntoout.length), temp.length));
}
document.abm_alumno.id_dni.value = temp;
}


<!-- Begin
function checkrequired(which) {
var pass=true;
if (document.images) {
for (i=0;i<which.length;i++) {
var tempobj=which.elements[i];
if (tempobj.name.substring(0,3)=="id_") {
if (((tempobj.type=="text"||tempobj.type=="textarea")&&
tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
tempobj.selectedIndex==0)) {
pass=false;
break;
         }
      }
   }
}
if (!pass) {

shortFieldName=tempobj.name.substring(3,15).toUpperCase();

alert("Por favor revise los datos, falta consignar  "+shortFieldName+".");

return false;

}
else
return true;
}


function validate(field) {

puntoout = "."; // replace this
out = " "; // replace this
add = ""; // with this
temp = "" + field.value; // temporary holder

while (temp.indexOf(out)>-1) {
pos= temp.indexOf(out);
temp = "" + (temp.substring(0, pos) + add +
temp.substring((pos + out.length), temp.length));
}
while (temp.indexOf(puntoout)>-1) {
pos= temp.indexOf(puntoout);
temp = "" + (temp.substring(0, pos) + add +
temp.substring((pos + puntoout.length), temp.length));
}


var valid = "0123456789"
var ok = "yes";
var temp1;
for (var i=0; i<field.value.length; i++) {
temp1 = "" + temp.substring(i, i+1);
if ((valid.indexOf(temp1) == "-1")
   ||(temp.length>9)||(temp.length<6))
      ok = "no";
}
if (ok == "no") {
alert("Nro. de Documento inválido.");
field.value='';
   }
  else
  {
  field.value=temp;
  }

}
//  End -->