/* 
  ------------------------------------
  Nav Rollovers
  ------------------------------------
*/


    if (document.images)         {
       
/* view  */

        viewon = new Image();
        viewon.src = "images/nav/view_on.gif";
        viewoff = new Image();
        viewoff.src = "images/nav/view_off.gif";

        misson = new Image();
        misson.src = "images/nav/v00_mission_on.gif";
        missoff = new Image();
        missoff.src = "images/nav/v00_mission_off.gif";
                
        philoon = new Image();
        philoon.src = "images/nav/v01_philo_on.gif";
        philooff = new Image();
        philooff.src = "images/nav/v01_philo_off.gif";
       
       	galon = new Image();
        galon.src = "images/nav/v02b_gallery_on.gif";
        galoff = new Image();
        galoff.src = "images/nav/v02b_gallery_off.gif";
        
        presson = new Image();
        presson.src = "images/nav/v02_press_on.gif";
        pressoff = new Image();
        pressoff.src = "images/nav/v02_press_off.gif";
        
        staffon = new Image();
        staffon.src = "images/nav/v03_staff_on.gif";
        staffoff = new Image();
        staffoff.src = "images/nav/v03_staff_off.gif";
        
        readon = new Image();
        readon.src = "images/nav/v04_read_on.gif";
        readoff = new Image();
        readoff.src = "images/nav/v04_read_off.gif";
        
        linkon = new Image();
        linkon.src = "images/nav/v05_links_on.gif";
        linkoff = new Image();
        linkoff.src = "images/nav/v05_links_off.gif";
        
/* perpetual food */ 
 
 		pfoodon = new Image();
        pfoodon.src = "images/nav/pfood_on.gif";
        pfoodoff = new Image();
        pfoodoff.src = "images/nav/pfood_off.gif";
        
        des1on = new Image();
        des1on.src = "images/nav/pf01_design_on.gif";
        des1off = new Image();
        des1off.src = "images/nav/pf01_design_off.gif";
        
        orchon = new Image();
        orchon.src = "images/nav/pf02_orchards_on.gif";
        orchoff = new Image();
        orchoff.src = "images/nav/pf02_orchards_off.gif";
        
        animon = new Image();
        animon.src = "images/nav/pf03_animals_on.gif";
        animoff = new Image();
        animoff.src = "images/nav/pf03_animals_off.gif";

        shroomon = new Image();
        shroomon.src = "images/nav/pf04_shrooms_on.gif";
        shroomoff = new Image();
        shroomoff.src = "images/nav/pf04_shrooms_off.gif";

        seedon = new Image();
        seedon.src = "images/nav/pf05_seed_on.gif";
        seedoff = new Image();
        seedoff.src = "images/nav/pf05_seed_off.gif";

        nurseon = new Image();
        nurseon.src = "images/nav/pf06_nursery_on.gif";
        nurseoff = new Image();
        nurseoff.src = "images/nav/pf06_nursery_off.gif";
        
 /* perpetual energy */        

        penon = new Image();
        penon.src = "images/nav/penergy_on.gif";
        penoff = new Image();
        penoff.src = "images/nav/penergy_off.gif";

        des2on = new Image();
        des2on.src = "images/nav/pe01_design_on.gif";
       	des2off = new Image();
        des2off.src = "images/nav/pe01_design_off.gif";

        elecon = new Image();
        elecon.src = "images/nav/pe02_electric_on.gif";
        elecoff = new Image();
        elecoff.src = "images/nav/pe02_electric_off.gif";

        heaton = new Image();
        heaton.src = "images/nav/pe03_heat_on.gif";
        heatoff = new Image();
        heatoff.src = "images/nav/pe03_heat_off.gif";

/* living systems building */ 

        lsbon = new Image();
        lsbon.src = "images/nav/lsblding_on.gif";
        lsboff = new Image();
        lsboff.src = "images/nav/lsblding_off.gif";

        lsdon = new Image();
        lsdon.src = "images/nav/lsb01_lsd_on.gif";
        lsdoff = new Image();
        lsdoff.src = "images/nav/lsb01_lsd_off.gif";

        maton = new Image();
        maton.src = "images/nav/lsb02_materials_on.gif";
        matoff = new Image();
        matoff.src = "images/nav/lsb02_materials_off.gif";

        cwon = new Image();
        cwon.src = "images/nav/lsb03_cw_on.gif";
        cwoff = new Image();
        cwoff.src = "images/nav/lsb03_cw_off.gif";
        
        fbon = new Image();
        fbon.src = "images/nav/lsb01_farm_on.gif";
        fboff = new Image();
        fboff.src = "images/nav/lsb01_farm_off.gif";
        
/* land and ecosystems */         

        ecoon = new Image();
        ecoon.src = "images/nav/landeco_on.gif";
        ecooff = new Image();
        ecooff.src = "images/nav/landeco_off.gif";

        common = new Image();
        common.src = "images/nav/le01_comm_on.gif";
        commoff = new Image();
        commoff.src = "images/nav/le01_comm_off.gif";
        
        foron = new Image();
        foron.src = "images/nav/le02_forests_on.gif";
        foroff = new Image();
        foroff.src = "images/nav/le02_forests_off.gif";
        
        emon = new Image();
        emon.src = "images/nav/le03_em_on.gif";
        emoff = new Image();
        emoff.src = "images/nav/le03_em_off.gif";

/* opportunities */  

        oppson = new Image();
        oppson.src = "images/nav/opps_on.gif";
        oppsoff = new Image();
        oppsoff.src = "images/nav/opps_off.gif";
        
/* services */  

        svcson = new Image();
        svcson.src = "images/nav/services_on.gif";
        svcsoff = new Image();
        svcsoff.src = "images/nav/services_off.gif";

/* contact us */  

        conon = new Image();
        conon.src = "images/nav/contact_on.gif";
        conoff = new Image();
        conoff.src = "images/nav/contact_off.gif";


/* wind tower */  

        windon = new Image();
        windon.src = "images/wind_icon_on.gif";
        windoff = new Image();
        windoff.src = "images/wind_icon_off.gif";
        
    }
        
function img_act(imgName) {
        if (document.images) {
	        document [imgName].src = eval(imgName + "on.src");;
        }
}

function img_inact(imgName) {
        if (document.images) {
	        document [imgName].src = eval(imgName + "off.src");;
        }
}
