// Producted by
/*
$(function(){
	$('#gnavi-menu a')
		.css( {backgroundPosition: "0 0"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0 -250px)"}, {duration:1000})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:1000})
		})
});
*/

function viewNewsDetail( info_id ) {

	if ( info_id != "" ) {
		var url = "/tool/news/";
		new Ajax.Updater( 
			{success:"news_detail_box"},
			url, 
			{
				method: "get",
				parameters: "info_id="+info_id,
				onSuccess:function(request) {
					document.getElementById("news_detail_box").style.display = "none";
					document.getElementById("news_detail_box").innerHTML = request.responseText;
					$("#news_detail_box").addClass("showText").show("slow");
				}
			}
		);
	}
}
