		$(document).ready(function(){
			$(".slide_box").find(".slide_box_img:first").css("display", "block");
			
			
			$(".slide_box li .slide_box_btn").hover(function() {
				var hidden = $(this).next(".slide_box_img").is(":hidden");
				if (hidden) {
				$(this).oneTime(100, function() {
				
					$(".slide_box").find(".slide_box_img").css("display", "none");
					$(".slide_box").find(".slide_box_btn").removeClass("active");
					
					$(this).next(".slide_box_img").css ("display", "block");
					$(this).addClass("active");
				
				});
				}
			});
			
		});

		$(document).ready(function(){
			$('.menu_box ul li').hover(
				
				function() {
					var 
						qwer = 0;
						qwer = $(".menu_box ul li").innerWidth();
					$(this).children('a').addClass("active");
					$(this).find('.drop_menu').stop(true, true); 
					$(this).find('.drop_menu').slideDown();
					$('.menu_box ul li:last').find('.drop_menu').addClass("posit");
				},
				function() {
					$(this).children('a').removeClass("active");
					$(this).find('.drop_menu').slideUp('fast');
					$('.menu_box ul li:last').find('.drop_menu').removeClass("posit");
				}
			);
		});


  $(function(){
    $("#login").textPlaceholder();
  });

  $(function(){
    $("#password").textPlaceholder();
  });

  $(function(){
    $("#search").textPlaceholder();
  });
  
function confdrop() {
    if(confirm('Вы уверены?'))
    {
        return true;
    }else{
        return false;
    }
}
