//

(function($) {
  Drupal.behaviors.print_article = {
    attach: function() {
      $('#print-article-button').click(function() {
        window.print();
      });
    }
  };
})(jQuery);

;
//

(function($) {
  Drupal.behaviors.counters = {
    attach: function() {
      var img_src = "http://hit8.hotlog.ru/cgi-bin/hotlog/count?";
      img_src += Math.random() + "&s=172876&im=112&r=" + escape(document.referrer) + "&pg=" + escape(window.location.href);
      if (navigator.javaEnabled != undefined) {
        img_src += "&j=" + (navigator.javaEnabled() ? "Y" : "N");
      }
      img_src += "&wh=" + screen.width + 'x' + screen.height;
      img_src += "&px=" + (
        ((navigator.appName.substring(0,3) == "Mic"))
          ? screen.colorDepth
          : screen.pixelDepth);
      img_src += "&js=1.3";
      $('#hotlog img').attr('src', img_src);

      var cz_user = 31369;
      var cz_type = 1;
      var cz_str = "wd=" + screen.width + "&hg=" + screen.height + "&du=" + escape(document.URL) + "&rf=" + escape(document.referrer);
      var cz_img_src = "http://zero.kz/c.php?";
      cz_img_src += "u=" + cz_user + "&t=" + cz_type + "&" + cz_str;
      $('#countzero img').attr('src', cz_img_src);
    }
  };
})(jQuery);

;

