var imageMap = new Object();
imageMap['entries'] = new Object();

function preload_imgs() {
	var argv = preload_imgs.arguments;
	var images = new Array();

	for (var i = 0; i < argv.length; i++) {
		images[i] = new Image();
		images[i].src = argv[i];
	}
}

function onRollOver(name, src, status) {
	if (!imageMap['entries'][name]) {
		imageMap['entries'][name] = new Object();
	}

	imageMap['entries'][name].src = document.images[name].src;
	document.images[name].src = src;

	if (typeof status == 'string') {
		window.status = status;
	}

	return (true);
}

function onRollOut(name, status) {
	document.images[name].src = imageMap['entries'][name].src;

	if (typeof status == 'string') {
		window.status = status;
	}

	return (true);
}

