ciao,

dovresti trasportare tutti i banner ed i relativi tempi in due array...poi usare javascript per gestire le visualizzazioni