var curindex = 0;
var Banner = new Array();
Banner[1] = "../PT/fotosctr/banner04_fr.jpg";
Banner[2] = "../PT/fotosctr/banner02_fr.jpg";
Banner[3] = "../PT/fotosctr/banner01_fr.jpg";
Banner[4] = "../PT/fotosctr/banner03_fr.jpg";
Banner[5] = "../PT/fotosctr/banner05_fr.jpg";
var preload = new Array();
for (n = 0;n < Banner.length;n++) {preload[n] = new Image();
	preload[n].src = Banner[n];}
document.write('<img name="Bienvenue" alt="Solares de Portugal" title="Solares de Portugal" ' + Banner[Math.floor(Math.random() * (Banner.length - 1))] + '>');
function rotateimage() {if (curindex === (tempindex = Math.floor(Math.random() * (Banner.length)))){curindex = curindex === 0 ? 1 : curindex - 1; }
else {curindex = tempindex;}
	document.images.Bienvenue.src = Banner[curindex];}
