// JavaScript Document

// From javascript.about.com -- http://javascript.about.com/library/blrand.htm
// Modified and annotated by Brian Wold, Brian Wold Consulting -- http://www.brianwold.com/
// The arrays can accept any valid HTML (i.e. images or text)
// Note that robots will not see this HTML

// Photo 1 -- leftmost photo: land
var mess1 = new Array(
'<img src="/images/photos/land1.jpg" height="50" width="120" alt="image1">',
'<img src="/images/photos/import1.jpg" height="50" width="120" alt="image2">',
'<img src="/images/photos/import2.jpg" height="50" width="120" alt="image3">',
'<img src="/images/photos/land3.jpg" height="50" width="120" alt="image4">',
'<img src="/images/photos/land4.jpg" height="50" width="120" alt="image5">',
'<img src="/images/photos/land5.jpg" height="50" width="120" alt="image6">',
'<img src="/images/photos/land6.jpg" height="50" width="120" alt="image7">');
var max = mess1.length;
var num = Math.floor((Math.random() * max));
document.writeln(mess1[num]);

// Photo 2 -- middle photo: farm
var mess2 = new Array(
'<img src="/images/photos/farm1.jpg" height="50" width="120" alt="image1">',
'<img src="/images/photos/farm2.jpg" height="50" width="120" alt="image2">',
'<img src="/images/photos/farm3.jpg" height="50" width="120" alt="image3">',
'<img src="/images/photos/farm4.jpg" height="50" width="120" alt="image4">',
'<img src="/images/photos/farm5.jpg" height="50" width="120" alt="image5">',
'<img src="/images/photos/farm6.jpg" height="50" width="120" alt="image6">',
'<img src="/images/photos/farm7.jpg" height="50" width="120" alt="image7">',
'<img src="/images/photos/farm8.jpg" height="50" width="120" alt="image8">',
'<img src="/images/photos/farm9.jpg" height="50" width="120" alt="image9">');
var max = mess2.length;
var num = Math.floor((Math.random() * max));
document.writeln(mess2[num]);

// Photo 3 -- rightmost photo: misc
var mess3 = new Array(
'<img src="/images/photos/misc1.jpg" height="50" width="120" alt="image1">',
'<img src="/images/photos/misc2.jpg" height="50" width="120" alt="image2">',
'<img src="/images/photos/misc3.jpg" height="50" width="120" alt="image3">',
'<img src="/images/photos/misc4.jpg" height="50" width="120" alt="image4">',
'<img src="/images/photos/misc5.jpg" height="50" width="120" alt="image5">',
'<img src="/images/photos/misc6.jpg" height="50" width="120" alt="image6">',
'<img src="/images/photos/misc7.jpg" height="50" width="120" alt="image7">');
var max = mess3.length;
var num = Math.floor((Math.random() * max));
document.writeln(mess3[num]);