
//Code is from 100prophecies.com. Please feel free to copy, edit and use this code on your site.

var myadv = new Array ();
myadv[0] = '<a href="http://www.amazon.com/gp/product/1440440336?ie=UTF8&tag=100propsc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=1440440336" target=_blank><img src="images/mp1.jpg" height="252" width="160" border="0" alt="My Psalms by George Konig"></a><br><br><a href="http://www.amazon.com/gp/product/1440440336?ie=UTF8&tag=100propsc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=1440440336" target=_blank><b>My Psalms,</b> a book of Christian poetry by George Konig, is on sale now, for $3.99. Click here to learn more or to buy.</a><br>';
myadv[1] = "<span class=bq><b>From the Bible:</b><br><br>For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.</span><br><span class=ba>(John 3:16, KJV)</span>";
myadv[2] = "<span class=bq><b>From the Bible:</b><br><br>For all have sinned, and come short of the glory of God; Being justified freely by his grace through the redemption that is in Christ Jesus:</span><br><span class=ba>(Romans 3:23,24, KJV)</span>";
myadv[3] = "<span class=bq><b>From the Bible:</b><br><br>For the wages of sin is death; but the gift of God is eternal life through Jesus Christ our Lord.</span><br><span class=ba>(Romans 6:23, KJV)</span>";
myadv[4] = "<span class=bq><b>From the Bible:</b><br><br>That if you confess with your mouth, &quot;Jesus is Lord,&quot; and believe in your heart that God raised him from the dead, you will be saved.</span><br><span class=ba>(Romans 10:9, NIV)</span>";
myadv[5] = "<span class=bq><b>From the Bible:</b><br><br>For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.</span><br><span class=ba>(John 3:16, KJV)</span>";
myadv[6] = '<a href="http://www.amazon.com/gp/product/1441408045?ie=UTF8&tag=100propsc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=1441408045" target=_blank><img src="images/op1.jpg" height="240" width="160" border="0" alt="100 Prophecies by George Konig and Ray Konig"></a><br><br><a href="http://www.amazon.com/gp/product/1441408045?ie=UTF8&tag=100propsc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=1441408045" target=_blank><b>100 Prophecies,</b> explains ancient Bible prophecies and how they were fulfilled in history. $8.99. Click here to learn more.</a><br>';

var i = Math.floor(12*Math.random())

if(i >= 6){
n = 6;}
else {n = i;}

document.write('<div style="border: 1px solid gray;">')
document.write('<div style="border: 10px solid white;">')
document.write(myadv[n]);
document.write('</div>');
document.write('</div>');
