  if (document.images)
   {
     contactButton= new Image(142,51);
     contactButton.src="CCButtons_gif/CC_contactus_but.gif";  

     contactButton_over= new Image(142,51);
     contactButton_over.src="CCButtons_gif/CC_contactus_but_over.gif";  

     homeButton= new Image(142,51);
     homeButton.src="CCButtons_gif/CC_home_but.gif";  

     homeButton_over= new Image(142,51);
     homeButton_over.src="CCButtons_gif/CC_home_but_over.gif";  

     locationButton= new Image(142,51);
     locationButton.src="CCButtons_gif/CC_location_but.gif";  

     locationButton_over= new Image(142,51);
     locationButton_over.src="CCButtons_gif/CC_location_but_over.gif";  

     testimonialsButton= new Image(142,51);
     testimonialsButton.src="CCButtons_gif/CC_testimonials_but.gif";  

     testimonialsButton_over= new Image(142,51);
     testimonialsButton_over.src="CCButtons_gif/CC_testimonials_but_over.gif";  

     walksButton= new Image(142,51);
     walksButton.src="CCButtons_gif/CC_walks_nearby_but.gif";  

     walksButton_over= new Image(142,51);
     walksButton_over.src="CCButtons_gif/CC_walks_nearby_but_over.gif";  

     linksButton= new Image(142,51);
     linksButton.src="CCButtons_gif/CC_attractions_links_but.gif";  

     linksButton_over= new Image(142,51);
     linksButton_over.src="CCButtons_gif/CC_attractions_links_but_over.gif";  

     facilitiesButton= new Image(142,51);
     faciliiesButton.src="CCButtons_gif/CC_facilities_rates_but.gif";  

     facilitieButton_over= new Image(142,51);
     facilitiesButton_over.src="CCButtons_gif/CC_facilities_rates_but_over.gif";  


        }

function lightup(imgName)
 {

if (document.images)
    {
      imgOn=eval(imgName + "_over.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + ".src");
      document[imgName].src= imgOff;
    }
 }

function depress(imgName)
 {
   if (document.images)
    {
      imgDown=eval(imgName + "_down.src");
      document[imgName].src= imgDown;
    }
 }

