    if (document.images)
    {
        var inactiveHome = new Image(); // for the inactive Home image
        inactiveHome.src = "images/inactiveHome.gif";
        
        var activeHome = new Image(); // for the active Home image
        activeHome.src = "images/activeHome.gif";

        var inactiveProducts = new Image(); // for the inactive Products image
        inactiveProducts.src = "images/inactiveProducts.gif";
        
        var activeProducts = new Image(); // for the active Products image
        activeProducts.src = "images/activeProducts.gif";

        var inactiveLinks = new Image(); // for the inactive Links image
        inactiveLinks.src = "images/inactiveLinks.gif";
        
        var activeLinks = new Image(); // for the active Links image
        activeLinks.src = "images/activeLinks.gif";

        var inactiveOrder = new Image(); // for the inactive Order image
        inactiveOrder.src = "images/inactiveOrder.gif";
        
        var activeOrder = new Image(); // for the active Order image
        activeOrder.src = "images/activeOrder.gif";

        var inactiveFran = new Image(); // for the inactive Fran image
        inactiveFran.src = "images/inactiveFran.gif";
        
        var activeFran = new Image(); // for the active Links image
        activeFran.src = "images/activeFran.gif";

        var inactiveContactus = new Image(); // for the inactive Contactus image
        inactiveContactus.src = "images/inactiveContactus.gif";
        
        var activeContactus = new Image(); // for the active Contactus image
        activeContactus.src = "images/activeContactus.gif";


 	var inactiveTestimonials = new Image(); // for the inactive Testimonials image
        inactiveTestimonials.src = "images/inactiveTestimonials.gif";
        
        var activeTestimonials = new Image(); // for the active Testimonials image
        activeTestimonials.src = "images/activeTestimonials.gif";
  	
	
	var inactiveFran = new Image(); // for the inactive Fran image
        inactiveFran.src = "images/inactiveFran.gif";
        
        var activeFran = new Image(); // for the active Fran image
        activeFran.src = "images/activeFran.gif";

  	var inactiveEvents = new Image(); // for the inactive Events image
        inactiveEvents.src = "images/inactiveEvents.gif";
        
        var activeEvents = new Image(); // for the active Events image
        activeEvents.src = "images/activeEvents.gif";
    }
    
    function inactive(imageName)
    {
        if (document.images)
        {
            document.images[imageName].src = eval("inactive" + imageName + ".src");
        }
    }
  
    function active(imageName)
    {
        if (document.images)
        {
            document.images[imageName].src = eval("active" + imageName + ".src");
        }
    }