var curindex = 0;
var Banner = new Array();
Banner[1] = "../PT/fotosctr/banner04_en.jpg";
Banner[2] = "../PT/fotosctr/banner02_en.jpg";
Banner[3] = "../PT/fotosctr/banner01_en.jpg";
Banner[4] = "../PT/fotosctr/banner03_en.jpg";
Banner[5] = "../PT/fotosctr/banner05_en.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="Welcome" 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.Welcome.src = Banner[curindex];}