
$(function(){
	$("#topNowOaList").css("display","none");
	$("#topPickUpList").css("display","block");

	$("#topNowOaTitle").css("background-position","0px -120px");
	$("#topPickUpTitle").css("background-position","-250px -90px");
	
	$("#topNowOaTitle").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	
	$("#topPickUpTitle").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	
	
	$("#topNowOaTitle").click(function(){
		$(this).css("background-position","0px -90px"); 
		$(this).next().css("background-position","-250px -120px"); 
		$("#topNowOaList").fadeIn("slow");
		$("#topPickUpList").css("display","none");
		});

	$("#topPickUpTitle").click(function(){
		$(this).css("background-position","-250px -90px"); 
		$(this).prev().css("background-position","0px -120px"); 
		$("#topPickUpList").fadeIn("slow");
		$("#topNowOaList").css("display","none");
		});


	$("#topProgGuideBoxMomochi").css("display","block");
	$("#topProgGuideBoxNan").css("display","none");
	$("#topProgGuideBoxGuruguru").css("display","none");

	$("#topProgGuideTitleMomochi").css("background-position","0px -285px");
	$("#topProgGuideTitleNan").css("background-position","-250px -315px");
	$("#topProgGuideTitleGuruguru").css("background-position","-250px -345px");
	
	$("#topProgGuideTitleMomochi").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	
	$("#topProgGuideTitleNan").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	
	$("#topProgGuideTitleGuruguru").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	
	$("#topProgGuideTitleMomochi").click(function(){
		$(this).css("background-position","0px -285px"); 
		$("#topProgGuideTitleNan").css("background-position","-250px -315px"); 
		$("#topProgGuideTitleGuruguru").css("background-position","-250px -345px"); 
		$("#topProgGuideBoxMomochi").fadeIn("slow");
		$("#topProgGuideBoxNan").css("display","none");
		$("#topProgGuideBoxGuruguru").css("display","none");
		});

	$("#topProgGuideTitleNan").click(function(){
		$(this).css("background-position","0px -315px"); 
		$("#topProgGuideTitleMomochi").css("background-position","-250px -285px"); 
		$("#topProgGuideTitleGuruguru").css("background-position","-250px -345px"); 
		$("#topProgGuideBoxNan").fadeIn("slow");
		$("#topProgGuideBoxMomochi").css("display","none");
		$("#topProgGuideBoxGuruguru").css("display","none");
		});

	$("#topProgGuideTitleGuruguru").click(function(){
		$(this).css("background-position","0px -345px"); 
		$("#topProgGuideTitleMomochi").css("background-position","-250px -285px"); 
		$("#topProgGuideTitleNan").css("background-position","-250px -315px"); 
		$("#topProgGuideBoxGuruguru").fadeIn("slow");
		$("#topProgGuideBoxMomochi").css("display","none");
		$("#topProgGuideBoxNan").css("display","none");
		});




});

$(document).ready(function() {
   $('#s3slider').s3Slider({
      timeOut: 4000
   });
});

$(document).ready(function(){
	$("#news").newsTicker(4500);
	$("#news").css("display","block");
});
