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.amazon.com/exec/obidos/ASIN/0830817743/ref=nosim/newadventcatholi'><img border=0 align=center src='../books/0830817743w.jpg'><p><b>Handbook of Christian Apologetics: Hundreds of Answers to Crucial Questions</b><font color='#000000'><br><i>By Peter Kreeft and Ronald K. Tacelli</i><br>Sensible and concise, witty and wise, the authors offer compelling arguments for and defenses of every aspect of Christian belief, including faith and reason, God's nature, creation and evolution, providence and free will, miracles, the problem of evil, the Bible's historical reality, Christianity and other religions, and objective truths.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/0345340426/ref=nosim/newadventcatholi'><img border=0 align=center src='../books/0345340426.jpg'><p><b>The Hobbit and The Lord of the Rings</b><font color='#000000'><br><i>By J.R.R. Tolkien</i><br>'The values that emerge in <i>The Lord of the Rings</i> are the values that emerge in the Gospels.' --<i>Joseph Pearce</i></font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/0159506530/ref=nosim/newadventcatholi'><img border=0 align=center src='../books/0159506530w.gif'><p><b>Catholic Source Book</b><font color='#000000'><br><i>By Father Peter Klein</i><br>A vast reference on all things Catholic. The ten chapters include: Prayers, An Overview of the Tradition, Scripture, Church, Liturgy, The Liturgical Year, Devotions, Veneration of Saints, Catholic Symbols, and Word and Phrase Origins.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/0898705533/ref=nosim/newadventcatholi'><img border=0 align=center src='../books/0898705533w.gif'><p><b>What Catholics Really Believe: Setting the Record Straight</b><font color='#000000'><br><i>By Karl Keating</i><br>Keating address 52 common misconceptions about the Catholic faith, such as papal infallibility, the place of Mary, annulment and divorce, and more. Drawing upon Scripture and the wealth of Catholic tradition, Keating not only shows the logical errors in these positions, but clearly spells out the true Catholic teaching and explains the rationale behind Church doctrines and practices.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/0829416455/ref=nosim/newadventcatholi'><img border=0 align=center src='../books/0829416455.jpg'><p><b>The New Faithful: Why Young Adults Are Embracing Christian Orthodoxy</b><font color='#000000'><br><i>By Colleen Carroll</i><br>This is a groundbreaking new book that examines the growing trend toward religious orthodoxy among today's young adults. Author and journalist Colleen Carroll offers strong opinions on how this movement might transform an American society steeped in moral relativism and secularism.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/1931709807/ref=nosim/newadventcatholi'><img border=0 align=center src='../books/1931709807.jpg'><p><b>Dear Grace: Answers to Questions About the Faith</b><font color='#000000'><br><i>By Grace MacKinnon</i><br>Nationally syndicated columnist Grace MacKinnon gives you frank, clear, orthodox answers to your questions about the Catholic Faith.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>"
);

image = new initArray(
"<a href='http://www.amazon.com/exec/obidos/ASIN/0345340426/ref=nosim/newadventcatholi'><p><b>The Hobbit and The Lord of the Rings</b><font color='#000000'><br><i>By J.R.R. Tolkien</i><br>'The values that emerge in <i>The Lord of the Rings</i> are the values that emerge in the Gospels.' --<i>Joseph Pearce</i></font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/0159506530/ref=nosim/newadventcatholi'><p><b>Catholic Source Book</b><font color='#000000'><br><i>By Father Peter Klein</i><br>A vast reference on all things Catholic. The ten chapters include: Prayers, An Overview of the Tradition, Scripture, Church, Liturgy, The Liturgical Year, Devotions, Veneration of Saints, Catholic Symbols, and Word and Phrase Origins.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/0898705533/ref=nosim/newadventcatholi'><p><b>What Catholics Really Believe: Setting the Record Straight</b><font color='#000000'><br><i>By Karl Keating</i><br>Keating address 52 common misconceptions about the Catholic faith, such as papal infallibility, the place of Mary, annulment and divorce, and more. Drawing upon Scripture and the wealth of Catholic tradition, Keating not only shows the logical errors in these positions, but clearly spells out the true Catholic teaching and explains the rationale behind Church doctrines and practices.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/0829416455/ref=nosim/newadventcatholi'><p><b>The New Faithful: Why Young Adults Are Embracing Christian Orthodoxy</b><font color='#000000'><br><i>By Colleen Carroll</i><br>This is a groundbreaking new book that examines the growing trend toward religious orthodoxy among today's young adults. Author and journalist Colleen Carroll offers strong opinions on how this movement might transform an American society steeped in moral relativism and secularism.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/1931709807/ref=nosim/newadventcatholi'><p><b>Dear Grace: Answers to Questions About the Faith</b><font color='#000000'><br><i>By Grace MacKinnon</i><br>Nationally syndicated columnist Grace MacKinnon gives you frank, clear, orthodox answers to your questions about the Catholic Faith.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>",
"<a href='http://www.amazon.com/exec/obidos/ASIN/0830817743/ref=nosim/newadventcatholi'><p><b>Handbook of Christian Apologetics: Hundreds of Answers to Crucial Questions</b><font color='#000000'><br><i>By Peter Kreeft and Ronald K. Tacelli</i><br>Sensible and concise, witty and wise, the authors offer compelling arguments for and defenses of every aspect of Christian belief, including faith and reason, God's nature, creation and evolution, providence and free will, miracles, the problem of evil, the Bible's historical reality, Christianity and other religions, and objective truths.</font><br><font color='#ff0000'><b>Click here for details or to purchase from Amazon.com</b></font></p></a>"
);

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