$(document).ready(function(){
        //---------index
		$("#index_works .index_works_in").css("opacity","0");
		$("#index_works .index_works_in").hover(function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
		
		$("#logo a").css("opacity","0");
		$("#logo a").hover(function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});

		$('#index_news_text').innerfade({
				speed: 1200,
				timeout: 5000,
				type: 'sequence',
				containerheight: '1em'
		});

		$("#works_nav a").css("opacity","0");
		$("#works_nav a").hover(function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});	
		$("#pagelink").hover(function(){
		   $("#pagelink .current_page").css("color","#038DC7");
		},
		function(){
		   $("#pagelink .current_page").css("color","#fff");
		});	
});	