//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?absolutepoker",
"/cgi-bin/out.pl?fulltiltpoker",
"/cgi-bin/out.pl?bodogpoker",
"/cgi-bin/out.pl?pokerstars",
"/cgi-bin/out.pl?ultimatebet",
"/cgi-bin/out.pl?carbonpoker",
"/cgi-bin/out.pl?acedpoker",
"/cgi-bin/out.pl?pdcpoker"
);

image = new big1initArray(
"/assets/images/2x4/ap3.gif",
"/assets/images/2x4/fulltilt1.gif",
"/assets/images/2x4/bodogpoker1.gif",
"/assets/images/2x4/ps2.gif",
"/assets/images/2x4/ultimatebet1.gif",
"/assets/images/2x4/carbonpoker1.gif",
"/assets/images/2x4/acedpoker1.gif",
"/assets/images/2x4/pdcpoker1.gif"
);

text = new big1initArray(
"Absolute Poker",
"Full Tilt Poker",
"Bodog Poker",
"Poker Stars",
"Ultimate Bet Poker",
"Carbon Poker",
"Aced Poker",
"PDC 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 
function smallrotation21() {
var currentdate = 0;
var core = 0;

function small4initArray() {

this.length = small4initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = small4initArray.arguments[i];
  }
}

link = new small4initArray(
"/cgi-bin/out.pl?pdcpoker",
"/cgi-bin/out.pl?carbonpoker"
);

text = new small4initArray(
"PDC Poker",
"Carbon Poker"
);

text2 = new small4initArray(
"100% bonus on deposits up to $600!",
"100% bonus on deposits up to $600"
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % link.length;
var ranlink  = link[core];
var rantext  = text[core];
var rantextbody  = text2[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\">'+rantext+'</a> '+rantextbody);
}

//Rotation for small banners, third part
function smallrotation22() {
var currentdate = 0;
var core = 0;

function small4initArray() {

this.length = small4initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = small4initArray.arguments[i];
  }
}

link = new small4initArray(
"/cgi-bin/out.pl?bodogpoker",
"/cgi-bin/out.pl?acedpoker"
);

text = new small4initArray(
"Bodog Poker",
"Aced Poker"
);

text2 = new small4initArray(
"110% Bonus up to $1100 Free!",
"100% match bonus up to $600."
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % link.length;
var ranlink  = link[core];
var rantext  = text[core];
var rantextbody  = text2[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\">'+rantext+'</a> '+rantextbody);
}

function smallrotation3() {
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?fulltiltpoker",
"/cgi-bin/out.pl?bodogpoker",
"/cgi-bin/out.pl?pokerstars"
);

image = new big1initArray(
"/assets/images/4x4/absolutepoker1.gif",
"/assets/images/4x4/fulltilt1.gif",
"/assets/images/4x4/bodogpoker1.gif",
"/assets/images/4x4/pokerstars1.gif"
);

text = new big1initArray(
"Absolute Poker",
"Full Tilt Poker",
"Bodog Poker",
"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 
function smallrotation41() {
var currentdate = 0;
var core = 0;

function small4initArray() {

this.length = small4initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = small4initArray.arguments[i];
  }
}

link = new small4initArray(
"/cgi-bin/out.pl?fulltiltpoker",
"/cgi-bin/out.pl?ultimatebet",
"/cgi-bin/out.pl?carbonpoker"
);

text = new small4initArray(
"Full Tilt Poker",
"Ultimate Bet Poker",
"Carbon Poker"
);

text2 = new small4initArray(
"100% Deposit Bonus up to $600. $750K Sunday Guarantee tournament. Great Weekly $8 million Guarantee Tourneys. $1 million Monthly Guarantee tournament.",
"111% Deposit Bonus up to $1100 FREE. That's INCREDIBLE!! 35% Reload Bonus up to $250 Free !! ",
"100% bonus on deposits up to $600! Receive entry for $500 Freerolls. Earn leaderboard awards points"
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % link.length;
var ranlink  = link[core];
var rantext  = text[core];
var rantextbody  = text2[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\">'+rantext+'</a> '+rantextbody);
}

//Rotation for small banners, third part
function smallrotation42() {
var currentdate = 0;
var core = 0;

function small4initArray() {

this.length = small4initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = small4initArray.arguments[i];
  }
}

link = new small4initArray(
"/cgi-bin/out.pl?bodogpoker",
"/cgi-bin/out.pl?pokerstars"
);

text = new small4initArray(
"Bodog Poker",
"Poker Stars"
);

text2 = new small4initArray(
"110% Deposit Bonus up to $1100! $15,000 Monthly Freeroll Tournament. $100K Guaranteed Tourney Sunday",
"100% bonus up to a total of $600 on your 1st 3 deposits. WCOOP 2008 satellites entry! $1,000,000 Guaranteed Holdem Tournament Sunday. Sunday Warmup $500,000 guaranteed tournaments. Mac compatible"
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % link.length;
var ranlink  = link[core];
var rantext  = text[core];
var rantextbody  = text2[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\">'+rantext+'</a> '+rantextbody);
}

//Rotation 
function smallrotation5() {
var currentdate = 0;
var core = 0;

function small4initArray() {

this.length = small4initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = small4initArray.arguments[i];
  }
}

link = new small4initArray(
"/cgi-bin/out.pl?absolutepoker",
"/cgi-bin/out.pl?fulltiltpoker",
"/cgi-bin/out.pl?bodogpoker",
"/cgi-bin/out.pl?pokerstars"
);

text = new small4initArray(
"Absolute Poker",
"Full Tilt Poker",
"Bodog Poker",
"Poker Stars"
);

text2 = new small4initArray(
"New Players receives 150% Deposit Bonus up to $500. Mac Compatible.$400K Weekly Poker Tournament!!",
"100% Deposit Bonus up to $600. $750K Monthly Guarantee tournament. Great Weekly Guarantee Tourneys.$5 million in guaranteed prize money.",
"110% Deposit Bonus up to $1100! $15,000 Monthly Freeroll Tournament. $100K Guaranteed Tourney Sunday",
"100% bonus up to a total of $600 on your 1st 3 deposits. Play World's Largest Free Poker Tournament for just a few bucks. $1M Guaranteed Weekly Holdem Tournament."
);

var currentdate = new Date();
var core = currentdate.getMilliseconds() % link.length;
var ranlink  = link[core];
var rantext  = text[core];
var rantextbody  = text2[core];

document.write('<a href=\"javascript: linkup(\'' +ranlink+ '\');\">'+rantext+'</a> '+rantextbody);
}
function linkup(linktext) {
	window.location = linktext;
}
