//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?blackjackballroom",
"/cgi-bin/out.pl?casinoshare",
"/cgi-bin/out.pl?grandmondial",
"/cgi-bin/out.pl?quatro",
"/cgi-bin/out.pl?luckyemperor"
);

image = new big1initArray(
"/prefrotation/blackjackballroom1.gif",
"/prefrotation/casinoshare1.gif",
"/prefrotation/grandmondial1.gif",
"/prefrotation/quatro1.gif",
"/prefrotation/luckyemperor1.gif"
);

text = new big1initArray(
"Blackjack Ballroom Casino",
"Casino Share",
"Grand Mondial Casino",
"Quatro Casino",
"Lucky Emperor"
);

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 big1initArray(
"/cgi-bin/out.pl?blackjackballroom",
"/cgi-bin/out.pl?casinoshare",
"/cgi-bin/out.pl?grandmondial",
"/cgi-bin/out.pl?quatro",
"/cgi-bin/out.pl?luckyemperor"
);

image = new big1initArray(
"/prefrotation/small/blackjackballroom1.gif",
"/prefrotation/small/casinoshare1.gif",
"/prefrotation/small/grandmondial1.gif",
"/prefrotation/small/quatro1.gif",
"/prefrotation/small/luckyemperor1.gif"
);

text = new big1initArray(
"Blackjack Ballroom Casino",
"Casino Share",
"Grand Mondial Casino",
"Quatro Casino",
"Lucky Emperor"
);

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?captaincooks",
"/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?ukcasino"
);

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;
}
