Here is an example where it will pick a random banner each time but won't show the same banner twice.
(function cycle() {
divs.eq(i).fadeIn(400).delay(3000).fadeOut(400, cycle);
var old = i;
while(old == i){
i = (Math.random() * 100).toFixed(0) % divs.length;
}
Another example this will initialize the banners in a random order and subsequently keep the same pattern (order).
var orderArray = [];
while(orderArray.length < divs.length){
i = (Math.random() * 100).toFixed(0) % divs.length;
if(orderArray.indexOf(i) == -1){
orderArray.push(i);
}
}
i = 0;
(function cycle() {
divs.eq(orderArray[i]).fadeIn(400).delay(2500).fadeOut(400, cycle);
var old = i;
while(old == i){
i = (Math.random() * 100).toFixed(0) % divs.length;
}
Depending on what your looking to do..