jQuery(document).ready(function($){
	$("ul.millennia_menu > li > ul").css("display", "none");
	$("ul.millennia_menu > li").hover(			
			function(){
				//if($(this).children("ul")) alert($(this).children("ul").index);
			
			$(this).children('ul').stop(true,true).slideDown("slow");
			},
			function(){
			//$(this).find('ul').removeClass("current-child");
			$(this).children('ul').slideUp("slow");
			}
	);
});
/*jQuery(function(){
	jQuery(".sidebar-box ul li a").hover(function(){
		jQuery(this).animate({
			marginLeft: "20px"
		}, 250);
	}, function(){
		jQuery(this).stop().animate({
			marginLeft: "0px"
		}, 250);
	});
	jQuery("#pages ul li").hover(function(){
		jQuery(this).animate({
			marginTop: "10px"
		}, 250);
	}, function(){
		jQuery(this).animate({
			marginTop: "0px"
		}, 250);
	});
});

jQuery(window).load(function(){
	//---Country Flag Slider----
	if( jQuery('.innerbaner ul > li').length > 0 ){
		jQuery('.innerbaner ul').carouFredSel({
			//padding: 'auto',
			//infinite: true,
			//circular: true,
			//direction: 'right',
			//next: 'a.previous',
			//prev: 'a.next',
			width: 646,
			height:169,
			items: {
				start: 0,
				visible: 1
			},
			auto:{
				pauseDuration: 5000 //=== '5 Sec'
			},
			scroll: {
				items: 1,
				easing: 'swing',
				pauseOnHover: true,
				mousewheel: true
			},
			pagination:{
				container: 'div.slider_btns'
			}
		});
	}
});*/
