Drupal.locale = { 'pluralFormula': function ($n) { return Number((((($n%10)==1)&&(($n%100)!=11))?(0):((((($n%10)>=2)&&(($n%10)<=4))&&((($n%100)<10)||(($n%100)>=20)))?(1):2))); }, 'strings': {"":{"An AJAX HTTP error occurred.":"Objevila se AJAX HTTP chyba.","HTTP Result Code: !status":"V\u00fdsledn\u00fd k\u00f3d HTTP je: !status","An AJAX HTTP request terminated abnormally.":"AJAX HTTP po\u017eadavek skon\u010dil neobvykle.","Debugging information follows.":"N\u00e1sleduj\u00ed informace pro lad\u011bn\u00ed.","Path: !uri":"Cesta: !uri","StatusText: !statusText":"Text stavu: !statusText","ResponseText: !responseText":"Text odpov\u011bdi:  !responseText","ReadyState: !readyState":"ReadyState: !readyState","Select all rows in this table":"Ozna\u010dit v\u0161echny \u0159\u00e1dky v t\u00e9to tabulce","Deselect all rows in this table":"Zru\u0161it ozna\u010den\u00ed v\u0161ech \u0159\u00e1dek v t\u00e9to tabulce","Show shortcuts":"Zobrazit zkratky","Hide shortcuts":"Skr\u00fdt zkratky","Hide":"Skr\u00fdt","Show":"Uk\u00e1zat","Re-order rows by numerical weight instead of dragging.":"Zm\u011b\u0148te po\u0159ad\u00ed \u0159\u00e1dk\u016f pomoc\u00ed \u010d\u00edseln\u00e9 v\u00e1hy m\u00edsto p\u0159eta\u017een\u00ed my\u0161\u00ed.","Show row weights":"Uka\u017e v\u00e1hy \u0159\u00e1dk\u016f","Hide row weights":"Skryj v\u00e1hy \u0159\u00e1dk\u016f","Drag to re-order":"Pro p\u0159eskupen\u00ed p\u0159et\u00e1hn\u011bte my\u0161\u00ed","Changes made in this table will not be saved until the form is submitted.":"Zm\u011bny proveden\u00e9 v t\u00e9to tabulce budou ulo\u017eeny a\u017e po odesl\u00e1n\u00ed  formul\u00e1\u0159e.","Edit":"Upravit","Configure":"Nastaven\u00ed","Done":"Hotovo","Not published":"Nevyd\u00e1no","Please wait...":"Pros\u00edm \u010dekejte...","By @name on @date":"U\u017eivatel @name dne @date","By @name":"Dle @name","Not in menu":"Nen\u00ed v menu","Alias: @alias":"Alias: @alias","No alias":"\u017d\u00e1dn\u00fd alias","New revision":"Nov\u00e1 revize","The changes to these blocks will not be saved until the \u003cem\u003eSave blocks\u003c\/em\u003e button is clicked.":"Zm\u011bny v t\u011bchto bloc\u00edch se neprojev\u00ed, dokud je neulo\u017e\u00edte pomoc\u00ed tla\u010d\u00edtka \u003cem\u003eUlo\u017eit bloky\u003c\/em\u003e.","This permission is inherited from the authenticated user role.":"Pr\u00e1va byla zd\u011bd\u011bna z ov\u011b\u0159en\u00e9 u\u017eivatelsk\u00e9 role.","No revision":"\u017d\u00e1dn\u00e1 revize","@number comments per page":"Po\u010det koment\u00e1\u0159\u016f na str\u00e1nku: @number","Requires a title":"Vy\u017eaduje n\u00e1zev","Not restricted":"Nen\u00ed omezeno","(active tab)":"(aktivn\u00ed z\u00e1lo\u017eka)","Not customizable":"Nelze p\u0159izp\u016fsobit","Restricted to certain pages":"Omezen\u00fd na ur\u010dit\u00fd str\u00e1nky","The block cannot be placed in this region.":"Blok nem\u016f\u017ee b\u00fdt um\u00edst\u011bn do tohoto regionu.","Customize dashboard":"P\u0159izp\u016fsobit ovl\u00e1dac\u00ed panel","Hide summary":"Skr\u00fdt souhrn","Edit summary":"Upravit souhrn","Don't display post information":"Nezobrazovat informace o p\u0159\u00edsp\u011bvku","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Vybran\u00fd soubor %filename nelze nahr\u00e1t. Jsou povoleny pouze soubory s t\u011bmito p\u0159\u00edponami: %extensions.","Autocomplete popup":"Vyskakovac\u00ed okno automatick\u00e9ho dokon\u010dov\u00e1n\u00ed","Searching for matches...":"Hled\u00e1m shody..."}} };;
// $Id: floating_block.js,v 1.3 2011/01/07 16:08:01 alexpott Exp $

