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(
"<a href='http://www.newadvent.org/jump/ad2.htm' target='newadvent2'><font color='#000000'>Single? Catholic? </font><font color='#ff0000'>Ave Maria Singles</font></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
);

image = new initArray(
"1"
);

text = new initArray(
"1"
);

var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('' +ranlink+ '');
