//<![CDATA[
//window.onload role
$(document).ready(function(){
	
		//·Î±×ÀÎ ¹öÆ° ¼³Á¤
		$('.lnkNewWin').click(function(){
			openNewWindow($(this).attr('href'));
			return false;
		});
		$('.lnkselect').click(function(){
		if($('#lnksel').val() != ''){
			openNewWindow($('#lnksel').val());
			return false;
			}
		});
		$('a').bind('click',function (){
			var target = $(this).attr("target");
			var href = $(this).attr("href");
			if(target=='_blank'){
				openNewWindow(href);
				return false;
			}
		});
		$('#top_navi > ul > li > a').bind('mouseover focus click',function (){
					$('#top_navi ul a img').attr('src',function(){return $(this).attr('src').replace('_on','_off')});
					$(this).children('img').attr('src', $(this).children('img').attr('src').replace('_off','_on'));
				$('#top_navi ul li ul').hide();
				$(this).parent().find('ul').show();
		});
});
