Como adicional, puedes probar esto (usando el código de arriba):
Código:
function Rellenar_Bd( url ) {
var theURL = url + "&" + Math.random();
$('contenedor').style.height="650px";
Element.show('contenedor');
new Ajax.PeriodicalAjax(theURL, {
method: 'get',
frequency: 0.7,
decay: 1,
onSuccess: function(res) {
if( res.responseText == "1" ) {
this.stop();
setTimeout( function() {
Element.hide('loading_tablas');
window.location = 'index.php?seccion=2&act=3';
}, 1000 );
}
}
});
}
Saludos.