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(
"",
"",
"",
"",
"",
"",
"",
""
);

image = new initArray(
"http://babeslol.com/adsfotos/1.jpg",
"http://babeslol.com/adsfotos/2.jpg",
"http://babeslol.com/adsfotos/3.jpg",
"http://babeslol.com/adsfotos/4.jpg",
"http://babeslol.com/adsfotos/5.jpg",
"http://babeslol.com/adsfotos/6.jpg",
"http://babeslol.com/adsfotos/7.jpg"

);

text = new initArray(
"Babes",
"babes",
"babes",
"babes",
"babes",
"babes",
"babes"
);
var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];
document.write('<img src=\"'+ranimage+'\" border="1" alt=\"'+rantext+'\ width="130px" height="97px">');
