function over(id, color, menu) {
	if (id == "") {return false;}
	//if (menu == "mn") {document.all(id).style.backgroundImage = "url(_/menu/select.gif)";}
	//if (menu == "bt") {document.all(id).style.backgroundImage = "url(_/menu/button_y.gif)";}
	if (color != "") {
	document.all(id).style.backgroundColor = '#'+color;
	}
	if (menu != "no") {
		document.all(id).style.cursor = 'pointer';
	}
}
function out(id, color, menu) {
	if (id == "") {return false;}
	//if (menu == "mn") {document.all(id).style.backgroundImage = "url(_/menu/bg.gif)";}
	//if (menu == "bt") {document.all(id).style.backgroundImage = "url(_/menu/button.gif)";}
	if (color != "") {
		document.all(id).style.backgroundColor = '';
		}
	if (menu != "no") {
		document.all(id).style.cursor = '';
	}
}

/*
	var slide = new Array;
	var pictureName = new Array(
		"_/rotate/08.jpg",
		"_/rotate/01.jpg", 
		"_/rotate/02.jpg",
		"_/rotate/03.jpg", 
		"_/rotate/04.jpg", 
		"_/rotate/05.jpg", 
		"_/rotate/06.jpg", 
		"_/rotate/07.jpg" 
		);

	for (var i = 0; i < pictureName.length; i++) {
		slide[i] = new Image();
		slide[i].src = pictureName[i];
		}

	var m = new Array(0, 100);
	var nextImage = 0;
	var t = "";

	function next(step) {
		if (t != "") return;
		m[0] = 0;
		m[1] = 100;
		nextImage = nextImage + step;
		if (nextImage == pictureName.length) {
			nextImage = 0;
			}  

		if (nextImage == -1) {
			nextImage = pictureName.length - 1;
			}  

		document.getElementById("after").src = slide[nextImage].src;
		change_slide();
		}

	function change_slide() {
		m[0] += 1;
		m[1] -= 1;

		document.getElementById("before_div").style.opacity = m[1]/100;
		document.getElementById("after_div").style.opacity = m[0]/100;
		document.getElementById("after_div").style.filter="alpha(opacity="+m[0]+")";
		document.getElementById("before_div").style.filter="alpha(opacity="+m[1]+")";

		t = setTimeout("change_slide()",5);
		if (m[0] > 98) {
			clearTimeout(t);
			document.getElementById("before").src = slide[nextImage].src;
			document.getElementById("before_div").style.opacity = 100;
			document.getElementById("before_div").style.filter="alpha(opacity=0)";
			t = "";
			}
		}
*/

