/* 
  ------------------------------------
  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";
       
        svcson = new Image();
        svcson.src = "images/nav/v06_services_on.gif";
        svcsoff = new Image();
        svcsoff.src = "images/nav/v06_services_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";
        
        huntingtonon = new Image();
        huntingtonon.src = "images/nav/v07_huntington_on.gif";
        huntingtonoff = new Image();
        huntingtonoff.src = "images/nav/v07_huntington_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";
        
/* galleries */  

       	gal1on = new Image();
        gal1on.src = "images/nav/pg01_farmhouse1_on.gif";
        gal1off = new Image();
        gal1off.src = "images/nav/pg01_farmhouse1_off.gif";

       	gal2on = new Image();
        gal2on.src = "images/nav/pg02_farmhouse2_on.gif";
        gal2off = new Image();
        gal2off.src = "images/nav/pg02_farmhouse2_off.gif";
        
        gal3on = new Image();
        gal3on.src = "images/nav/pg03_farmhouse3_on.gif";
        gal3off = new Image();
        gal3off.src = "images/nav/pg03_farmhouse3_off.gif";
        
        gal4on = new Image();
        gal4on.src = "images/nav/pg04_ebarn1_on.gif";
        gal4off = new Image();
        gal4off.src = "images/nav/pg04_ebarn1_off.gif";
        
        gal5on = new Image();
        gal5on.src = "images/nav/pg05_ebarn2_on.gif";
        gal5off = new Image();
        gal5off.src = "images/nav/pg05_ebarn2_off.gif";
        
        gal6on = new Image();
        gal6on.src = "images/nav/pg06_ebarn3_on.gif";
        gal6off = new Image();
        gal6off.src = "images/nav/pg06_ebarn3_off.gif";
        
        gal7on = new Image();
        gal7on.src = "images/nav/pg07_acstruc_on.gif";
        gal7off = new Image();
        gal7off.src = "images/nav/pg07_acstruc_off.gif";
        
        gal8on = new Image();
        gal8on.src = "images/nav/pg08_land_on.gif";
        gal8off = new Image();
        gal8off.src = "images/nav/pg08_land_off.gif";
        
        gal9on = new Image();
        gal9on.src = "images/nav/pg09_garden_on.gif";
        gal9off = new Image();
        gal9off.src = "images/nav/pg09_garden_off.gif";
        
        gal10on = new Image();
        gal10on.src = "images/nav/pg10_view_on.gif";
        gal10off = new Image();
        gal10off.src = "images/nav/pg10_view_off.gif";
        
        gal0on = new Image();
        gal0on.src = "images/nav/photogallery_on.gif";
        gal0off = new Image();
        gal0off.src = "images/nav/photogallery_off.gif";

       	galon = new Image();
        galon.src = "images/nav/gallery3_on.gif";
        galoff = new Image();
        galoff.src = "images/nav/gallery3_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");;
        }
}
