$(document).ready(function() {

	$('a').click(function() { this.blur(); });
	
	
	$("div.dropdown_box").each(function(){
		//$(this).css('left', $(this).parent().offset().left);
		$(this).slideUp('fast');
		//$(this).toggle();
	});



	$(".ul_nav li").hover(function(){
		$('div', this).slideDown(0);
		$('a', this).addClass('lnk_current_item');
		//$('a', this).css("color", "#cc0000");
		//get the index, set the selector, add class
		myIndex = $(".ul_nav li").index($(this));
//		alert (myIndex);
		
		myMenu = $(".menu:eq("+myIndex+")");
//		myMenu.addClass("menu-hover");
		}, function(){
			// myMenu.removeClass("menu-hover");
			$('a', this).removeClass('lnk_current_item');
			$("div.dropdown_box",this).slideUp(0);
	});
	


/*
$('.ul_nav li').hover(function(){
		var myIndex = $('.ul_nav li').index(this);
		myMenu = $('.menu:eq(' + myIndex + ')');
	});
*/

// end of $(document).ready
});


	function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}



