//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?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas"
);

image = new big1initArray(
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif",
"banners/royalvegas1.gif"
);

text = new big1initArray(
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas 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>');
}

//tall banners
function tallrotation1() {
var currentdate = 0;
var core = 0;

function tall1initArray() {

this.length = tall1initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = tall1initArray.arguments[i];
  }
}

link = new tall1initArray(
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas"
);

image = new tall1initArray(
"banners/tall/royalvegas1.gif",
"banners/tall/royalvegas1.gif",
"banners/tall/royalvegas1.gif"
);

text = new tall1initArray(
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas 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 vspace=\"5\" hspace=\"5\" align= \"left\" 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?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas"
);

image = new small1initArray(
"banners/small/royalvegas1.gif",
"banners/small/royalvegas1.gif",
"banners/small/royalvegas1.gif"
);

text = new small1initArray(
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas 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?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?royalvegas",
"cgi-bin/out.pl?vegas7",
"cgi-bin/out.pl?vegas7",
"cgi-bin/out.pl?vegas7"
);

image = new small2initArray(
"banners/small/royalvegas1.gif",
"banners/small/royalvegas1.gif",
"banners/small/royalvegas1.gif",
"banners/small/royalvegas1.gif",
"banners/small/royalvegas1.gif",
"banners/small/vegasseven1.gif",
"banners/small/vegasseven2.gif",
"banners/small/vegasseven3.gif"
);

text = new small2initArray(
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Royal Vegas Casino",
"Vegas Seven Casino",
"Vegas Seven Casino",
"Vegas Seven 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?grandhotel",
"cgi-bin/out.pl?grandhotel"
);

image = new small3initArray(
"banners/small/grandhotel1.gif",
"banners/small/grandhotel1.gif"
);

text = new small3initArray(
"Grand Hotel Casino",
"Grand Hotel 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>');
}

function linkup(linktext) {
	window.location = linktext;
}
	