//Rotation for big banners
function smallrotation1() {
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?pr",
"cgi-bin/out.pl?pp",
"cgi-bin/out.pl?hm",
"cgi-bin/out.pl?ftp",
"cgi-bin/out.pl?absolutepoker"
,
"cgi-bin/out.pl?ubp",
"cgi-bin/out.pl?tp"
);

image = new big1initArray(
"/images/2x4/pr1.gif",
"/images/2x4/PartyPoker1.gif",
"/images/2x4/hm1.gif",
"/images/2x4/ftp1.gif",
"/images/2x4/absolutepoker1.gif",
"/images/2x4/ubp1.gif",
"/images/2x4/tp1.gif"
);

text = new big1initArray(
"Poker Room",
"Party Poker",
"Holdem Poker",
"Full Tilt Poker",
"Absolute Poker",
"Ultimate Bet Poker",
"Titan 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" hspace="10" alt=\"'+rantext+'\"></a>');
}

//Rotation for small banners, first part
function small2rotation1() {
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?pr",
"cgi-bin/out.pl?pp",
"cgi-bin/out.pl?hm",
"cgi-bin/out.pl?ftp",
"cgi-bin/out.pl?absolutepoker"
,
"cgi-bin/out.pl?ubp",
"cgi-bin/out.pl?tp"
);

image = new small1initArray(
"/images/4x4/pr1.gif",
"/images/4x4/PartyPoker1.gif",
"/images/4x4/hm1.gif",
"/images/4x4/ftp1.gif",
"/images/4x4/absolutepoker1.gif",
"/images/4x4/ubp1.gif",
"/images/4x4/tp1.gif"
);

text = new small1initArray(
"Poker Room",
"Party Poker",
"Holdem Poker",
"Full Tilt Poker",
"Absolute Poker",
"Ultimate Bet Poker",
"Titan 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>');
}

function linkup(linktext) {
	window.location = linktext;
}