isNetscape = (navigator.appName.indexOf("Netscape") >= 0);
isExplorer = (navigator.appName.indexOf("Explorer") >= 0);
roll_supported = (parseInt(navigator.appVersion) >= 3 && (isExplorer || isNetscape));
active_menu = 0;

images = new Array(
	"menu_01",
	"menu_02",
	"menu_03",
	"menu_04",
	"menu_05",
	"menu_06",
	"menu_07"
);

function over(img) {
	if (roll_supported) {
		document.images['i'+img].src = "../images/_" + images[img-1] + ".gif";
	}
}

function out(img) {
	if (roll_supported) {
		document.images['i'+img].src = "../images/" + images[img-1] + ".gif";
	}
}

function preload_all() {
	for (var i = 0; i < images.length; i++)
		preload("../images/_" + images[i] + ".gif");
}

function preload(img) {
	load = new Image;
	load.src = img;
}

preload_all(); 