	$(document).ready(function(){
		function mover(num)
		{
			for(var i = 1; i < 8; i++)
			{
				$("#menu > ul > li:eq("+i+") a").css('background-position' , '0 0px');
				if(i != 1)
					$('#tabgeri'+i).hide();
			}

			$("#menu > ul > li:eq("+num+") a").css('background-position' , '0 -35px');  
			$('#tabgeri'+num).show();
		}
		
		function mout(num)
		{
			$("#menu > ul > li:eq("+num+") a").css('background-position' , '0 0px');
			$('#tabgeri'+num).hide();
		}
		
		$("#menu > ul > li:eq(1) a ").mouseover(function(event){
			mover(1);
		}).mouseout(function(event){
			mout(1);
		});
		$("#tabgeri1").mouseover(function(event){
			mover(1);
		}).mouseout(function(event){
			mout(1);
		});
		
		$("#menu > ul > li:eq(2) a ").mouseover(function(event){
			mover(2);
		}).mouseout(function(event){
			mout(2);
		});
		$("#tabgeri2").mouseover(function(event){
			mover(2);
		}).mouseout(function(event){
			mout(2);
		});

		$("#menu > ul > li:eq(3) a ").mouseover(function(event){
			mover(3);
		}).mouseout(function(event){
			mout(3);
		});
		$("#tabgeri3").mouseover(function(event){
			mover(3);
		}).mouseout(function(event){
			mout(3);
		});

		$("#menu > ul > li:eq(4) a ").mouseover(function(event){
			mover(4);
		}).mouseout(function(event){
			mout(4);
		});
		$("#tabgeri4").mouseover(function(event){
			mover(4);
		}).mouseout(function(event){
			mout(4);
		});
		
		$("#menu > ul > li:eq(5) a ").mouseover(function(event){
			mover(5);
		}).mouseout(function(event){
			mout(5);
		});
		$("#tabgeri5").mouseover(function(event){
			mover(5);
		}).mouseout(function(event){
			mout(5);
		});
		
		$("#menu > ul > li:eq(6) a ").mouseover(function(event){
			mover(6);
		}).mouseout(function(event){
			mout(6);
		});
		$("#tabgeri6").mouseover(function(event){
			mover(6);
		}).mouseout(function(event){
			mout(6);
		});
		
		$("#menu > ul > li:eq(7) a ").mouseover(function(event){
			mover(7);
		}).mouseout(function(event){
			mout(7);
		});
		$("#tabgeri7").mouseover(function(event){
			mover(7);
		}).mouseout(function(event){
			mout(7);
		});
	});
