function menu(currentIndex) {
	// position array
	var xs = [-17, 92, 235, 382, 533, -200];
	// positioning light
	$('.menu img').css("left", xs[currentIndex] + "px");
	// hover
	$('.menu ul li a').hover(
		function() {
			var index = $(this).parent().index();
			if (index != currentIndex) {
				var newX = xs[index];				
				$(this).parent().parent().parent().children("img").stop().animate(
					{
						"left": newX + "px"
					}, 400, "easeInOutQuad");
			}
		},
		function() {
			var index = $(this).parent().index();
			if (index != currentIndex) {
				var oldX = xs[currentIndex];	
				$(this).parent().parent().parent().children("img").stop().animate(
					{
						"left": oldX + "px"
					}, 400, "easeInOutQuad");
			}
		}
	);
	
};
