//Rotation for big banners
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?goldentiger",
"/cgi-bin/out.pl?captaincook",
"/cgi-bin/out.pl?blackjackballroom",
"/cgi-bin/out.pl?yukongold",
"/cgi-bin/out.pl?vegas7",
"/cgi-bin/out.pl?luckyemperor",
"/cgi-bin/out.pl?casinokingdom",
"/cgi-bin/out.pl?casinoclassic",
"/cgi-bin/out.pl?aztecriches",
"/cgi-bin/out.pl?zodiac",
"/cgi-bin/out.pl?desertdollar",
"/cgi-bin/out.pl?fortuneroom",
"/cgi-bin/out.pl?vegastowers",
"/cgi-bin/out.pl?vegasvilla"
);

image = new big1initArray(
"/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/aztecriches1.gif",
"/prefrotation/zodiac1.gif",
"/prefrotation/desertdollar1.gif",
"/prefrotation/fortuneroom1.gif",
"/prefrotation/vegastowers1.gif",
"/prefrotation/vegasvilla1.gif"
);

text = new big1initArray(
"Golden Tiger",
"Captain Cooks",
"Blackjack Ballroom",
"Yukon Gold",
"Vegas Seven Casino",
"Lucky Emperor",
"Casino Kingdom",
"Casino Classic",
"Aztec Riches",
"Zodiac Casino",
"Desert Dollar",
"Fortune Room",
"Vegas Towers",
"Vegas Villa"
);

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?vegas7",
"/cgi-bin/out.pl?aztecriches",
"/cgi-bin/out.pl?luckyemperor",
"/cgi-bin/out.pl?desertdollar"
);

image = new small1initArray(
"/prefrotation/small/vegasseven1.gif",
"/prefrotation/small/aztecriches1.gif",
"/prefrotation/small/luckyemperor1.gif",
"/prefrotation/small/desertdollar1.gif"
);

text = new small1initArray(
"Vegas Seven Casino",
"Aztec Riches",
"Lucky Emperor",
"Desert Dollar"
);

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?grandonline",
"/cgi-bin/out.pl?goldenpalace",
"/cgi-bin/out.pl?flamingoclub",
"/cgi-bin/out.pl?zodiac"
);

image = new small2initArray(
"/prefrotation/small/goldentiger1.gif",
"/prefrotation/small/captaincooks1.gif",
"/prefrotation/small/grandonline3.gif",
"/prefrotation/small/goldenpalace1.gif",
"/prefrotation/small/flamingoclub3.gif",
"/prefrotation/small/zodiac1.gif"
);

text = new small2initArray(
"Golden Tiger",
"Captain Cooks",
"Grand Online Casino",
"Golden Palace Casino",
"Flamingo Club",
"Zodiac 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, third part
function smallrotation3() {
var currentdate = 0;
var core = 0;

function small3initArray() {

this.length = small3initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = small3initArray.arguments[i];
  }
}

link = new small3initArray(
"/cgi-bin/out.pl?blackjackballroom",
"/cgi-bin/out.pl?yukongold",
"/cgi-bin/out.pl?24ktgold",
"/cgi-bin/out.pl?vegasred",
"/cgi-bin/out.pl?vegasred",
"/cgi-bin/out.pl?vegasred",
"/cgi-bin/out.pl?fortuneroom"
);

image = new small3initArray(
"/prefrotation/small/blackjackballroom1.gif",
"/prefrotation/small/yukongold1.gif",
"/prefrotation/small/24ktgold3.gif",
"/prefrotation/small/vegasred1.gif",
"/prefrotation/small/vegasred2.gif",
"/prefrotation/small/vegasred3.gif",
"/prefrotation/small/fortuneroom1.gif"
);

text = new small3initArray(
"Blackjack Ballroom",
"Yukon Gold",
"24kt Gold Casino",
"Vegas Red Casino",
"Vegas Red Casino",
"Vegas Red Casino",
"Fortune Room"
);

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;
}
	