
if (document.images){
	//create "on" array and populate with Image objects
	var onImgArray = new Array();
	//onImgArray["listen"] = new Image(140,30);
	onImgArray["listen"] = new Image();
	onImgArray["caculators"] = new Image();
	onImgArray["careersbtn"] = new Image();
	onImgArray["surveybtn"] = new Image();
	onImgArray["submitPoll"] = new Image();
	onImgArray["searchButton"] = new Image();
        onImgArray["btnBuild"] = new Image();
	
	//set URLs for the "on"images
	onImgArray["listen"].src = "/images/btn_lis_on.gif";
	onImgArray["caculators"].src = "/images/btn_calc_on.gif";
	onImgArray["careersbtn"].src = "/images/btn_careers_on.gif";
	onImgArray["surveybtn"].src = "/images/btn_survey_on.gif";
	onImgArray["submitPoll"].src = "/images/btn_submit_home_on.gif";
	onImgArray["searchButton"].src = "/images/btn_search_on.gif";
        onImgArray["btnBuild"].src = "/images/btnBuild_on.gif";
	
	//create "off" array and populate with Image objects
	var offImgArray = new Array();
	offImgArray["listen"] = new Image();
	offImgArray["caculators"] = new Image();
	offImgArray["careersbtn"] = new Image();
	offImgArray["surveybtn"] = new Image();
	offImgArray["submitPoll"] = new Image();
	offImgArray["searchButton"] = new Image();
	offImgArray["btnBuild"] = new Image();

	//set URLs for the "off" images
	offImgArray["listen"].src = "/images/btn_lis_off.gif";
	offImgArray["caculators"].src = "/images/btn_calc_off.gif";
	offImgArray["careersbtn"].src = "/images/btn_careers_off.gif";
	offImgArray["surveybtn"].src = "/images/btn_survey_off.gif";
	offImgArray["submitPoll"].src = "/images/btn_submit_home_off.gif";
	offImgArray["searchButton"].src = "/images/btn_search_off.gif";
        offImgArray["btnBuild"].src = "/images/btnBuild_on.gif";
	}
	
function imageOver(imgName){
	if (document.images){
		document.images[imgName].src = onImgArray[imgName].src;
	}
}

function imageOut(imgName){
	if (document.images){
		document.images[imgName].src = offImgArray[imgName].src;
	}
}

