// JavaScript Document

if (document.images) {
	img1on = new Image();           // The onmouseover image
	img1on.src = "images/links/home_hl.png";  
	
	img1off = new Image();          // The normally seen image
	img1off.src = "images/links/home.png";
	
	img2on = new Image();           // The onmouseover image
	img2on.src = "images/links/about_hl.png";  
	
	img2off = new Image();          // The normally seen image
	img2off.src = "images/links/about.png";
	
	img3on = new Image();           // The onmouseover image
	img3on.src = "images/links/giving_hl.png";  
	
	img3off = new Image();          // The normally seen image
	img3off.src = "images/links/giving.png";  
	
	img4on = new Image();           // The onmouseover image
	img4on.src = "images/links/involved_hl.png";  
	
	img4off = new Image();          // The normally seen image
	img4off.src = "images/links/involved.png";  
	
	img5on = new Image();           // The onmouseover image
	img5on.src = "images/links/forms_hl.png";  
	
	img5off = new Image();          // The normally seen image
	img5off.src = "images/links/forms.png";  
	
	img6on = new Image();           // The onmouseover image
	img6on.src = "images/links/contact_hl.png";  
	
	img6off = new Image();          // The normally seen image
	img6off.src = "images/links/contact.png";
	
	img7on = new Image();           // The onmouseover image
	img7on.src = "images/links/donate_hl.png";  
	
	img7off = new Image();          // The normally seen image
	img7off.src = "images/links/donate.png";    
	  
	
  }				  //This function changes the image when over.
    function imgOn(imgName) {
            if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
            }
    }				   //This function changes the image back when off.
    function imgOff(imgName) {
            if (document.images) {
            document[imgName].src = eval(imgName + "off.src");        
            }
    }