
//seed = now.getSeconds();
//var random_number = Math.random(seed);
//var range = random_number * quoteList.length;
//var rounded_number = Math.round(range);
//if (rounded_number == quoteList.length){rounded_number = 0}
//var quote = rounded_number;


var myadv = new Array ();
myadv[0] = '<a href="http://www.amazon.com/gp/product/1440440336?ie=UTF8&tag=ciforum-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=ciforum-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] = '<a href="http://www.amazon.com/gp/product/1440440336?ie=UTF8&tag=ciforum-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=ciforum-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[2] = "<span class=bq><b>Bible quote:</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[3] = "<span class=bq><b>Bible quote:</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[4] = "<span class=bq><b>Bible quote:</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[5] = "<span class=bq><b>Bible quote:</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[6] = "<span class=bq><b>Bible quote:</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>";
var i = Math.floor(7*Math.random())


if(i == 0 || i == 1 || i == 2 || i == 3 || i == 4 || i == 5 || i == 6 || i == 7){
document.write('<div style="border: 1px solid gray;">')
document.write('<div style="border: 10px solid white;">')
document.write(myadv[i]);
document.write('</div>');
document.write('</div>');
}
