$(document).ready(function(){
	$('#topmenu ul li:first').addClass("first");

	//добавляем классы в активный пункт псевдоменю "сервисы"
	var paths = document.location.pathname.split('/');
	var activehref = document.location.protocol + '//' + document.location.host + '/' + paths[1] + '/'; 
	$("#snav a").each(function(i){
		if (this.href == activehref) 	$(this).addClass('active');
	});
});
