text: (function($) {
  
   function init() {
      /* Sidebar height set */
      $sidebarStyles = $('.sidebar').attr('style') || "";
      $sidebarStyles += ' min-height: ' + $(document).height() + 'px;';
      $('.sidebar').attr('style', $sidebarStyles);
  
      /* Secondary contact links */
      var $scontacts = $('#contact-list-secondary');
      var $contactList = $('#contact-list');
  
      $scontacts.hide();
      $contactList.mouseenter(function(){ $scontacts.fadeIn(); });
      $contactList.mouseleave(function(){ $scontacts.fadeOut(); });
  
      /**
       * Tags & categories tab activation based on hash value. If hash is undefined then first tab is activated.
       */
      function activateTab() {
        if(['/tags.html', '/categories.html'].indexOf(window.location.pathname) > -1) {
          var hash = window.location.hash;
          if(hash)
            $('.tab-pane').length && $('a[href="' + hash + '"]').tab('show');
          else
            $('.tab-pane').length && $($('.cat-tag-menu li a')[0]).tab('show');
        }
      }
  
      // watch hash change and activate relevant tab
      $(window).on('hashchange', activateTab);
  
      // initial activation
      activateTab();
    };
  
    // run init on document ready
    $(document).ready(init);
  
  })(jQuery);
  
  function weixin_mouseOver(){
    $(".wxqrcode").show();
  }
  
  function weixin_mouseOut(){
    $(".wxqrcode").hide();
  }
  