/**********************
** functions.js file
** For all the rollovers
** on all pages on 
** arinc.com for industry activities
**********************/

// rollovers for left and top nav
if (document.images) {   
        top1on = new Image();
        top1on.src = "/images/prod_serv_btn_roll.gif";
        top1off = new Image();
        top1off.src = "/images/prod_serv_btn.gif";
        top2on = new Image();
        top2on.src = "/images/news_btn_roll.gif";
        top2off = new Image();
        top2off.src = "/images/news_btn.gif";
        top3on = new Image();
        top3on.src = "/images/corp_info_btn_roll.gif";
        top3off = new Image();
        top3off.src = "/images/corp_info_btn.gif";
        top4on = new Image();
        top4on.src = "/images/customer_btn_roll.gif";
        top4off = new Image();
        top4off.src = "/images/customer_btn.gif";
        top5on = new Image();
        top5on.src = "/images/doing_business_btn_roll.gif";
        top5off = new Image();
        top5off.src = "/images/doing_business_btn.gif";
        top6on = new Image();
        top6on.src = "/images/careers_btn_roll.gif";
        top6off = new Image();
        top6off.src = "/images/careers_btn.gif";
        top7on = new Image();
        top7on.src = "/images/industry_btn_roll.gif";
        top7off = new Image();
        top7off.src = "/images/industry_btn.gif";
	
	//nav for industry activities
        indsubAon = new Image();
        indsubAon.src = "/images/indus_aeec_roll_btn.gif";
        indsubAoff = new Image();
        indsubAoff.src = "/images/indus_aeec_btn.gif";
        indsubBon = new Image();
        indsubBon.src = "/images/indus_amc_roll_btn.gif";
        indsubBoff = new Image();
        indsubBoff.src = "/images/indus_amc_btn.gif";
        indsubCon = new Image();
        indsubCon.src = "/images/indus_freq_manag_roll_btn.gif";
        indsubCoff = new Image();
        indsubCoff.src = "/images/indus_freq_manag_btn.gif";
        indsubDon = new Image();
        indsubDon.src = "/images/indus_fsemc_roll_btn.gif";
        indsubDoff = new Image();
        indsubDoff.src = "/images/indus_fsemc_btn.gif";
        indsubEon = new Image();
        indsubEon.src = "/images/indus_arinc_stand_roll_btn.gif";
        indsubEoff = new Image();
        indsubEoff.src = "/images/indus_arinc_stand_btn.gif";

} // end of rollovers
		  
	  

// start of functions
		  
function img_act(imgName){
    if (document.images) { 
        imgOn = eval(imgName + "on.src");
		 document [imgName].src = imgOn;
        }
}

function img_inact(imgName){
   if (document.images) { 
        imgOff = eval(imgName + "off.src");
		 document [imgName].src = imgOff;
        }
}

