<script>
/**************************************************************
Rotador de banners. Por Julian Murphy.
contacto@ciberdistrisoft.com.ar
Rotador de banners v.1 En fase de experimentación.
****************************************************************/
var imgn = new Array()
var enlc = new Array()
var indice = 0
var pausa = 2000
imgn[0] = new Image()
imgn[0].src = "mdw.gif"
enlc[0] = "http://www.ciberdistrisoft.com.ar"
imgn[1] = new Image()
imgn[1].src = "faq.gif"
enlc[1] = "ciberdistrisoft.es.tl"
imgn[2] = new Image()
imgn[2].src = "script.gif"
enlc[2] = "fotologrc.ciberdistrisoft.com.ar"
function rota()
{
if (indice == imgn.length) indice = 0
if (document.images)
{
document.images.fotico.src = imgn[indice].src
}
else
{
document.getElementById('fotico').src=imgn[indice].src
}
indice++
setTimeout('rota()',pausa)
}
function vete()
{
window.open(enlc[indice-1])
}
</script>
<body onLoad="rota();">
<p>Rotador de banners</p>
<p>
<a href="#" onclick="vete()"><img name="fotico"></a>
</body>