
<!--
function rand_number(n)
{
var x;
x=Math.round(Math.random()*100);
x%=n;
return x;
}
function boucle_imagesA(lastid)
{
var i;
var intervalle=3000;
var img = new Array();
img[0]='<a href="http://www.hotelsolelimone.com" target="_blank"><IMG src="JS/a-sole.jpg"border=0></a>';

img[1]='<a href="http://www.gardasee-hotels.com/Torri/Onda/cont-Onda.htm" target="_blank"><IMG src="JS/a-onda.jpg" border=0></a>';
img[2]='<a href="http://www.gardasee-hotels.com/Brenzone/Bolognese/cont-Bolognese.htm" target="_blank"><IMG src="JS/a-caletta.jpg" border=0></a>';
img[3]='<a href="http://www.lagodigarda-it.eu/fewo/Avesani/avesani_frame.htm" target="_blank"><IMG src="JS/a-avesani.jpg" border=0></a>';

var imageToShowIndex = -1;
if (lastid>=0)
if (lastid!=img.length-1)
imageToShowIndex = lastid+1;
else
imageToShowIndex = 0;
else
imageToShowIndex=rand_number(img.length);

document.getElementById('boucleA').innerHTML=img[imageToShowIndex];
setTimeout("boucle_imagesA("+eval("imageToShowIndex")+")",intervalle);
}
//-->

