fnMenu = Array(
 "images/m1.gif",
 "images/m1a.gif",
 "images/m2.gif",
 "images/m2a.gif",
 "images/m3.gif",
 "images/m3a.gif",
 "images/m4.gif",
 "images/m4a.gif"
);

fnList = Array(
 "images/list.gif",
 "images/list_h.gif"
);

filenames = {
 'mn' : fnMenu,
 'lt' : fnList
};

images = new Object();

function Over(prefix, id)
{
 targetImg = document.getElementById(prefix + id);
 targetImg.src = images[prefix][id + id - 1].src;
}

function Out(prefix, id)
{
 targetImg = document.getElementById(prefix + id);
 targetImg.src = images[prefix][id + id - 2].src;
}


function initialize()
{
	for (i in filenames) {
	  images[i] = new Array();
	  for (j = 0; j < filenames[i].length; j++) {
	    images[i][j] = new Image();
	    images[i][j].src = filenames[i][j];
	  }
	}
	if (document.execCommand) {
//		expression(document.execCommand("BackgroundImageCache", false, true));
    }
}


