$(document).ready(function(){
	$(".table1 tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
	$(".table1 tr:even").addClass("alt");
});

//photo Gallery
$(document).ready(function(){
	$('.img_link').hover(function(){
		var h_img = $(this).height()
		$(this)
		.find('img')
		.animate({opacity:'0.5'},100)	
		.animate({opacity:'1'},300)	
	},function(){})
});

// img style
$(document).ready(function(){
	$('.content>img').addClass('cont_img')
});

//lang link animation
$(document).ready(function(){
	$('.lang_u span,.lang_en span,.lang_r span,.enter_r span,.enter_u span,.no_enter span').not('.cur').css({opacity:'0'})
	$('.lang_u,.lang_en,.no_enter,.lang_r,.enter_r,.enter_u').hover(function(){
		$(this).find('span').not('.cur')
			.animate({opacity:'1'},300)
	},function(){
		$(this)
		.find('span').not('.cur').animate({opacity:'0'},300)
		})
});

//coll height
$(document).ready(function(){
	$(window).load(function () {						   
		var h1 = $('#coll_1').height();
		var h2 = $('#coll_2').height();
		var h = h2
		if(h < h1){
			h = h1;  
		$('.coll_h').animate({height:h-57},'fast')
		}
	});
});

//menu top
$(document).ready(function(){
	$('.menu_top a:last').css({background:'none'})
});
