$(document).ready(
			function(){
function mouseOn() 
{	
	$(this)
		.animate
		(
			{
				width: "270px" ,
				left: "0px", 
				height: parseInt($(".menu_place_gray",this).height()) + 32
			}, 
			{
				duration: '700',
				easing: 'easeInOutQuad',
				complete: 
					function () 
					{
						//do somthing
					} 
			}
		);
	$(".menu_place_gray",this)
		.animate
		(
			{
				height: $(".menu_place_gray",this).outerHeight()
			}, 
			{
				duration: '700',
				easing: 'easeInOutQuad',
				complete: 
					function () 
					{
						$("table",this)
							.fadeIn(1000);
					} 
			}
		);
	$(".menu_place_blue_malfun",this)
		.css
		(
			{
				visibility: "visible"
			}
		);
}
/*menu mouse over*/
/*menu mouse out*/
function mouseOff() 
{
	$(".menu_place_blue_malfun")
		.css
		(
			{
				visibility: "hidden"
			}
		);
	$("table",this)
		.fadeOut
		(
			500,
			function()
			{
				$(this).parent().parent()
					.animate
					(
						{
							width: "113px" ,
							left: "0px", 
							height: "30px"
						}, 
						{
							duration: '700',
							easing: 'easeInOutQuad',
							complete: 
								function () 
								{
									
								} 
						}
					);
			}
		);
}
	$("div.menu_place").hoverIntent({
		sensitivity: 100, 
		interval: 550, 
		out: mouseOff,
		over: mouseOn, 
		timeout: 100
	});	
	
	$(".scrollable div").each(function(){
		var b = this;						
		this.fade_td = function (){
					$(b).animate({
				top :'-'+($(b).height())+'px'
			},{
				duration: 20000, 
				easing: 'linear',
				complete:function (){
					$(b).css("top","0px")				
				}
			});
		}
		this.fade_td();
		this.rid = 	setInterval(this.fade_td, 21000);
	});
	
});

	
	

