/******************************************
* LentPictures.js -                            *
*               Thanksgiving Pictures        *
******************************************/

<!-- //Hide JavaScript from Browser

// Define the strings to randomly display
lines= new makeArray(13); // The number in () should be the total number
			 // of lines to be used

// Each entry in the lines array should be listed below 
// with the number inside the [], the text/HTML inside single-quotes,
// and the line should be ended with a semi-colon
lines[1] = '<img height=170  width=125 src="./ChristianPictures/B96.jpg" border=2 bordercolor="#D66321">';
lines[2] = '<img height=170  width=125 src="./ChristianPictures/B92.jpg" border=2 bordercolor="#D66321">';
lines[3] = '<img height=170  width=125 src="./ChristianPictures/B49.jpg" border=2 bordercolor="#D66321">';
lines[4] = '<img height=170  width=125 src="./ChristianPictures/B3.jpg" border=2 bordercolor="#D66321">';
lines[5] = '<img height=170  width=125 src="./ChristianPictures/B225.jpg" border=2 bordercolor="#D66321">';
lines[6] = '<img height=170  width=125 src="./ChristianPictures/B223.jpg" border=2 bordercolor="#D66321">';
lines[7] = '<img height=170  width=125 src="./ChristianPictures/B215.jpg" border=2 bordercolor="#D66321">';
lines[8] = '<img height=170  width=125 src="./ChristianPictures/B179.jpg" border=2 bordercolor="#D66321">';
lines[9] = '<img height=170  width=125 src="./ChristianPictures/B178.jpg" border=2 bordercolor="#D66321">';
lines[10] = '<img height=170  width=125 src="./ChristianPictures/B177.jpg" border=2 bordercolor="#D66321">';
lines[11] = '<img height=170  width=125 src="./ChristianPictures/B16.jpg" border=2 bordercolor="#D66321">';
lines[12] = '<img height=170  width=125 src="./ChristianPictures/B146.jpg" border=2 bordercolor="#D66321">';
lines[13] = '<img height=170  width=125 src="./ChristianPictures/B134.jpg" border=2 bordercolor="#D66321">';
// Utility script to make an array
function makeArray ( n ) {
   this.length = n;
   for (var i = 1; i <= n; i++ )
      this [i] = 0;
   return this;
}
// We want to "seed" this primitive random number generator with
// something "new" every time. So, use the time
var today= new Date();
var ran=today.getTime();

// This function returns a random number between 0 and limit
function random(limit) {
   ia=9973; ic=12563; im=232871;
   ran = (ran*ia+ic) % im;
   return (Math.ceil( (ran/(im*1.0)) * limit));
}
// This function writes out HTML randomly selected from a list.
function randomHTML() { 
  document.write(lines[random(lines.length)]);
}
// Stop hiding from Browser -->

