$(document).ready(function(){
$(".uslugi li span").click(function(){
		$(".uslugi li span").removeClass("act");
		$(this).addClass("act");
	});
$(".innerLink1 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin1").animate({height:"show"}, 300 );
	});
$(".innerLink2 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin2").animate({height:"show"}, 300 );
	});
$(".innerLink3 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin3").animate({height:"show"}, 300 );
		$(".uslugi li span").removeClass("act");
		$(this).addClass("act");
	});
$(".innerLink4 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin4").animate({height:"show"}, 300 );
	});
$(".innerLink5 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin5").animate({height:"show"}, 300 );		
	});
$(".innerLink6 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin6").animate({height:"show"}, 300 );		
	});
$(".innerLink7 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin7").animate({height:"show"}, 300 );		
	});
$(".innerLink8 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin8").animate({height:"show"}, 300 );		
	});
$(".innerLink9 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin9").animate({height:"show"}, 300 );		
	});
$(".innerLink10 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin10").animate({height:"show"}, 300 );		
	});
$(".innerLink11 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin11").animate({height:"show"}, 300 );		
	});
$(".innerLink12 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin12").animate({height:"show"}, 300 );		
	});
$(".innerLink13 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin13").animate({height:"show"}, 300 );		
	});
$(".innerLink14 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin14").animate({height:"show"}, 300 );		
	});
$(".innerLink15 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin15").animate({height:"show"}, 300 );		
	});
$(".innerLink16 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin16").animate({height:"show"}, 300 );		
	});
$(".innerLink17 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin17").animate({height:"show"}, 300 );		
	});
$(".innerLink18 span").click(function(){
		$(".tgreyinHldr div").animate({opacity:"hide"}, 0 );
		$(".tgreyin18").animate({height:"show"}, 300 );		
	});

});

