This function break IE (6,7 in XP and Vista).
var proximo = 2;
function insertarFila (texto1, texto2)
{
var fila = document.createElement ('tr');
var celda1 = document.createElement ('td');
var celda2 = document.createElement ('td');
// Si se ha indicado que insertar se ponen esos valores
if (texto1 != undefined)
texto1 = document.createTextNode ('Fila ' + texto1);
else
var texto1 = document.createTextNode ('Fila ' + proximo);
if (texto2 != undefined)
texto2 = document.createTextNode ('Nombre ' + texto2);
else
var texto2 = document.createTextNode ('Nombre ' + proximo);
celda1.appendChild (texto1);
celda2.appendChild (texto2);
fila.appendChild (celda1);
fila.appendChild (celda2);
fila.visible = false;
$('tabla').appendChild (fila);
proximo++;
Effect.SlideDown (fila,{duration:2.5});
new Effect.Highlight (fila,{duration:.5});
}
But in Firefox it's correct.