var arrMNuOver = Array();
var arrMNuOut = Array();

for(i=0; i<8; i++){
	strArrKey = "top_" + i;
	strArrMnTopKey = "left_" + i;
	// Array menu top
	arrMNuOver[strArrKey] = new Image();
	arrMNuOver[strArrKey].src = "images/mnu_"+strArrKey+"_over.gif";
	
	arrMNuOut[strArrKey] = new Image();
	arrMNuOut[strArrKey].src = "images/mnu_"+strArrKey+".gif";
	
	// Array menu left
	arrMNuOver[strArrMnTopKey] = new Image();
	arrMNuOver[strArrMnTopKey].src = "images/mnu_"+strArrMnTopKey+"_over.gif";
	
	arrMNuOut[strArrMnTopKey] = new Image();
	arrMNuOut[strArrMnTopKey].src = "images/mnu_"+strArrMnTopKey+".gif";
	
}

function mnOver(obj){
	obj.src = arrMNuOver[obj.id].src;
}

function mnOut(obj){
	obj.src = arrMNuOut[obj.id].src;
}