$(document).ready(function(){

	$("#movie_menu h5").mouseenter(function(){
		$("#movie_category").fadeIn("normal");
		$(this).css({'background-position':'0 -180px'});
	});

	$("#movie_menu").mouseleave(function(){
		$("#movie_category").fadeOut("normal");
		$("#movie_menu h5").css({'background-position':'0 0'});
		$("#movie_c1").hide();
		$("#movie_c2").hide();
		$("#movie_c3").hide();
		$("#movie_c4").hide();
		$("#movie_c5").hide();
		$("#movie_c6").hide();
	});

	$("#movie_s1").mouseenter(function(){
		$("#movie_c1").fadeIn("normal");
		$("#movie_c2").fadeOut("normal");
		$("#movie_c3").fadeOut("normal");
		$("#movie_c4").fadeOut("normal");
		$("#movie_c5").fadeOut("normal");
		$("#movie_c6").fadeOut("normal");
		$(this).css({'background-position':'0 -30px'});
	});

	$("#movie_s2").mouseenter(function(){
		$("#movie_c1").fadeOut("normal");
		$("#movie_c2").fadeIn("normal");
		$("#movie_c3").fadeOut("normal");
		$("#movie_c4").fadeOut("normal");
		$("#movie_c5").fadeOut("normal");
		$("#movie_c6").fadeOut("normal");
		$(this).css({'background-position':'0 -30px'});
	});

	$("#movie_s3").mouseenter(function(){
		$("#movie_c1").fadeOut("normal");
		$("#movie_c2").fadeOut("normal");
		$("#movie_c3").fadeIn("normal");
		$("#movie_c4").fadeOut("normal");
		$("#movie_c5").fadeOut("normal");
		$("#movie_c6").fadeOut("normal");
		$(this).css({'background-position':'0 -30px'});
	});

	$("#movie_s4").mouseenter(function(){
		$("#movie_c1").fadeOut("normal");
		$("#movie_c2").fadeOut("normal");
		$("#movie_c3").fadeOut("normal");
		$("#movie_c4").fadeIn("normal");
		$("#movie_c5").fadeOut("normal");
		$("#movie_c6").fadeOut("normal");
		$(this).css({'background-position':'0 -30px'});
	});

	$("#movie_s5").mouseenter(function(){
		$("#movie_c1").fadeOut("normal");
		$("#movie_c2").fadeOut("normal");
		$("#movie_c3").fadeOut("normal");
		$("#movie_c4").fadeOut("normal");
		$("#movie_c5").fadeIn("normal");
		$("#movie_c6").fadeOut("normal");
		$(this).css({'background-position':'0 -30px'});
	});

	$("#movie_s6").mouseenter(function(){
		$("#movie_c1").fadeOut("normal");
		$("#movie_c2").fadeOut("normal");
		$("#movie_c3").fadeOut("normal");
		$("#movie_c4").fadeOut("normal");
		$("#movie_c5").fadeOut("normal");
		$("#movie_c6").fadeIn("normal");
		$(this).css({'background-position':'0 -30px'});
	});

	$("#movie_s1").mouseleave(function(){
		$(this).css({'background-position':'0 0'});
	});

	$("#movie_s2").mouseleave(function(){
		$(this).css({'background-position':'0 0'});
	});

	$("#movie_s3").mouseleave(function(){
		$(this).css({'background-position':'0 0'});
	});

	$("#movie_s4").mouseleave(function(){
		$(this).css({'background-position':'0 0'});
	});

	$("#movie_s5").mouseleave(function(){
		$(this).css({'background-position':'0 0'});
	});

	$("#movie_s6").mouseleave(function(){
		$(this).css({'background-position':'0 0'});
	});

});
