Images = new Array (
	"1.jpg",
	"2.jpg",
	"3.jpg",
	"4.jpg",
	"5.jpg"
);

imgCount = Images.length;
firstTime=true;

thisImg=0;

function rotate() {

document.getElementById('menu').style.background='url(' + Images[thisImg] + ')';

	if (document.images) {
		if(thisImg>=4){thisImg=-1;}
		thisImg++;
	}
	

setTimeout("rotate()",15*500);
}