
$(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");
	$("#topProgGuideBoxGyugyu").css("display","none");

	$("#topProgGuideTitleMomochi").css("background-position","0px -285px");
	$("#topProgGuideTitleGyugyu").css("background-position","-250px -375px");

	$("#topProgGuideTitleMomochi").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	
	$("#topProgGuideTitleGyugyu").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});

$("#topProgGuideTitleMomochi").click(function(){
		$(this).css("background-position","0px -285px"); 
		$("#topProgGuideTitleGyugyu").css("background-position","-250px -375px"); 
		$("#topProgGuideBoxMomochi").fadeIn("slow");
		$("#topProgGuideBoxGyugyu").css("display","none");
		});

	$("#topProgGuideTitleGyugyu").click(function(){
		$(this).css("background-position","0px -375px"); 
		$("#topProgGuideTitleMomochi").css("background-position","-250px -285px"); 
		$("#topProgGuideBoxGyugyu").fadeIn("slow");
		$("#topProgGuideBoxMomochi").css("display","none");
		});





});

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

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

