//Rotation for big banners, part 1
function bigrotation1() {
var currentdate = 0;
var core = 0;

function big1initArray() {

this.length = big1initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = big1initArray.arguments[i];
  }
}

link = new big1initArray(
"/cgi-bin/out.pl?allstarslots",
"/cgi-bin/out.pl?manhattanslots",
"/cgi-bin/out.pl?aladdinsgold",
"/cgi-bin/out.pl?luckyred",
"/cgi-bin/out.pl?clubusa",
"/cgi-bin/out.pl?goldentiger",
"/cgi-bin/out.pl?captaincook",
"/cgi-bin/out.pl?blackjackballroom",
"/cgi-bin/out.pl?yukongold",
"/cgi-bin/out.pl?veg7",
"/cgi-bin/out.pl?luckyemperor",
"/cgi-bin/out.pl?casinokingdom",
"/cgi-bin/out.pl?casinoclassic",
"/cgi-bin/out.pl?challenge",
"/cgi-bin/out.pl?goldenreef",
"/cgi-bin/out.pl?musichall",
"/cgi-bin/out.pl?nostalgia",
"/cgi-bin/out.pl?ukcasinoclub"
);

image = new big1initArray(
"/prefrotation/allstarslots1.gif",
"/prefrotation/manhattanslots1.gif",
"/prefrotation/aladdinsgold1.gif",
"/prefrotation/luckyred1.gif",
"/prefrotation/clubusa1.gif",
"/prefrotation/goldentiger1.gif",
"/prefrotation/captaincooks1.gif",
"/prefrotation/blackjackballroom1.gif",
"/prefrotation/yukongold1.gif",
"/prefrotation/vegasseven1.gif",
"/prefrotation/luckyemperor1.gif",
"/prefrotation/casinokingdom1.gif",
"/prefrotation/casinoclassic1.gif",
"/prefrotation/challenge1.gif",
"/prefrotation/goldenreef1.gif",
"/prefrotation/musichall1.gif",
"/prefrotation/nostalgia1.gif",
"/prefrotation/ukcasinoclub1.gif"
);

text = new big1initArray(
"All Star Slots",
"Manhattan Slots",
"Aladdins Gold Casino",
"Lucky Red Casino",
"Club USA Casino",
"Golden Tiger",
"Captain Cooks",
"Blackjack Ballroom",
"Yukon Gold",
"Vegas Seven Casino",
"Lucky Emperor",
"Casino Kingdom",
"Casino Classic",
"Challenge Casino",
"Golden Reef Casino",
"Music Hall Casino",
"Nostalgia Casino",
"UK Casino Club"
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');
}

//Rotation for big banners, part 2
function bigrotation2() {
var currentdate = 0;
var core = 0;

function big2initarray() {

this.length = big2initarray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = big2initarray.arguments[i];
  }
}

link = new big2initarray(
"/cgi-bin/out.pl?aladdinsgold",
"/cgi-bin/out.pl?luckyred",
"/cgi-bin/out.pl?clubusa",
"/cgi-bin/out.pl?aztecriches",
"/cgi-bin/out.pl?zodiac",
"/cgi-bin/out.pl?desertdollar",
"/cgi-bin/out.pl?fortuneroom",
"/cgi-bin/out.pl?fortuneroom",
"/cgi-bin/out.pl?fortuneroom",
"/cgi-bin/out.pl?vegastowers",
"/cgi-bin/out.pl?vegastowers",
"/cgi-bin/out.pl?vegastowers",
"/cgi-bin/out.pl?vegasvilla",
"/cgi-bin/out.pl?vegasvilla",
"/cgi-bin/out.pl?vegasvilla",
"/cgi-bin/out.pl?challenge",
"/cgi-bin/out.pl?goldenreef"
);

image = new big2initarray(
"/prefrotation/aladdinsgold1.gif",
"/prefrotation/luckyred1.gif",
"/prefrotation/clubusa1.gif",
"/prefrotation/aztecriches1.gif",
"/prefrotation/zodiac1.gif",
"/prefrotation/desertdollar1.gif",
"/prefrotation/fortuneroom1.gif",
"/prefrotation/fortuneroom1.gif",
"/prefrotation/fortuneroom1.gif",
"/prefrotation/vegastowers1.gif",
"/prefrotation/vegastowers1.gif",
"/prefrotation/vegastowers1.gif",
"/prefrotation/vegasvilla1.gif",
"/prefrotation/vegasvilla1.gif",
"/prefrotation/vegasvilla1.gif",
"/prefrotation/challenge1.gif",
"/prefrotation/goldenreef1.gif"
);

