/*** Feel free to use this script, just leave these comment lines. ***/
/***   Goetz's Banner Script copyright 1998 Lawrence Goetz   ***/
/***   goetz@lawrencegoetz.com http://www.lawrencegoetz.com/ ***/
/***   Modified to do wallpaper only Craig Williams 7/25/99  ***/

// Indicate how many banner ads there are.
var amount=18;

// Array Function.
function makeArray(len) {
	for (var i = 0; i < len; i++) 
		this[i] = null;
	this.length = len;
}

// Array Function for target in frames. 
// You can adjust the default here if you like.
// The default is _self.
function makeTargetArray(len) {
	for (var i = 0; i < len; i++) 
		this[i] = "_self";
	this.length = len;
}

// Generate's the arrays.
image = new makeArray(amount);

// Place your wallpaper information here. Start at index number 0.
image[0]="photos/2003/nationals/124-hancock.jpg";
image[1]="photos/2003/nationals/130-106.jpg";
image[2]="photos/2003/nationals/130a.jpg";
image[3]="photos/2003/nationals/160-245-130.jpg";
image[4]="photos/2003/nationals/196-start.jpg";
image[5]="photos/2003/nationals/196a.jpg";
image[6]="photos/2003/nationals/196b.jpg";
image[7]="photos/2003/nationals/196c.jpg";
image[8]="photos/2003/nationals/245-106.jpg";
image[9]="photos/2003/nationals/245a-start.jpg";
image[10]="photos/2003/nationals/245b-start.jpg";
image[11]="photos/2003/nationals/249-152.jpg";
image[12]="photos/2003/nationals/249a.jpg";
image[13]="photos/2003/nationals/90-103.jpg";
image[14]="photos/2003/nationals/90-start.jpg";
image[15]="photos/2003/nationals/90a.jpg";
image[16]="photos/2003/nationals/90b.jpg";
image[17]="photos/2003/nationals/90c.jpg";

// Randomly pick a banner to display.
function rand(n) {
	seed = (0x015a4e35 * seed) % 0x7fffffff;
	return (seed >> 16) % n;
}
  
var now = new Date();
var seed = now.getTime() % 0xffffffff;
var position=rand(amount);
