	$(document).ready(function(){
		var sub_menu_timer = null;
		var sub_info_timer = null;
		var sub_blog_timer = null;
		$(".main_menu a").hover(function () {
			$(this).stop().animate({opacity:"0.8"});
		},
		function () {
			$(this).stop().animate({opacity:"0"});
		});
		$("a.menu").hover(function () {
			$("div.menu_sub").fadeTo( 10 ,0.8).show("fast");
			if(sub_menu_timer != null){
				clearInterval(sub_menu_timer);
			}
		},
		function () {
			sub_menu_timer = setInterval(sub_menu_fadeout, 500);
		});
		$("div.menu_sub").hover(function () {
			clearInterval(sub_menu_timer);
		},
		function () {
			$("div.menu_sub").hide("fast");
		});
		function sub_menu_fadeout(){
			clearInterval(sub_menu_timer);
			$("div.menu_sub").hide("fast");
		}
		$("a.info").hover(function () {
			$("div.info_sub").fadeTo( 10 ,0.8).show("fast");
			if(sub_info_timer != null){
				clearInterval(sub_info_timer);
			}
		},
		function () {
			sub_info_timer = setInterval(sub_info_fadeout, 500);
		});
		$("div.info_sub").hover(function () {
			clearInterval(sub_info_timer);
		},
		function () {
			$("div.info_sub").hide("fast");
		});
		function sub_info_fadeout(){
			clearInterval(sub_info_timer);
			$("div.info_sub").hide("fast");
		}
		$("a.blog").hover(function () {
			$("div.blog_sub").fadeTo( 10 ,0.8).show("fast");
			if(sub_blog_timer != null){
				clearInterval(sub_blog_timer);
			}
		},
		function () {
			sub_blog_timer = setInterval(sub_blog_fadeout, 500);
		});
		$("div.blog_sub").hover(function () {
			clearInterval(sub_blog_timer);
		},
		function () {
			$("div.blog_sub").hide("fast");
		});
		function sub_blog_fadeout(){
			clearInterval(sub_blog_timer);
			$("div.blog_sub").hide("fast");
		}
		$(".menu_sub a").hover(function () {
			$(this).css({opacity:"0.0"}).stop().animate({opacity:"0.2"});
		},
		function () {
			$(this).stop().animate({opacity:"0"});
		});
		$(".info_sub a").hover(function () {
			$(this).css({opacity:"0.0"}).stop().animate({opacity:"0.2"});
		},
		function () {
			$(this).stop().animate({opacity:"0"});
		});
		$(".blog_sub a").hover(function () {
			$(this).css({opacity:"0.0"}).stop().animate({opacity:"0.2"});
		},
		function () {
			$(this).stop().animate({opacity:"0"});
		});		
		$(".col_right img").hover(function () {
			$(this).css({opacity:"0.8"}).stop().animate({opacity:"1.0"});
		},
		function () {
			$(this).stop().animate({opacity:"0.8"});
		});
		$(".menu_img img").hover(function () {
			$(this).css({opacity:"0.7"}).stop().animate({opacity:"1.0"});
		},
		function () {
			$(this).stop().animate({opacity:"0.7"});
		});
	//	$("#footer_mid a").hover(function () {
	//		$(this).css({opacity:"0.0"}).stop().animate({opacity:"1.0"});
	//	},
	//	function () {
	//		$(this).stop().animate({opacity:"0.0"});
	//	});
	}); 