// JavaScript Document


$(document).ready(
	function() {
		
		
		
		$(".ico a").hover(function(){
			$(this).children("img").css('margin-top', '-10px');
			},function(){
			$(this).children("img").css('margin-top', '0');
		});
		
		$(".news").hover(function(){
			$(this).children(".news_top").addClass("hover");
			},function(){
			$(this).children(".news_top").removeClass("hover");
		});
		
		
		$(".nav_head").hover(function(){
			$(this).children(".nav_body").show();
			},function(){
			$(this).children(".nav_body").hide();
		});
		
		
		$(".darker").height($(document).height());
		
		
		$(".arrows").click( function() { 
			$(".center_big").hide("slow");
			$(".center").show("slow");
		} );
		
		$(".basket .close").click(function(){
			$(this).parents(".item").animate({ opacity: 'hide' }, "slow");
		});
		
		$(".table tr:nth-child(even)").addClass("chet");
		
		$(".expanded_link").toggle(function(){
			$(this).text("");
			$(this).addClass("close");
			$(".expanded_search").slideDown();
			},function(){
			$(this).text(" ");
			$(this).removeClass("close");
			$(".expanded_search").slideUp();
		});
		
		
		
				
	});
