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.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/0W1G2D-7MYB.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/6T3ZMMYDGQT.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/GJFWTCU--71.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Education/3AGQKB2-8D9.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Fundraising/WTAB62SSVDF.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/0A5T8R3RAWG.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Catalogs/YCG8KRV608E.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Religious_Education/1A4158UWQ9U.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Education/BF84P9TV2A3.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Religious_Education/QCH37FW86G5.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/LBGGY7VXA9A.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Sacramentals/0TGCHRA6LEL.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/L-8W1-JZXAJ.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/8UA-WKYWQB9.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/J3M5T6-SMXM.cfm",
"http://www.catholicfreebies.com/goto.cfm?AID=3&link=/Publications/VMPYM455Q2X.cfm"

);

image = new initArray(

"http://www.catholicfreebies.com/gifs/1253.gif",
"http://www.catholicfreebies.com/gifs/1375.gif",
"http://www.catholicfreebies.com/gifs/1027.gif",
"http://www.catholicfreebies.com/gifs/1865.gif",
"http://www.catholicfreebies.com/gifs/1257.gif",
"http://www.catholicfreebies.com/gifs/1251.gif",
"http://www.catholicfreebies.com/gifs/46.gif",
"http://www.catholicfreebies.com/gifs/1858.gif",
"http://www.catholicfreebies.com/gifs/483.gif",
"http://www.catholicfreebies.com/gifs/1860.gif",
"http://www.catholicfreebies.com/gifs/1274.gif",
"http://www.catholicfreebies.com/gifs/251.gif",
"http://www.catholicfreebies.com/gifs/1252.gif",
"http://www.catholicfreebies.com/gifs/1732.gif",
"http://www.catholicfreebies.com/gifs/618.gif",
"http://www.catholicfreebies.com/gifs/1250.gif"

);

text = new initArray(

"Is Raising Your Children Catholic Important To You? -- <B>Get this FREE Issue</B>!",
"Spiritual Insights - Practical Advice -- <B>Get this FREE Issue</B>!",
"FREE Issue of CRISIS Magazine",
"Catholic College Prep Program Online -- <B>Get this FREE Information</B>!",
"Profitable Catholic Home Business Opportunity -- <B>Get this FREE Info Packet</B>!",
"Questions about the Faith? Get a FREE Issue of <b>The Catholic Answer</b>",
"Apologetics and Scripture Study Books -- <B>Get this FREE Catalog</B>!",
"The St. Juan Diego Story for Children -- <B>Get this FREE Coloring Book</B>!",
"High School Summer Program -- <B>Get this FREE Application</B>!",
"Patroness of First Communicants - Bl. Imelda -- <B>Get this FREE Coloring Book</B>!",
"Know Exactly What the Pope Is Saying and Thinking -- <B>Get this FREE Issue</B>!",
"Rosary Parts for Making Rosaries",
"A Daily Guide to a Stronger Spiritual Life -- <B>Get this FREE Issue</B>!",
"Scripture Reflections for Today`s Disciples -- <B>Get this FREE Issue</B>!",
"Daily Prayer and Scripture Guide -- <B>Get this FREE Issue</B>!",
"Coverage of World Catholic News -- <B>Get this FREE Issue</B>!"

);

var currentdate = new Date();

var core = currentdate.getSeconds() % image.length;

var ranlink  = link[core];

var ranimage = image[core];

var rantext  = text[core];

document.write('<table width=130 border=0 cellspacing=0 cellpadding=0 bgcolor=006633>');

document.write('<tr>');

document.write('<td>');

document.write('<table width=100% border=0 cellspacing=2 cellpadding=6>');

document.write('<tr bgcolor=FFFFFF>');

document.write('<td align=center bgcolor=E9FAE9>');

document.write('<a href=' +ranlink+ '><font face=Arial, Helvetica size=2 color=006633>' +rantext+ '</font></a><BR>');

document.write('<a href=' +ranlink+ '><img src=' +ranimage+ ' border=0 alt="' +rantext+ '" vspace=8 hspace=4></a>');

document.write('</td>');

document.write('</tr>');

document.write('</table>');

document.write('</td>');

document.write('</tr>');

document.write('</table>');
