// 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.superiororalcare.com?AffID=3045",
"http://www.vitabase.com/r-just4you/default.aspx", 
"http://www.fitnessandfreebies.com/dbook.html",
"http://www.fitnessandfreebies.com/ovenfry.html",
"http://www.fitnessandfreebies.com/rootbeer.html",
"http://banners.moreniche.com/go.php?id=7666&w=128221&s=141"
);

image = new initArray(
"http://www.fitnessandfreebies.com/images/ebookbanner_3.gif",
"http://www.vitabase.com/images/relationships/banner0207.jpg", 
"http://www.fitnessandfreebies.com/ebooks/dbookbnr.gif",
"http://www.fitnessandfreebies.com/ebooks/of1.gif",
"http://www.fitnessandfreebies.com/ebooks/rb1.gif",
"http://banners.moreniche.com/show.php?id=7666&w=128221&s=141&e=gif"
);

text = new initArray(
"Get Your Free eBook on Bad Breath",
"Vitabase Making Health Simple", 
"Dedicated to the Diabetic Diet eBook",
"Oven Frying for a Healthy Heart",
"The Root Beer eCookBook",
"Unique Hoodia Control"
);

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" alt=\"'+rantext+'\"></a>');