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(
"<table align=center><tr><td><table bgcolor=#DDB7BA border=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><td bgcolor=#FFF5F6 nowrap><a href='http://www.catholicfreebies.com/index.cfm?AID=3&new=yes'><font color='blue' size=-1>Free Catholic Stuff</font><br><font color='#6f6f6f' size=-2>Everything is Catholic.<br>Everything is completely free.</font><br><font color=green size=-1>www.CatholicFreebies.com</font></a></td></tr></table></td></tr></table></td><td><table bgcolor=#DDB7BA border=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><td bgcolor=#FFF5F6 nowrap><a href='http://newadvent.catholiccompany.com'><font color='blue' size=-1>Catholic Books & Gifts</font><br><font color='#6f6f6f' size=-2>Statues, rosaries, Bibles, medals,<br>First Communion gifts, and more.</font><br><font color=green size=-1>www.CatholicCompany.com</font></a></td></tr></table></td></tr></table></td></tr></table>",
"<table align=center><tr><td><table bgcolor=#A8DDA0 border=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><td bgcolor=#EBFFED nowrap><a href='http://www.catholicfreebies.com/index.cfm?AID=3&new=yes'><font color='blue' size=-1>Free Catholic Stuff</font><br><font color='#6f6f6f' size=-2>Everything is Catholic.<br>Everything is completely free.</font><br><font color=green size=-1>www.CatholicFreebies.com</font></a></td></tr></table></td></tr></table></td><td><table bgcolor=#A8DDA0 border=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><td bgcolor=#EBFFED nowrap><a href='http://newadvent.catholiccompany.com'><font color='blue' size=-1>Catholic Books & Gifts</font><br><font color='#6f6f6f' size=-2>Statues, rosaries, Bibles, medals,<br>First Communion gifts, and more.</font><br><font color=green size=-1>www.CatholicCompany.com</font></a></td></tr></table></td></tr></table></td></tr></table>",
"<table align=center><tr><td><table bgcolor=#A8DDA0 border=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><td bgcolor=#EBFFED nowrap><a href='http://www.catholicfreebies.com/index.cfm?AID=3&new=yes'><font color='blue' size=-1>Free Catholic Stuff</font><br><font color='#6f6f6f' size=-2>Everything is Catholic.<br>Everything is completely free.</font><br><font color=green size=-1>www.CatholicFreebies.com</font></a></td></tr></table></td></tr></table></td><td><table bgcolor=#A8DDA0 border=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><td bgcolor=#EBFFED nowrap><a href='http://www.aquinasandmore.com/index.cfm/FuseAction/store.viewCategory/category/2/affiliate/NewAdvent3834/T/5 target=newadvent2'><font color='blue' size=-1>First Communion Gifts</font><br><font color='#6f6f6f' size=-2>Dozens of missals, gift sets, veils,<br>dresses, rosaries and other gifts</font><br><font color=green size=-1>www.AquinasAndMore.com</font></a></td></tr></table></td></tr></table></td></tr></table>",
"<table align=center><tr><td><table bgcolor=#DDB7BA border=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><td bgcolor=#FFF5F6 nowrap><a href='http://www.catholicfreebies.com/index.cfm?AID=3&new=yes'><font color='blue' size=-1>Free Catholic Stuff</font><br><font color='#6f6f6f' size=-2>Everything is Catholic.<br>Everything is completely free.</font><br><font color=green size=-1>www.CatholicFreebies.com</font></a></td></tr></table></td></tr></table></td><td><table bgcolor=#DDB7BA border=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><td bgcolor=#FFF5F6 nowrap><a href='http://www.aquinasandmore.com/index.cfm/FuseAction/store.viewCategory/category/2/affiliate/NewAdvent3834/T/5 target=newadvent2'><font color='blue' size=-1>First Communion Gifts</font><br><font color='#6f6f6f' size=-2>Dozens of missals, gift sets, veils,<br>dresses, rosaries and other gifts</font><br><font color=green size=-1>www.AquinasAndMore.com</font></a></td></tr></table></td></tr></table></td></tr></table>"
);

image = new initArray(
"1",
"1",
"1",
"1"
);

text = new initArray(
"1",
"1",
"1",
"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+ '');

