  var arrImages = new Array();
	  if (document.createElement) {
		  arrImages[0] = document.createElement('image');
		  arrImages[0].setAttribute('src',"assets/lay/home_on.gif");
		  arrImages[1] = document.createElement('image');
		  arrImages[1].setAttribute('src',"assets/lay/cabins_on.gif");
		  arrImages[2] = document.createElement('image');
		  arrImages[2].setAttribute('src',"assets/lay/contact_on.gif");
		  arrImages[3] = document.createElement('image');
		  arrImages[3].setAttribute('src',"assets/lay/horseback_on.gif");
		  arrImages[4] = document.createElement('image');
		  arrImages[4].setAttribute('src',"assets/lay/outfitting_on.gif");
		 
	  }
	  
	  function setUpRollovers() {
	  
	    if (!document.getElementsByTagName)
		    return;
			
		var all_links = document.getElementsByTagName('a');
		
		for( var i = 0; i < all_links.length; i++ ) {
		
		  var theLink = all_links[i];
		  
		  if ( theLink.className &&
		      (' ' + theLink.className + ' ' ).indexOf(' rollover ') != -1 ) {
			  
			  if(theLink.childNodes &&
			     theLink.childNodes.length == 1 &&
				 theLink.childNodes[0].nodeName.toLowerCase() == 'img') {
				 
				 addEvent(theLink,'mouseover',mouseover,false);
			     addEvent(theLink,'mouseout',mouseout,false);
				 
			  }//if(theLink.childNodes &&
			  
		  }//if ( theLink.className &&
		  
		}//var i = 0; i < all_links.length; i++
		
	  }//eof
	  
	  function mouseover(e) {
	   
	    var target = findTarget(e,'a');
          //alert(target);
		if(!target) return;

		//the only child of the a tag will be an image
		var imgTag = target.childNodes[0];
		
		//look for an img src of 'somthing.ext' and replace the img src attribute with 'something_on.ext'
		imgTag.src = imgTag.src.replace(/(\.[^.]+)$/,'_on$1');
		 
	  }//oef
	  
	   function mouseout(e) {
	   
	    var target = findTarget(e,'a');
		if(!target) return;
		
		//the only child of the a tag will be an image
		var imgTag = target.childNodes[0];
		
		//look for an img src of 'somthing_on.ext' and replace the img src attribute with 'something.ext'
		imgTag.src = imgTag.src.replace(/_on(\.[^.]+)$/,'$1');
		
	  }//oef
	  
	  // load the rollovers event handler
	  addEvent(window,'load',setUpRollovers,false);