

/* home page routines - note the images/ */

if (document.images) {

 
enteron = new Image();
enteron.src = "images/enter_over.gif";
hereon = new Image();
hereon.src = "images/here_over.gif";

enteroff = new Image();
enteroff.src = "images/enter_off.gif";
hereoff = new Image();
hereoff.src = "images/here_off.gif";

}

/* Turn the images off and on, when rolled in and rolled out.,
   We check to see if the actual image is there before trying to change
   its src value */

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

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

/* functions for handling the icon rollovers and text in the middle of
page */
function img_act_3Dim(textName,textImg,iconImg) {
	imgOn(iconImg); //handle the icon Rollover
	if (document.images[textName]) {
		document.images[textName].src = eval(textImg + "on.src");
	}
}

function img_inact_3Dim(textName,textImg,iconImg){
	imgOff(iconImg); //handle the icon Rollover
	if (document.images[textName]) {
		document.images[textName].src = eval(textImg + "off.src");
	}
}


 
