
//////////////
// rollover.js
// Leo Likhatchev
// 5/01/05
//////////////

if (document.images) { //checking if image object is available     
	img1on = new Image();           // MouseOver Images
	img1on.src = "images/greenball.gif" 
	img2on = new Image();
	img2on.src = "images/greenball.gif";  
	img3on = new Image();
	img3on.src = "images/greenball.gif";
	img4on = new Image();
	img4on.src = "images/greenball.gif";
	img5on = new Image();
	img5on.src = "images/greenball.gif";

	img1off = new Image();                  // MouseOut Images
	img1off.src = "images/yellowball.gif"; 
	img2off = new Image();          
	img2off.src = "images/yellowball.gif";
	img3off = new Image();
	img3off.src = "images/yellowball.gif";
	img4off = new Image();
	img4off.src = "images/yellowball.gif";
	img5off = new Image();
	img5off.src = "images/yellowball.gif";

}

function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}
                        
function imgOff(imgName) { 
       if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
       }
}
