var timerC = 0;
var fTimer = null;
var fTimer2 = null;
jQuery(document).ready(
		function () {
			
			$('.arrow_left').hide();
			$('.arrow_right').hide();
			$('.inter_menu_wrapper').hide();
			
			
			var speed = 300;
			
			$('#inter_block_wrapper').bind('mouseout', function () {

				timerC = window.setTimeout(function () {
					$('.arrow_left').fadeOut(speed);
					$('.arrow_right').fadeOut(speed);
					$('.inter_menu_wrapper').fadeOut(speed);
				}, 2000);
				
			});
			
			$('.mouseover_mark').bind('mouseover', function () {
				clearTimeout(timerC);
				$('.arrow_left').fadeIn(speed);
				$('.arrow_right').fadeIn(speed);
				$('.inter_menu_wrapper').fadeIn(speed);
				
			});
			
			
			// fonar
			$('.left_image_fonar').hide();
			
			var fSpeed = 300;
			
			$('.left_image_fonar_move').bind('mouseover', function () {
				
				window.clearTimeout(fTimer);
				
				$('.left_image_fonar').fadeIn(fSpeed);
				
			});
			
			$('.left_image_fonar_move_main, .left_image_fonar_move').bind('mouseout', function () {
				fTimer = window.setTimeout(function () {
					$('.left_image_fonar').fadeOut(200);
				}, 200);
				
			});
			
			// right fonar
			$('.right_image_fonar').hide();
			$('.right_image_fonar_move').bind('mouseover', function () {
				
				window.clearTimeout(fTimer2);
				
				$('.right_image_fonar').fadeIn(fSpeed);
				
			});
			
			$('.right_image_fonar_move_main, .right_image_fonar_move').bind('mouseout', function () {
				fTimer2 = window.setTimeout(function () {
					$('.right_image_fonar').fadeOut(200);
				}, 200);
				
			});

			
			
			
		}
);
