// original content taken from Nic's JavaScript Page with permission
// lack of these three lines will result in copyright infringment
// made by: Nic's JavaScript Page - http://www.javascript-page.com

var currentdate = 0;
var core = 0;

function initArray() {

this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = initArray.arguments[i];
  }
}

link = new initArray(
"http://www.gottalottahits.com/?ref=5",
"http://www.plan4power.org/?autoserf",
"http://www.investbonus.com",
"http://cool-surfer.com/?ref=1136",
"http://www.pajamasurf.com/?ref=4126",
"http://www.west-gold.net",
"http://engagesurf.com/",
"http://www.wildrosesurf.com/?ref=1",
"http://www.11xu.com/?ref=5641",
"http://top-surf.com/",
"http://www.magic-surf.net/",
"http://www.12dailygold.com/",
"http://www.12dailypro.com/?ref=145675"
);

image = new initArray(
"http://www.gottalottahits.com/banners/ban1.jpg",
"http://www.plan4power.org/images/p4p_banner3.gif",
"http://www.investbonus.com/banner/top_banner.gif",
"http://cool-surfer.com/banners/ban2.gif",
"http://www.pajamasurf.com/banners/ban8.gif",
"http://www.west-gold.net/banners/ban2.gif",
"http://engagesurf.com/banners/banner1.gif",
"http://www.wildrosesurf.com/banners/ban3.gif",
"http://www.11xu.com/images/banner3.gif",
"http://top-surf.com/images/topsurfbanner.gif",
"http://www.magic-surf.net/banners/ban1.gif",
"http://www.12dailygold.com/banners/ban2.gif",
"http://www.12dailypro.com/banners/ban4.jpg"
);

text = new initArray(
"Gottalottahits",
"Plan4power",
"investbonus_03_02",
"cool-surfer_07_02",
"pajamasurf_07_02",
"west-gold_07_02",
"engagesurf_10_02",
"wildrosesurf_10_02",
"11xu_10_02",
"top-surf_13_02",
"magic-surf_13_02",
"12dailygold_23_02",
"12dailypro_14_02"
);

var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('<a href=\"' +ranlink+ '\"><img src=\"'+ranimage+'\" border="0" width="468" height="60" alt=\"'+rantext+'\"></a>');



