﻿// JScript File

function Menu_lightup(imgName)
{
    if (document.images)
    {
      // Change the links image.
      imgOn=eval(imgName + "on.src");
      document.getElementById(imgName).src= imgOn;         
      
    }
}

function Menu_turnoff(imgName)
{
    if (document.images)
    {
      // Change the links image back to original.
      imgOff=eval(imgName + ".src");
      document.getElementById(imgName).src= imgOff;
    }
}


if (document.images)
{
    // OurDifference Link Properties
    OurDifference = new Image(100, 10);
    OurDifference.src = "./img/OurDifference.gif"
    
    OurDifferenceon = new Image(100,10);
    OurDifferenceon.src = "./img/OurDifferenceOn.gif";
    
    // HowItWorks Link Properties
    HowItWorks = new Image(100, 10);
    HowItWorks.src = "./img/HowItWorks.gif"
    
    HowItWorkson = new Image(100,10);
    HowItWorkson.src = "./img/HowItWorksOn.gif";
    
    // ProvenPerformance Link Properties
    ProvenPerformance = new Image(100, 10);
    ProvenPerformance.src = "./img/ProvenPerformance.gif"
    
    ProvenPerformanceon = new Image(100,10);
    ProvenPerformanceon.src = "./img/ProvenPerformanceOn.gif";
    
    // Specifications Link Properties
    Specifications = new Image(100, 10);
    Specifications.src = "./img/Specifications.gif"
    
    Specificationson = new Image(100,10);
    Specificationson.src = "./img/SpecificationsOn.gif";
    
    // AdvancedEngineering Link Properties
    AdvancedEngineering = new Image(100, 10);
    AdvancedEngineering.src = "./img/AdvancedEngineering.gif"
    
    AdvancedEngineeringon = new Image(100,10);
    AdvancedEngineeringon.src = "./img/AdvancedEngineeringOn.gif";
    
    // CostEfficiency Link Properties
    CostEfficiency = new Image(100, 10);
    CostEfficiency.src = "./img/CostEfficiency.gif"
    
    CostEfficiencyon = new Image(100,10);
    CostEfficiencyon.src = "./img/CostEfficiencyOn.gif";
    
    // SeeItInAction Link Properties
    SeeItInAction = new Image(100, 10);
    SeeItInAction.src = "./img/SeeItInAction.gif"
    
    SeeItInActionon = new Image(100,10);
    SeeItInActionon.src = "./img/SeeItInActionOn.gif";
    


}

