/* This script selects a random image for the masthead/banner. Please do not edit unless more images are added.
   If you add an image, make sure you add it to the ggeMasts directory, that its width is 609 pixels and 
   its height is 125 pixels. Also be sure to save it in .jpg format.  
   To edit, insert the number of images plus one to be selected from where the 'x' is in the below equation:
   selector = Math.floor(1 + Math.random() * (x-1)); 
   Example: We select from 10 images in the ggeMasts directory, so 11 fills that spot for now*/

var selector2=0;       // Assigned a random value to select images
var ggeMastIMG2;       // Holds newly constructed IMG tag

// Selects a random image
function mastSelect2() {
	selector2 = Math.floor(1 + Math.random() * (11-1));
	ggeMastIMG2 = "<img src=" + "../../ggeMasts/mast" + selector2 + ".jpg border='0' usemap='#ggemap2'>"
	document.getElementById('mastHead2').innerHTML = ggeMastIMG2;
}