function loading(){
$.ajax({url:"./xml/xmlData.xml",dataType:"xml",success:function(data){
$("XmlDataItem",data).each(function(){
var lnk=$("Link",this).text();
var txt=$("Text",this).text();
$("#mynews").append("<div rel=\"mynews_title1\" class=\"news_style\"><a href=\""+lnk+"\">"+txt+"</a>");
})
}
})
};

$(function() {
	var num = 0;
	$("#nav1 li").each(function() {
		var s = "";
		if (num < 10) {
			s = "0" + num;
		} else {
			s = num;
		}
		$(this).css("background", "url(./common/images/menu/ja/nav" + s + ".png) no-repeat 0px -14px");
		num ++;
	}).find("img").hover(
		function(){  
			$(this).stop().animate({"opacity" : "0"}, 500);  
		},
		function(){
			$(this).stop().animate({"opacity" : "1"}, 1000);
		}
	); 
});

$(function() {
	var num = 0;
	$("#nav2 li").each(function() {
		var s = "";
		if (num < 10) {
			s = "0" + num;
		} else {
			s = num;
		}
		$(this).css("background", "url(./common/images/menu/en/nav" + s + ".png) no-repeat 0px -14px");
		num ++;
	}).find("img").hover(
		function(){  
			$(this).stop().animate({"opacity" : "0"}, 500);  
		},
		function(){
			$(this).stop().animate({"opacity" : "1"}, 1000);
		}
	); 
});