/**
 * Provides the ability to fix a html block to a position on the page when the 
 * browser is scroled.
 *
 * This code is based on tableheader.js
 */
(function ($) {
// Keep track of all floating blocks.
var floating_blocks = [];

Drupal.blockFloatDoScroll = function () {
  if (typeof(Drupal.blockFloatOnScroll) == 'function') {
    Drupal.blockFloatOnScroll();
  }
};

/**
 * Attaches the floating_block behavior.
 */
Drupal.behaviors.blockFloat = {
  attach: function (context) {
    var doResize = true;
    // This breaks in anything less than IE 7. Prevent it from running.
    if (!jQuery.support.boxModel) {
      return;
    }
    if (jQuery.isFunction(context.parent)) {
      context = context.parent();
      doResize = false;
    }  
    $(Drupal.settings.floating_block).each(function (i, selector) {
      $(selector.toString() + ':not(.blockFloat-processed)', context).each(function (j, block) {
        var blockInfo = [];
        blockInfo.original_position = $(block).offset();
        blockInfo.original_css_position = $(block).css("position");
        blockInfo.original_identifier = 'blockFloat-' + floating_blocks.length;
        blockInfo.viewHeight = 0;
        floating_blocks.push(blockInfo);
        // Initialzing block positioning.
        tracker(blockInfo);
        $(block).addClass('blockFloat-processed ' + blockInfo.original_identifier);
      });
    });

    // Track positioning and visibility.
    function tracker(e) {
      // Save positioning data.
      var viewHeight = document.documentElement.scrollHeight || document.body.scrollHeight;
      var block = $('.' + e.original_identifier);
      if (block.length > 0) {
        if (e.viewHeight != viewHeight) {
          if (e.reset) {
            //reset block so we can calculate new position
            block.css({left: e.original_position.left + 'px', position: e.original_css_position, top: e.original_position.top + 'px'});
            e.original_position = $(block).offset();
            e.original_css_position = $(block).css("position");
          }
          e.viewHeight = viewHeight;
          e.docHeight = $(document).height();
          e.vPosition = e.original_position.top;
          e.hPosition = e.original_position.left;
          e.blockHeight = block.height();
        }

        // Track horizontal positioning relative to the viewport and set position.
        var current_position = block.offset();
        var hScroll = document.documentElement.scrollLeft || document.body.scrollLeft;
        var vOffset = (document.documentElement.scrollTop || document.body.scrollTop) - e.vPosition;

        if (vOffset > 0) {
          //Don't let the bottom of the block go beneath the document height
          var topPosition = 0;
          if ((current_position.top + e.blockHeight) > e.docHeight) {
             topPosition = block.docHeight - current_position.top - e.blockHeight;
          }
          block.css({left: -hScroll + e.hPosition + 'px', position: 'fixed', top: topPosition + 'px'});
        }
        else {
          block.css({left: e.original_position.left + 'px', position: e.original_css_position, top: e.original_position.top + 'px'});
        }
      }
    }

    // Only attach to scrollbars once, even if Drupal.attachBehaviors is called
    //  multiple times.
    if (!$('body').hasClass('blockFloat-processed')) {
      $('body').addClass('blockFloat-processed');
      $(window).scroll(Drupal.blockFloatDoScroll);
      $(document.documentElement).scroll(Drupal.blockFloatDoScroll);
    }

    // Track scrolling.
    Drupal.blockFloatOnScroll = function() {
      $(floating_blocks).each(function () {
        tracker(this);
      });
    };

    // Track resizing.
    var time = null;
    var resize = function () {
      // Ensure minimum time between adjustments.
      if (time) {
        return;
      }
      time = setTimeout(function () {
        $(floating_blocks).each(function () {
          this.viewHeight = 0;
          this.reset = true;
          tracker(this);
        });
        // Reset timer
        time = null;
      }, 250);
    };
    
    if (doResize) {
      $(window).resize(resize);
    }
  }
};
})(jQuery);;

(function ($) {
  Drupal.Panels = {};

  Drupal.Panels.autoAttach = function() {
    if ($.browser.msie) {
      // If IE, attach a hover event so we can see our admin links.
      $("div.panel-pane").hover(
        function() {
          $('div.panel-hide', this).addClass("panel-hide-hover"); return true;
        },
        function() {
          $('div.panel-hide', this).removeClass("panel-hide-hover"); return true;
        }
      );
      $("div.admin-links").hover(
        function() {
          $(this).addClass("admin-links-hover"); return true;
        },
        function(){
          $(this).removeClass("admin-links-hover"); return true;
        }
      );
    }
  };

  $(Drupal.Panels.autoAttach);
})(jQuery);
;

