mb1_off = new Image;
mb1_on = new Image;
mb1_off.src = "img/b1_off.gif";
mb1_on.src = "img/b1_on.gif";

mb2_off = new Image;
mb2_on = new Image;
mb2_off.src = "img/b2_off.gif";
mb2_on.src = "img/b2_on.gif";

mb3_off = new Image;
mb3_on = new Image;
mb3_off.src = "img/b3_off.gif";
mb3_on.src = "img/b3_on.gif";

mb4_off = new Image;
mb4_on = new Image;
mb4_off.src = "img/b4_off.gif";
mb4_on.src = "img/b4_on.gif";

mb5_off = new Image;
mb5_on = new Image;
mb5_off.src = "img/b5_off.gif";
mb5_on.src = "img/b5_on.gif";

mb6_off = new Image;
mb6_on = new Image;
mb6_off.src = "img/b6_off.gif";
mb6_on.src = "img/b6_on.gif";

mb8_off = new Image;
mb8_on = new Image;
mb8_off.src = "img/b8_off.gif";
mb8_on.src = "img/b8_on.gif";

function swapem(iname, gname) {
	iname.src = gname.src;
}