      var arrImages = new Array();
	  if (document.createElement) {
		  arrImages[0] = document.createElement('image');
		  arrImages[0].setAttribute('src',"assets/lay/nav/arrows/arrow_course_on.gif");
		  arrImages[1] = document.createElement('image');
		  arrImages[1].setAttribute('src',"assets/lay/nav/arrows/clinics_on.gif");
		  arrImages[2] = document.createElement('image');
		  arrImages[2].setAttribute('src',"assets/lay/nav/arrows/clubFitting_on.gif");
		  arrImages[3] = document.createElement('image');
		  arrImages[3].setAttribute('src',"assets/lay/nav/arrows/contact_on.gif");
		  arrImages[4] = document.createElement('image');
		  arrImages[4].setAttribute('src',"assets/lay/nav/course_on.jpg");
		  arrImages[5] = document.createElement('image');
		  arrImages[5].setAttribute('src',"assets/lay/nav/lessons_on.jpg");
		  arrImages[6] = document.createElement('image');
		  arrImages[6].setAttribute('src',"assets/lay/nav/proshop_on.jpg");
		  arrImages[7] = document.createElement('image');
		  arrImages[7].setAttribute('src',"assets/lay/nav/rates_on.jpg");
		  arrImages[8] = document.createElement('image');
		  arrImages[8].setAttribute('src',"assets/lay/nav/snackbar_on.jpg");
		  arrImages[9] = document.createElement('image');
		  arrImages[9].setAttribute('src',"assets/lay/nav/staff_on.jpg");
	  }
	  
	  function setUpRollovers() {
	  
	    if (!document.getElementsByTagName ||
		    !document.getElementById)
		    return;
		
		//get all list items that will contain links 
		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 ) {
			 
				 addEvent(theLink,'mouseover',mouseover,false);
			     addEvent(theLink,'mouseout',mouseout,false);
				   
		  } 
		  
		}//var i = 0; i < all_links.length; i++
		
	  }//eof
	  
	  //mouseover and mouseout cover rollovers for the top navigation bar
	  function mouseover(e) {
	   
	    var target = findTarget(e,'a');
          //alert(target);
		if(!target) return;
        
	
		// get the parent element (which should be 'td' ), then find the 1st sibling, which should be 'td' then find the first child of that td, which should be the image we want to roll over
		var parent = target.parentNode;
		var grandpapa = parent.parentNode;
		
		var imgTag = grandpapa.getElementsByTagName('img')[0];
		
		if (imgTag)
		  imgTag.src = imgTag.src.replace(/(\.[^.]+)$/,'_on$1');  
	  }//oef
	  
	   function mouseout(e) {
	   
	    var target = findTarget(e,'a');
		if(!target) return;
		
		// get the parent element (which should be 'li' ) and set the background image for it
		var parent = target.parentNode;
		
		// get the parent element (which should be 'td' ), then find the 1st sibling, which should be 'td' then find the first child of that td, which should be the image we want to roll over
		var parent = target.parentNode;
		var grandpapa = parent.parentNode;
		var imgTag = grandpapa.getElementsByTagName('img')[0];
		
		
		//look for an img src of 'somthing_on.ext' and replace the img src attribute with 'something.ext'
        if(imgTag)
		 imgTag.src = imgTag.src.replace(/_on(\.[^.]+)$/,'$1');
	  }//oef
	  
	  
	  //mouseoverLeft and mouseoutLeft cover rolls overs for left side navigation
	  function mouseoverLeft(e) {
	   
	    var target = findTarget(e,'a');
          //alert(target);
		if(!target) return;
        
		//change the background of the link
		
		// get the parent element (which should be 'li' ) and set the background image for it
		var parent = target.parentNode;
		
		  if (parent.nodeName.toLowerCase() =='li') 
			    parent.style.background = "url(assets/lay/nav/leftNavbg_on.jpg) no-repeat left";
			
	    }//oef
	  
	   function mouseoutLeft(e) {
	   
	    var target = findTarget(e,'a');
		if(!target) return;
		
		// get the parent element (which should be 'li' ) and set the background image for it
		var parent = target.parentNode;
		 if (parent.nodeName.toLowerCase() =='li') 
			  parent.style.background = "url(assets/lay/nav/leftNavbg_off.jpg) no-repeat top left";
			 
	  }//oef
	  
	  // load the rollovers event handler
	  addEvent(window,'load',setUpRollovers,false);