
// The Array Function 

function makeArray(len) {

    for (var i = 0; i < len; i++) this[i] = null;

this.length = len;

}

// This is where the array of rotating header pics is created.

images = new makeArray(6);
images[0] = "<img src='../wp-content/themes/default/images/hdr_1.jpg' title='Return to the Downtown Phoenix - It\'s Happening Home Page'>";
images[1] = "<img src='../wp-content/themes/default/images/hdr_2.jpg' title='Return to the Downtown Phoenix - It\'s Happening Home Page'>";
images[2] = "<img src='../wp-content/themes/default/images/hdr_3.jpg' title='Return to the Downtown Phoenix - It\'s Happening Home Page'>";
images[3] = "<img src='../wp-content/themes/default/images/hdr_4.jpg' title='Return to the Downtown Phoenix - It\'s Happening Home Page'>";
images[4] = "<img src='../wp-content/themes/default/images/hdr_5.jpg' title='Return to the Downtown Phoenix - It\'s Happening Home Page'>";
images[5] = "<img src='../wp-content/themes/default/images/hdr_6.jpg' title='Return to the Downtown Phoenix - It\'s Happening Home Page'>";


// The random number generator.

function rand(n) {

seed = (0x015a4e35 * seed) % 0x7fffffff;

return (seed >> 16) % n;

}

    

var now = new Date()

var seed = now.getTime() % 0xffffffff


