window.onload = change;

var theIMG = new Array();
theIMG[0] = '1.png';
theIMG[1] = '2.gif';
theIMG[2] = '3.gif';
theIMG[3] = '4.gif';
theIMG[4] = '5.gif';
theIMG[5] = '6.gif';
theIMG[6] = '7.gif';
theIMG[7] = '8.gif';
theIMG[8] = '9.gif';


function change(){
	var theNUM = Math.floor(Math.random()*theIMG.length);
	document.getElementById('rorate').src = "images/banners/"+theIMG[theNUM];
}