// JavaScript Document
// note additions or modifications must happen to all associated elements. 
<!--
function randomImage() {

//Define images
imgArray = new Array(

	/*longtime1*/ "images/home-longtime1.jpg",
	/*core*/      "images/home-core.jpg",
	/*self*/      "images/home-self.jpg",
	/*longtime2*/ "images/home-longtime2.jpg",
	/*tomboy*/    "images/home-tomboy.jpg"

);

//Define Alt Tag
titleArray = new Array(
					   
	/*longtime1*/ "Long Time I",
	/*core*/      "Core Sampling",
	/*self*/      "Self Leveler",
	/*longtime2*/ "Long Time 2",
	/*tomboy*/    "TomBoy"
	
	
);


//Define Caption
captionArray = new Array(

	/*longtime1*/ "Long Time I",
	/*core*/      "Core Sampling",
	/*self*/      "Self Leveler",
	/*longtime2*/ "Long Time 2",
	/*tomboy*/    "TomBoy"

);

//init array and define URLs
urlArray = new Array (
	

	/*longtime1*/ "works.html",
	/*core*/ 	  "works.html",
	/*self*/ 	  "works.html",
	/*longtime2*/ "works.html",
	/*tomboy*/    "works.html"
	
	);

//generate random
index = Math.floor(Math.random() * imgArray.length);
// write out image
document.write("<a href=" + urlArray[index] + "><img alt=" + titleArray[index] + " src=" + imgArray[index]); document.write(" name='pic' width='900' height='402' border='0' usemap='#picMap' id='pic'" + ">");
document.write("</a>");


}
//-->

                
