// JavaScript Document<script>
$(function(){
	$("ul#nav > li").bind('mouseover',function(){
		$(this).addClass('on');
		$('div.subnav',this).show();
	}).mouseout(function(){
		$('div.subnav',this).hide();
		if ( $(this).hasClass('current') ){
			
		}else{
			$(this).removeClass('on');
		}
	}).click(function(){
		$("ul#nav > li").removeClass('current on');
		$(this).addClass('current on');
	});
	
	$("li.sub_sub").bind('mouseover',function(){
		$('div.sub_subnav',this).show();
	}).mouseout(function(){
		$('div.sub_subnav',this).hide();
		
	});
	
	$("div.subnav li").bind('mouseover',function() {
		$('span.sub',this).addClass('on');
	}).mouseout(function(){
		$('span.sub',this).removeClass('on');
	});
	
	$("div.sub_subnav li").bind('mouseover',function() {
		$('span.sub_sub',this).addClass('on');
	}).mouseout(function(){
		$('span.sub_sub',this).removeClass('on');
	});
});

