$('document').ready(function(){
	
	$.divHover({"background-color":"#EFEFEF", "margin-left":"-45px"});
	$.slideFade({'slideUp':'fast'});

	$('h5').hover(function(){
		$(this).addClass('hover');
	}, function(){
		$(this).removeClass('hover');
	})
	
	$('#event_area, #information_area').each(function(){
		$(this).children('div:first').children('h5').addClass('selected')
			.next('div').show();
	});
	
	/*
	$('h5.div_hover').bind('click', function(){
		 if($(this).parent().hasClass("selected")){
		 	$(this).next('.detail').slideUp('slow').children().fadeOut();
		 }else{
		 	$(this).next('.detail').slideDown('slow').children().fadeIn();
		 }
		 $(this).parent().toggleClass("selected");
	});
	*/
	
	/*
	$.each($('.list'), function(){
		$(this).hover(
			function(){
				$(this).next().fadeIn('fast');
			},
			function(){
				$(this).next().fadeOut('fast');
			}
		).click(function(){
			
			$(this).addClass('on').nextAll('.detail').fadeIn();
			height = $(this).nextAll('.detail').height() + 50;
			$(this).parent().animate({'height':height}).siblings('.box').children('.detail').fadeOut().prevAll('.list').removeClass('on');
			height = $(this).parent().siblings('.box').children('.list').height();
			$(this).parent().siblings('.box').animate({'height':height});
			
			//$(this).addClass('on').nextAll('.detail').slideDown().parent().siblings('.box').children('.detail').slideUp().prevAll('.list').removeClass('on');
		});
	})
	*/
});