$(document).ready(function(){
var form = $("#customForm");
	$("#newest").click(function(){
		$("#divpopular").fadeOut("fast");
		$("#divtoprated").fadeOut("fast");
		$("#divnewest").fadeIn("fast");
	});
	 
	 $("#popular").click(function(){
		$("#divnewest").fadeOut("fast");
		$("#divtoprated").fadeOut("fast");
		$("#divpopular").fadeIn("fast");
	});
	  $("#toprated").click(function(){
		$("#divnewest").fadeOut("fast");
		$("#divpopular").fadeOut("fast");
		$("#divtoprated").fadeIn("fast");
	});
	
	$("#newest1").click(function(){
		$("#divpopular").fadeOut("fast");
		$("#divtoprated").fadeOut("fast");
		$("#divnewest").fadeIn("fast");
	});
	 
	 $("#popular1").click(function(){
		$("#divnewest").fadeOut("fast");
		$("#divtoprated").fadeOut("fast");
		$("#divpopular").fadeIn("fast");
	});
	  $("#toprated1").click(function(){
		$("#divnewest").fadeOut("fast");
		$("#divpopular").fadeOut("fast");
		$("#divtoprated").fadeIn("fast");
	});	
	
	$("#newest2").click(function(){
		$("#divpopular").fadeOut("fast");
		$("#divtoprated").fadeOut("fast");
		$("#divnewest").fadeIn("fast");
	});
	 
	 $("#popular2").click(function(){
		$("#divnewest").fadeOut("fast");
		$("#divtoprated").fadeOut("fast");
		$("#divpopular").fadeIn("fast");
	});
	  $("#toprated2").click(function(){
		$("#divnewest").fadeOut("fast");
		$("#divpopular").fadeOut("fast");
		$("#divtoprated").fadeIn("fast");
	});
	  
	  
	  
	  
	  
	  $("#newestvideo").click(function(){
		$("#divpopularvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeOut("fast");
		$("#divnewestvideo").fadeIn("fast");
	});
	 $("#popularvideo").click(function(){
		$("#divnewestvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeOut("fast");
		$("#divpopularvideo").fadeIn("fast");
	});
	  $("#topratedvideo").click(function(){
		$("#divnewestvideo").fadeOut("fast");
		$("#divpopularvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeIn("fast");
	});
	 
	 $("#newestvideo1").click(function(){
		$("#divpopularvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeOut("fast");
		$("#divnewestvideo").fadeIn("fast");
	});
	 
	 $("#popularvideo1").click(function(){
		$("#divnewestvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeOut("fast");
		$("#divpopularvideo").fadeIn("fast");
	});
	  $("#topratedvideo1").click(function(){
		$("#divnewestvideo").fadeOut("fast");
		$("#divpopularvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeIn("fast");
	});	
	
	$("#newestvideo2").click(function(){
		$("#divpopularvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeOut("fast");
		$("#divnewestvideo").fadeIn("fast");
	});
	 
	 $("#popularvideo2").click(function(){
		$("#divnewestvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeOut("fast");
		$("#divpopularvideo").fadeIn("fast");
	});
	  $("#topratedvideo2").click(function(){
		$("#divnewestvideo").fadeOut("fast");
		$("#divpopularvideo").fadeOut("fast");
		$("#divtopratedvideo").fadeIn("fast");
	});
	  
	  
	   $("#newestpic").click(function(){
		$("#divpopularpic").fadeOut("fast");
		$("#divtopratedpic").fadeOut("fast");
		$("#divnewestpic").fadeIn("fast");
	});
	 $("#popularpic").click(function(){
		$("#divnewestpic").fadeOut("fast");
		$("#divtopratedpic").fadeOut("fast");
		$("#divpopularpic").fadeIn("fast");
	});
	  $("#topratedpic").click(function(){
		$("#divnewestpic").fadeOut("fast");
		$("#divpopularpic").fadeOut("fast");
		$("#divtopratedpic").fadeIn("fast");
	});
	 
	 $("#newestpic1").click(function(){
		$("#divpopularpic").fadeOut("fast");
		$("#divtopratedpic").fadeOut("fast");
		$("#divnewestpic").fadeIn("fast");
	});
	 
	 $("#popularpic1").click(function(){
		$("#divnewestpic").fadeOut("fast");
		$("#divtopratedpic").fadeOut("fast");
		$("#divpopularpic").fadeIn("fast");
	});
	  $("#topratedpic1").click(function(){
		$("#divnewestpic").fadeOut("fast");
		$("#divpopularpic").fadeOut("fast");
		$("#divtopratedpic").fadeIn("fast");
	});	
	
	$("#newestpic2").click(function(){
		$("#divpopularpic").fadeOut("fast");
		$("#divtopratedpic").fadeOut("fast");
		$("#divnewestpic").fadeIn("fast");
	});
	 
	 $("#popularpic2").click(function(){
		$("#divnewestpic").fadeOut("fast");
		$("#divtopratedpic").fadeOut("fast");
		$("#divpopularpic").fadeIn("fast");
	});
	  $("#topratedpic2").click(function(){
		$("#divnewestpic").fadeOut("fast");
		$("#divpopularpic").fadeOut("fast");
		$("#divtopratedpic").fadeIn("fast");
	});
});

