new Ajax.PeriodicalUpdater('div_fotos', '/fotos.php', { method: 'get', insertion: Insertion.Top, frequency: 60, // 60 segundos decay: 2 });