function bannerRotation() {
if (document.getElementById){
	var myimages = new Array()
	myimages[0]="http://orangegrill.com/images/interior.jpg";
	myimages[1]="http://orangegrill.com/images/bar.jpg";
	myimages[2]="http://orangegrill.com/images/ice.jpg";
	myimages[3]="http://orangegrill.com/images/table.jpg";
	myimages[4]="http://orangegrill.com/images/interior2.jpg";
	myimages[5]="http://orangegrill.com/images/bar2.jpg";
	myimages[6]="http://orangegrill.com/images/table2.jpg";
	myimages[7]="http://orangegrill.com/images/door.jpg";
	myimages[8]="http://orangegrill.com/images/table3.jpg";
	myimages[9]="http://orangegrill.com/images/table4.jpg";
	myimages[10]="http://orangegrill.com/images/table5.jpg";

	var mlen = myimages.length;
	var speed = 100000;
	var j = 0;
	var q = Math.round(Math.random() * mlen);
	preloading(myimages[q]);
	j=j+1;
	if (j > (mlen-1)) j=0;
	var newImage= "url("+myimages[q]+")";
	var imgSlider=document.getElementById('imageSlider');	
  Element.hide('imageSlider');
	imgSlider.style.backgroundImage=newImage;
	new Effect.Appear('imageSlider', {duration:1.1});
	var t = setTimeout('bannerRotation()', speed)
		
}
}
function preloading(pic){
	var myImage = new Image();
	myImage.src=pic;
}
