function randOrd(a, b){
return (Math.round(Math.random())-0.5); 
}

// Replace the images inside the double-quotes to your own images
// You may have any number of images
adImages = new Array('/banner/blackout_ad.jpg',
					 '/banner/gas.png',
					 '/banner/dr Sketchy.png',  '/banner/obriens.jpg'
                     );

adImages.sort( randOrd );

thisAd = 0
imgCt = adImages.length
//quoteCt = quote.length

function rotate() {
  if (document.images) {
    if (document.cycle.complete) {
	  thisAd++
	  if (thisAd == imgCt) {
	    thisAd = 0
	  }
	  document.cycle.src = adImages[thisAd];
       // window.defaultStatus = quote[thisAd];
	}
// This sets the interval to which the images and quotes are rotated. 1000 equals 1 second
	setTimeout("rotate()", 5000)
  }
}

