//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?absolutepoker",
"/cgi-bin/out.pl?absolutepoker",
"/cgi-bin/out.pl?absolutepoker",
"/cgi-bin/out.pl?fulltilt",
"/cgi-bin/out.pl?fulltilt",
"/cgi-bin/out.pl?fulltilt",
"/cgi-bin/out.pl?pokerstars",
"/cgi-bin/out.pl?pokerstars",
"/cgi-bin/out.pl?pokerstars"
);

image = new big1initArray(
"/prefrotation/absolutepoker1.gif",
"/prefrotation/absolutepoker2.gif",
"/prefrotation/absolutepoker3.gif",
"/prefrotation/fulltilt1.gif",
"/prefrotation/fulltilt2.gif",
"/prefrotation/fulltilt3.gif"
"/prefrotation/pokerstars1.gif",
"/prefrotation/pokerstars2.gif",
"/prefrotation/pokerstars3.gif"
);

text = new big1initArray(
"Absolute Poker",
"Absolute Poker",
"Absolute Poker",
"Full Tilt Poker",
"Full Tilt Poker",
"Full Tilt Poker",
"Poker Stars",
"Poker Stars",
"Poker Stars"
);

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?absolutepoker",
"/cgi-bin/out.pl?absolutepoker",
"/cgi-bin/out.pl?absolutepoker",
"/cgi-bin/out.pl?fulltilt",
"/cgi-bin/out.pl?fulltilt",
"/cgi-bin/out.pl?fulltilt"
);

image = new small1initArray(
"/prefrotation/small/absolutepoker1.gif",
"/prefrotation/small/absolutepoker2.gif",
"/prefrotation/small/absolutepoker3.gif",
"/prefrotation/small/fulltilt1.gif",
"/prefrotation/small/fulltilt2.gif",
"/prefrotation/small/fulltilt3.gif"
);

text = new small1initArray(
"Absolute Poker",
"Absolute Poker",
"Absolute Poker",
"Full Tilt Poker",
"Full Tilt Poker",
"Full Tilt Poker"
);

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?pokerstars",
"/cgi-bin/out.pl?pokerstars",
"/cgi-bin/out.pl?pokerstars"
);

image = new small2initArray(
"/prefrotation/small/pokerstars1.gif",
"/prefrotation/small/pokerstars2.gif",
"/prefrotation/small/pokerstars3.gif"
);

text = new small2initArray(
"Poker Stars",
"Poker Stars",
"Poker Stars"
);

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;
}
	