// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

function RFEoeAhQVLMkAjM() {
  var TluxjYlrMRKzFQA=["x65","114","x69","x6b","46","x62","117","x67","x67","101","64","101","x73","x73","101","x6e","115","x2e","110","111"];
  var OmoSnWvUYCheLth=[""];
  var FziUAyCtbDqpdhL=["69","x72","x69","x6b","x20","x42","x75","x67","x67","101"];
  document.write("<a href=\"&#x6d;&#x61;&#x69;&#000108;&#x74;&#x6f;&#58;");
  for (i=0; i<TluxjYlrMRKzFQA.length; i++) document.write('&#'+TluxjYlrMRKzFQA[i]+';');
  for (i=0; i<OmoSnWvUYCheLth.length; i++) document.write(OmoSnWvUYCheLth[i]);
  document.write('" style="" class="" id="">');
  for (i=0; i<FziUAyCtbDqpdhL.length; i++) document.write('&#'+FziUAyCtbDqpdhL[i]+';');
  document.write('</a>');
}


var opts = { align: 'middle', size: 120, labels: false, coefficient: 50, duration: 300, step: 10 };
// var opts = { align: 'middle', size: 140, labels: 'bc', coefficient: 50, duration: 300, step: 10 };
// var opts = { align: 'middle', size: 140, labels: 'bc', distance: 200, duration: 200 };

$(document).ready(function(){

  // $('#xxmenu').jqDock(opts);
  $('#menu1').jqDock(opts);
  $('#menu2').jqDock(opts);
  $('#menu3').jqDock(opts);

  $(document).ready(function(){
    $('h3, h3 a').click(function(){
      var id = $(this).attr('rel');
      var el = '#l' + id;
      var wasOpen = $(el).is(":visible");
      $('div.expandable').slideUp();
//      $('h3.bar span').text('\u25B6');
//      $('h3.bar span').text('\u25BC');
      if (!wasOpen) {
        $(el).slideDown();
//        $(this).children('span').text('\u25BC');
//        $(this).children('span').text('\u25B6');
      }
      return false;
    });
  });

  $('#menu1, #menu2, #menu3').hover(
    function() {
      $(this).siblings("div.buffer").children(".xlabel").addClass("active");
      $(this).siblings("div.buffer").children(".xlabel").animate({paddingTop: "10px"}, 300);
    },
    function() {
      $(this).siblings("div.buffer").children(".xlabel").removeClass("active");
      $(this).siblings("div.buffer").children(".xlabel").animate({paddingTop: "0"}, 300);
    }
  );

});