text = new big2initarray(
"Aladdins Gold Casino",
"Lucky Red Casino",
"Club USA Casino",
"Aztec Riches",
"Zodiac Casino",
"Desert Dollar",
"Fortune Room",
"Fortune Room",
"Fortune Room",
"Vegas Towers",
"Vegas Towers",
"Vegas Towers",
"Vegas Villa",
"Vegas Villa",
"Vegas Villa",
"Challenge Casino",
"Golden Reef Casino"
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');
}

//Rotation for small banners, first part
function smallrotation1() {
var currentdate = 0;
var core = 0;

function small1initArray() {

this.length = small1initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = small1initArray.arguments[i];
  }
}

link = new small1initArray(
"/cgi-bin/out.pl?allstarslots",
"/cgi-bin/out.pl?manhattanslots",
"/cgi-bin/out.pl?aladdinsgold",
"/cgi-bin/out.pl?luckyred",
"/cgi-bin/out.pl?clubusa",
"/cgi-bin/out.pl?veg7",
"/cgi-bin/out.pl?aztecriches",
"/cgi-bin/out.pl?luckyemperor",
"/cgi-bin/out.pl?desertdollar",
"/cgi-bin/out.pl?blackjackballroom",
"/cgi-bin/out.pl?musichall",
"/cgi-bin/out.pl?nostalgia"
);

image = new small1initArray(
"/prefrotation/small/allstarslots1.gif",
"/prefrotation/small/manhattanslots1.gif",
"/prefrotation/small/aladdinsgold1.gif",
"/prefrotation/small/luckyred1.gif",
"/prefrotation/small/clubusa1.gif",
"/prefrotation/small/vegasseven1.gif",
"/prefrotation/small/aztecriches1.gif",
"/prefrotation/small/luckyemperor1.gif",
"/prefrotation/small/desertdollar1.gif",
"/prefrotation/small/blackjackballroom1.gif",
"/prefrotation/small/musichall1.gif",
"/prefrotation/small/nostalgia1.gif"
);

text = new small1initArray(
"All Star Slots",
"Manhattan Slots",
"Aladdins Gold Casino",
"Lucky Red Casino",
"Club USA Casino",
"Vegas Seven Casino",
"Aztec Riches",
"Lucky Emperor",
"Desert Dollar",
"Blackjack Ballroom",
"Music Hall Casino",
"Nostalgia Casino"
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');
}

//Rotation for small banners, second part
function smallrotation2() {
var currentdate = 0;
var core = 0;

function small2initArray() {

this.length = small2initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = small2initArray.arguments[i];
  }
}

link = new small2initArray(
"/cgi-bin/out.pl?goldentiger",
"/cgi-bin/out.pl?captaincook",
"/cgi-bin/out.pl?zodiac",
"/cgi-bin/out.pl?yukongold",
"/cgi-bin/out.pl?fortuneroom",
"/cgi-bin/out.pl?fortuneroom",
"/cgi-bin/out.pl?fortuneroom",
"/cgi-bin/out.pl?ukcasinoclub"
);

image = new small2initArray(
"/prefrotation/small/goldentiger1.gif",
"/prefrotation/small/captaincooks1.gif",
"/prefrotation/small/zodiac1.gif",
"/prefrotation/small/yukongold1.gif",
"/prefrotation/small/fortuneroom1.gif",
"/prefrotation/small/fortuneroom1.gif",
"/prefrotation/small/fortuneroom1.gif",
"/prefrotation/small/ukcasinoclub1.gif"
);

text = new small2initArray(
"Golden Tiger",
"Captain Cooks",
"Zodiac Casino",
"Yukon Gold",
"Fortune Room",
"Fortune Room",
"Fortune Room",
"UK Casino Club"
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');
}

function linkup(linktext) {
	window.location = linktext;
}