function aoptfindText(texto,opPar){
  for (var i=0; i < opPar.length; i++)
    if (opPar[i].text==texto)
      return i;
  return -1;
}

