var e = new Array(104,90,123,88,89);
if (window.ying) ying--;

function zero(z) {
if (z<10) return "0"+z;
else return z;
}

for (var i=0,x,y=5;i<e.length;i++,y+=2) {
x = e[i];
e[i] = new Array(new Image(x,45),new Image(x,45),false);
x = zero(i+6);
e[i][0].src="../img/mcip2004_result_"+ x +".gif";
e[i][1].src="../img/mcip2004_result_over_"+ x +".gif";
}


function faceoff(obj,srx) {
if (faceoff.arguments.length>1) {
	if (obj) {
		if (document.all) {
			obj.filters.blendTrans.Stop();
			obj.filters.blendTrans.Apply();
			obj.src=srx.src;
			obj.filters.blendTrans.Play();
		}else obj.src=srx.src;
	}
}
}

function box(obj,srx) {
if (ying!=obj) faceoff(e[obj][2],e[obj][srx]);
}

function load() {
for (var i=0;i<e.length;i++)
e[i][2] = document.images["m"+ i];
faceoff(e[ying][2],e[ying][1]);
}

ICN_onLoad = "load();";
