function changeTabs(id) {
        var tabContainers = jQuery(id).children('.tabContent'); // получаем массив контейнеров
        tabContainers.hide().filter(':first').show(); // прячем все, кроме первого 
        // далее обрабатывается клик по вкладке
        jQuery(id).children('ul.tabNavigation').children('li').children('a').click(function () {
          tabContainers.hide(); // прячем все табы
          tabContainers.filter(this.hash).show(); // показываем содержимое текущего
          jQuery(id).children('ul.tabNavigation').children('li').removeClass('active'); // у всех убираем класс 'selected'
          jQuery(this).parent('li').addClass('active'); // текушей вкладке добавляем класс 'selected'
          return false;
        }).filter(':first').click();
      };
