// JavaScript Document
<!--
$(document).ready(function() {
	$('.language_list').css({"display":"none"});
	$('.language_list_bg').animate({opacity:"0"}, 0);
	$('.language_list > table').animate({opacity:"0"}, 0);
	
	$(".language").mouseenter(function(){
		$($(this).children('.language_list')).css({"display":"block"});
		$($(this).children('.language_list').children('.language_list_bg')).css({"display":"block", "top":"30px"});
		
		$($(this).children('.language_list').children('table')).stop().animate({opacity:"1"}, 300);
		$($(this).children('.language_list').children('.language_list_bg')).stop().animate({opacity:"0.5", "top":"0px"}, 300);
		return false;
	}).mouseleave(function(){
		$($(this).children('.language_list').children('table')).stop().animate({opacity:"0"}, 300);
		$($(this).children('.language_list').children('.language_list_bg')).stop().animate({opacity:"0", "top":"30px"}, 300, function(){
			//$(this).css({"display":"none"});
			$($(this).parent('.language_list')).css({"display":"none"});
		});
		return false;
	}).click(function(){
		//location.href = $($(this).children('a').get(0)).attr('href');
		return false;
	});
	
	$('.language_list td').mouseenter(function(){
		$($(this).children('a')).css({"color":"#FF0000"});
	}).mouseleave(function(){
		$($(this).children('a')).css({"color":"#FFFFFF"});
	}).click(function(){
		location.href = $($(this).children('a')).attr('href');
		return false;
	});
})
$(window).load(function(){
	
});
