{

  if (document.images)
   {
     pic1on= new Image(248,39);
     pic1on.src="images/Home_h.gif";  
     pic2on= new Image(249,39);
     pic2on.src="images/About_h.gif";  
     pic3on= new Image(248,39);
     pic3on.src="images/Contact_h.gif";  
     pic4on= new Image(188,39);
     pic4on.src="images/Architectural_h.gif";  
     pic5on= new Image(188,39);
     pic5on.src="images/Characters_h.gif";  
     pic6on= new Image(188,39);
     pic6on.src="images/HighPoly_h.gif";  
     pic7on= new Image(188,39);
     pic7on.src="images/LowPoly_h.gif";  
     pic8on= new Image(188,39);
     pic8on.src="images/Animation_h.gif";  
     pic9on= new Image(42,392);
     pic9on.src="images/previous_h.gif";  
     pic10on= new Image(42,392);
     pic10on.src="images/next_h.gif";  
     pic11on= new Image(273,42);
     pic11on.src="images/Thumb_Previous_h.gif";  
     pic12on= new Image(273,42);
     pic12on.src="images/Thumb_Next_h.gif";  

     pic1off= new Image(248,39);
     pic1off.src="images/Home.gif";  
     pic2off= new Image(249,39);
     pic2off.src="images/About.gif";  
     pic3off= new Image(248,39);
     pic3off.src="images/Contact.gif";  
     pic4off= new Image(188,39);
     pic4off.src="images/Architectural.gif";  
     pic5off= new Image(188,39);
     pic5off.src="images/Characters.gif";  
     pic6off= new Image(188,39);
     pic6off.src="images/HighPoly.gif";  
     pic7off= new Image(188,39);
     pic7off.src="images/LowPoly.gif";  
     pic8off= new Image(188,39);
     pic8off.src="images/Animation.gif";  
     pic9off= new Image(42,392);
     pic9off.src="images/previous.gif";  
     pic10off= new Image(42,392);
     pic10off.src="images/next.gif";  
     pic11off= new Image(273,42);
     pic11off.src="images/Thumb_Previous.gif";  
     pic12off= new Image(273,42);
     pic12off.src="images/Thumb_Next.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;
    }
 }

}