  if (document.images)
   {
     pic1on= new Image(188,120);
     pic1on.src="images/buttons/join_button_hover.jpg";
	 pic2on= new Image(182,51);
     pic2on.src="images/buttons/login_button_hover.jpg";
	 pic3on= new Image(140,92);
     pic3on.src="images/gallery/hover/image_1_thumb_hover.jpg";
	 pic4on= new Image(140,92);
     pic4on.src="images/gallery/hover/image_2_thumb_hover.jpg";
	 pic5on= new Image(140,92);
     pic5on.src="images/gallery/hover/image_3_thumb_hover.jpg";
	 pic6on= new Image(140,92);
     pic6on.src="images/gallery/hover/image_4_thumb_hover.jpg";
	 pic7on= new Image(140,92);
     pic7on.src="images/gallery/hover/image_5_thumb_hover.jpg";
	 pic8on= new Image(140,92);
     pic8on.src="images//gallery/hover/image_6_thumb_hover.jpg";
	 pic9on= new Image(140,92);
     pic9on.src="images/gallery/hover/image_7_thumb_hover.jpg";
	 pic10on= new Image(140,92);
     pic10on.src="images/gallery/hover/image_8_thumb_hover.jpg";
	 pic11on= new Image(161,35);
     pic11on.src="images/buttons/archive_button_hover.gif";
	 pic12on= new Image(210,197);
     pic12on.src="images/elements/road_map_hover.gif";
	 pic13on= new Image(161,35);
     pic13on.src="images/buttons/download_button_hover.gif";
	 pic14on= new Image(161,35);
     pic14on.src="images/buttons/apply_button_hover.gif";
	 pic15on= new Image(161,35);
     pic15on.src="images/buttons/archive_button_hover.gif";
	 pic16on= new Image(161,35);
     pic16on.src="images/buttons/back_button_hover.gif";
	 pic17on= new Image(161,35);
     pic17on.src="images/buttons/latest_news_button_hover.gif";
	 pic18on= new Image(161,35);
     pic18on.src="images/buttons/new_fault_button_hover.gif";
	 pic19on= new Image(161,35);
     pic19on.src="images/buttons/next_button_hover.gif";
	 pic20on= new Image(161,35);
     pic20on.src="images/buttons/print_list_button_hover.gif";
	 pic21on= new Image(161,35);
     pic21on.src="images/buttons/reply_button_hover.gif";
	 pic22on= new Image(161,35);
     pic22on.src="images/buttons/submit_button_hover.gif";

     pic1off= new Image(188,120);
     pic1off.src="images/buttons/join_button.jpg";
	 pic2off= new Image(182,51);
     pic2off.src="images/buttons/login_button.jpg";
	 pic3off= new Image(140,92);
     pic3off.src="images/gallery/image_1_thumb.jpg";
	 pic4off= new Image(140,92);
     pic4off.src="images/gallery/image_2_thumb.jpg";
	 pic5off= new Image(140,92);
     pic5off.src="images/gallery/image_3_thumb.jpg";
	 pic6off= new Image(140,92);
     pic6off.src="images//gallery/image_4_thumb.jpg";
	 pic7off= new Image(140,92);
     pic7off.src="images/gallery/image_5_thumb.jpg";
	 pic8off= new Image(140,92);
     pic8off.src="images/gallery/image_6_thumb.jpg";
	 pic9off= new Image(140,92);
     pic9off.src="images/gallery/image_7_thumb.jpg";
	 pic10off= new Image(140,92);
     pic10off.src="images/gallery/image_8_thumb.jpg";
	 pic11off= new Image(161,35);
     pic11off.src="images/buttons/archive_button.gif";
	 pic12off= new Image(210,197);
     pic12off.src="images/elements/road_map.gif";
	 pic13off= new Image(161,35);
     pic13off.src="images/buttons/download_button.gif";
	 pic14off= new Image(161,35);
     pic14off.src="images/buttons/apply_button.gif";
	 pic15off= new Image(161,35);
     pic15off.src="images/buttons/archive_button.gif";
	 pic16off= new Image(161,35);
     pic16off.src="images/buttons/back_button.gif";
	 pic17off= new Image(161,35);
     pic17off.src="images/buttons/latest_news_button.gif";
	 pic18off= new Image(161,35);
     pic18off.src="images/buttons/new_fault_button.gif";
	 pic19off= new Image(161,35);
     pic19off.src="images/buttons/next_button.gif";
	 pic20off= new Image(161,35);
     pic20off.src="images/buttons/print_list_button.gif";
	 pic21off= new Image(161,35);
     pic21off.src="images/buttons/reply_button.gif";
	 pic22off= new Image(161,35);
     pic22off.src="images/buttons/submit_button.gif";
   }

function lightup(imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }