// JavaScript Document
$(function() {
	$(".column_container").hover(
		function(){
			$(this).addClass("column_hover");	
		},
		function(){$(this).removeClass("column_hover");}
	)
	$(".box_container").hover(
		function(){
			$(this).addClass("box_hover");	
		},
		function(){$(this).removeClass("box_hover");}
	)
	$(".smallbox_container").hover(
		function(){
			$(this).addClass("smallbox_hover");	
		},
		function(){$(this).removeClass("smallbox_hover");}
	)
	$(".bigbox_container").hover(
		function(){
			$(this).addClass("bigbox_hover");	
		},
		function(){$(this).removeClass("bigbox_hover");}
	)
	
	// hover
	$(".hover").hover(
		function(){
			var child = $(this).contents();
			var newName = $(child).attr('src').replace("images/", "images/hover_");
			$(child).attr('src', newName);
		},
		function(){
			var child = $(this).contents();
			var newName = $(child).attr('src').replace("images/hover_", "images/");
			$(child).attr('src', newName);
		}
	)
	
	$(".logo").hover(
		function(){
			
		},
		function(){
			var child = $(this).contents();
			var newName = $(child).attr('src').replace("images/hover_", "images/");
			$(child).attr('src', newName);
		}
	)
})
