hoje = new Date()
numero_de_imagens = 2
segundos = hoje.getSeconds()
numero = segundos % numero_de_imagens
if (numero == 0){
banner = "http://www.clubtodoterreno.com/imagenes/recuadro170x215GalPatro.jpg"
link = ""
alvo = ""
}
if (numero == 1){
banner = "http://www.clubtodoterreno.com/imagenes/recuadro170x215GalPatroGas.jpg"
link = "http://www.gas-station.es"
alvo = "_blank"
}
document.write('<a href="' + link + '" target="' + alvo + '" ><img src="' + banner + '" border=0 style="width: 170px; height: 215px"></a>')
