// Input 0
jQuery(document).ready(function() {
  jQuery(".attachment-thumbnail").fadeTo("normal", 0.55);
  jQuery(".attachment-thumbnail").hover(function() {
    jQuery(this).fadeTo("normal", 1)
  }, function() {
    jQuery(this).fadeTo("normal", 0.55)
  })
});
// Input 1
jQuery(document).ready(function() {
  jQuery(".boxgrid.captionfull").hover(function() {
    jQuery(".cover", this).stop().animate({top:"115"}, {queue:false, duration:300})
  }, function() {
    jQuery(".cover", this).stop().animate({top:"230"}, {queue:false, duration:300})
  })
});
// Input 2
addComment = {moveForm:function(a, k, b, d) {
  var e = this;
  a = e.I(a);
  var o = e.I(b), v = e.I("cancel-comment-reply-link"), q = e.I("comment_parent"), w = e.I("comment_post_ID");
  if(!(!a || !o || !v || !q)) {
    e.respondId = b;
    d = d || false;
    if(!e.I("wp-temp-form-div")) {
      b = document.createElement("div");
      b.id = "wp-temp-form-div";
      b.style.display = "none";
      o.parentNode.insertBefore(b, o)
    }a.parentNode.insertBefore(o, a.nextSibling);
    if(w && d)w.value = d;
    q.value = k;
    v.style.display = "";
    v.onclick = function() {
      var p = addComment, s = p.I("wp-temp-form-div"), r = p.I(p.respondId);
      if(s && r) {
        p.I("comment_parent").value = "0";
        s.parentNode.insertBefore(r, s);
        s.parentNode.removeChild(s);
        this.style.display = "none";
        this.onclick = null;
        return false
      }
    };
    try {
      e.I("comment").focus()
    }catch(x) {
    }return false
  }
}, I:function(a) {
  return document.getElementById(a)
}};
// Input 3
jQuery.fn.resizer = function() {
  return this.each(function() {
    var a = jQuery(this);
    a.after(jQuery('<div class="resizer"></div>').bind("mousedown", function(k) {
      var b = a.height(), d = k.clientY, e = function(v) {
        a.height(Math.max(20, v.clientY + b - d))
      }, o = function() {
        jQuery("html").unbind("mousemove", e).unbind("mouseup", o)
      };
      jQuery("html").bind("mousemove", e).bind("mouseup", o)
    }))
  })
};
// Input 4
var tooltip = {options:{attr_name:"tooltip", blank_text:"(откроется в новом окне)", newline_entity:"  ", max_width:0, delay:150, skip_tags:["img"]}, t:document.createElement("DIV"), c:null, g:false, canvas:null, m:function(a) {
  if(tooltip.g)tooltip.a(window.event ? event.clientX + tooltip.canvas.scrollLeft : a.pageX, window.event ? event.clientY + tooltip.canvas.scrollTop : a.pageY)
}, d:function() {
  tooltip.canvas = document.getElementsByTagName(document.compatMode && document.compatMode == "CSS1Compat" ? "HTML" : "BODY")[0];
  tooltip.t.setAttribute("id", "tooltip");
  document.body.appendChild(tooltip.t);
  if(tooltip.options.max_width)tooltip.t.style.maxWidth = tooltip.options.max_width + "px";
  for(var a = document.all && !window.opera ? document.all : document.getElementsByTagName("*"), k = a.length, b = 0;b < k;b++)if(!(!a[b] || tooltip.options.skip_tags.in_array(a[b].tagName.toLowerCase()))) {
    var d = a[b].getAttribute("title");
    if(d && typeof d != "string")d = "";
    var e = a[b].getAttribute("alt"), o = a[b].getAttribute("target") && a[b].getAttribute("target") == "_blank" && tooltip.options.blank_text;
    if(d || o) {
      a[b].setAttribute(tooltip.options.attr_name, o ? d ? d + " " + tooltip.options.blank_text : tooltip.options.blank_text : d);
      if(a[b].getAttribute(tooltip.options.attr_name)) {
        a[b].removeAttribute("title");
        e && a[b].complete && a[b].removeAttribute("alt");
        tooltip.l(a[b], "mouseover", tooltip.s);
        tooltip.l(a[b], "mouseout", tooltip.h)
      }
    }else if(e && a[b].complete) {
      a[b].setAttribute(tooltip.options.attr_name, e);
      if(a[b].getAttribute(tooltip.options.attr_name)) {
        a[b].removeAttribute("alt");
        tooltip.l(a[b], "mouseover", tooltip.s);
        tooltip.l(a[b], "mouseout", tooltip.h)
      }
    }a[b].getAttribute(tooltip.options.attr_name)
  }document.onmousemove = tooltip.m;
  window.onscroll = tooltip.h;
  tooltip.a(-99, -99)
}, _:function(a) {
  a = a.replace(/\&/g, "&amp;");
  a = a.replace(/\</g, "&lt;");
  return a = a.replace(/\>/g, "&gt;")
}, s:function(a) {
  if(typeof tooltip != "undefined") {
    a = window.event ? window.event.srcElement : a.target;
    if(a.getAttribute(tooltip.options.attr_name)) {
      a = a.getAttribute(tooltip.options.attr_name);
      if(tooltip.options.newline_entity) {
        a = tooltip._(a);
        a = a.replace(eval("/" + tooltip._(tooltip.options.newline_entity) + "/g"), "<br />");
        tooltip.t.innerHTML = a
      }else {
        tooltip.t.firstChild && tooltip.t.removeChild(tooltip.t.firstChild);
        tooltip.t.appendChild(document.createTextNode(a))
      }tooltip.c = setTimeout(function() {
        tooltip.t.style.visibility = "visible"
      }, tooltip.options.delay);
      tooltip.g = true
    }
  }
}, h:function() {
  if(typeof tooltip != "undefined") {
    tooltip.t.style.visibility = "hidden";
    !tooltip.options.newline_entity && tooltip.t.firstChild && tooltip.t.removeChild(tooltip.t.firstChild);
    clearTimeout(tooltip.c);
    tooltip.g = false;
    tooltip.a(-99, -99)
  }
}, l:function(a, k, b) {
  if(a.addEventListener)a.addEventListener(k, b, false);
  else if(a.attachEvent)a.attachEvent("on" + k, b);
  else return null
}, a:function(a, k) {
  var b = tooltip.canvas.clientWidth ? tooltip.canvas.clientWidth + tooltip.canvas.scrollLeft : window.innerWidth + window.pageXOffset, d = window.innerHeight ? window.innerHeight + window.pageYOffset : tooltip.canvas.clientHeight + tooltip.canvas.scrollTop;
  if(document.all && document.all.item && !window.opera)tooltip.t.style.width = tooltip.options.max_width && tooltip.t.offsetWidth > tooltip.options.max_width ? tooltip.options.max_width + "px" : "auto";
  var e = tooltip.t.offsetWidth, o = tooltip.t.offsetHeight;
  tooltip.t.style.left = a + 15 + "px";
  tooltip.t.style.top = k + 10 + "px";
  if(a + e > b)tooltip.t.style.left = b - e + "px";
  if(k + o > d)tooltip.t.style.top = d - o + "px"
}};
Array.prototype.in_array = function(a) {
  for(var k = this.length, b = 0;b < k;b++)if(this[b] === a)return true;
  return false
};
var root = window.addEventListener || window.attachEvent ? window : document.addEventListener ? document : null;
if(root)if(root.addEventListener)root.addEventListener("load", tooltip.d, false);
else root.attachEvent && root.attachEvent("onload", tooltip.d);
// Input 5
var textarea, content;
function edToolbar(a) {
  document.write('<ul id="wysiwyg-button-row">');
  document.write('<li class="wysiwyg-button" id="wysiwyg-bold-button" name="btnBold" title=\"Полужирный\" onClick="doAddTags(\'<strong>\',\'</strong>\',\'' + a + "')\"/><span>Полужирный</span></li>");
  document.write('<li class="wysiwyg-button" id="wysiwyg-Italic-button" name="btnItalic" title=\"Наклонный\" onClick="doAddTags(\'<em>\',\'</em>\',\'' + a + "')\"/><span>Наклонный</span></li>");
  document.write('<li class="wysiwyg-button" id="wysiwyg-Underline-button" name="btnUnderline" title=\"Подчеркнутый\" onClick="doAddTags(\'<u>\',\'</u>\',\'' + a + "')\"/><span>Подчеркнутый</span></li>");
  document.write('<li class="wysiwyg-button" id="wysiwyg-Link-button" name="btnLink" title=\"Вставить ссылку\" onClick="doURL(\'' + a + "')\"/><span>Вставить ссылку</span></li>");
  document.write('<li class="wysiwyg-button" id="wysiwyg-Picture-button" name="btnPicture" title=\"Вставить изображение\" onClick="doImage(\'' + a + "')\"/><span>Вставить изображение</span></li>");
  document.write('<li class="wysiwyg-button" id="wysiwyg-OList-button" name="btnList" title=\"Нумерованный список\" onClick="doList(\'<ol>\',\'</ol>\',\'' + a + "')\"/><span>Нумерованный список</span></li>");
  document.write('<li class="wysiwyg-button" id="wysiwyg-UList-button" name="btnList" title=\"Ненумерованный список\" onClick="doList(\'<ul>\',\'</ul>\',\'' + a + "')\"/><span>Ненумерованный список</span></li>");
  document.write('<li class="wysiwyg-button" id="wysiwyg-Quote-button" name="btnQuote" title=\"Цитата\" onClick="doAddTags(\'<blockquote>\',\'</blockquote>\',\'' + a + "')\"/><span>Цитата</span></li>");
  document.write("</ul>")
}
function doImage(a) {
  textarea = document.getElementById(a);
  var k = prompt("Enter the Image URL:", "http://");
  a = textarea.scrollTop;
  var b = textarea.scrollLeft;
  if(k != "" && k != null)if(document.selection) {
    textarea.focus();
    document.selection.createRange().text = '<img src="' + k + '">'
  }else {
    var d = textarea.value.length, e = textarea.selectionStart, o = textarea.selectionEnd;
    textarea.value.substring(e, o);
    k = '<img src="' + k + '">';
    textarea.value = textarea.value.substring(0, e) + k + textarea.value.substring(o, d);
    textarea.scrollTop = a;
    textarea.scrollLeft = b
  }
}
function doURL(a) {
  var k;
  textarea = document.getElementById(a);
  var b = prompt("Enter the URL:", "http://");
  a = textarea.scrollTop;
  var d = textarea.scrollLeft;
  if(b != "" && b != null)if(document.selection) {
    textarea.focus();
    k = document.selection.createRange();
    k.text = k.text == "" ? '<a href="' + b + '">' + b + "</a>" : '<a href="' + b + '">' + k.text + "</a>"
  }else {
    var e = textarea.value.length, o = textarea.selectionStart, v = textarea.selectionEnd;
    k = textarea.value.substring(o, v);
    k = k == "" ? b : textarea.value.substring(o, v);
    k = '<a href="' + b + '">' + k + "</a>";
    textarea.value = textarea.value.substring(0, o) + k + textarea.value.substring(v, e);
    textarea.scrollTop = a;
    textarea.scrollLeft = d
  }
}
function doAddTags(a, k, b) {
  textarea = document.getElementById(b);
  if(document.selection) {
    textarea.focus();
    var d = document.selection.createRange();
    d.text = a + d.text + k
  }else {
    b = textarea.value.length;
    var e = textarea.selectionStart, o = textarea.selectionEnd, v = textarea.scrollTop, q = textarea.scrollLeft;
    d = textarea.value.substring(e, o);
    a = a + d + k;
    textarea.value = textarea.value.substring(0, e) + a + textarea.value.substring(o, b);
    textarea.scrollTop = v;
    textarea.scrollLeft = q
  }
}
function doList(a, k, b) {
  textarea = document.getElementById(b);
  if(document.selection) {
    textarea.focus();
    var d = document.selection.createRange(), e = d.text.split("\n");
    for(q = 0;q < e.length;q++)e[q] = "<li>" + e[q] + "</li>";
    d.text = a + "\n" + e.join("\n") + "\n" + k
  }else {
    b = textarea.value.length;
    var o = textarea.selectionStart, v = textarea.selectionEnd, q, w = textarea.scrollTop, x = textarea.scrollLeft;
    d = textarea.value.substring(o, v);
    e = d.split("\n");
    for(q = 0;q < e.length;q++)e[q] = "<li>" + e[q] + "</li>";
    a = a + "\n" + e.join("\n") + "\n" + k;
    textarea.value = textarea.value.substring(0, o) + a + textarea.value.substring(v, b);
    textarea.scrollTop = w;
    textarea.scrollLeft = x
  }
}
;
// Input 6
(function(a) {
  a.fn.smart_modal = function(d) {
    return this.each(function() {
      if(!this._sm) {
        var e = typeof d != "undefined" ? a.extend({}, a.fn.smart_modal.defaults, d) : a.fn.smart_modal.defaults;
        if(typeof sm_count == "undefined")sm_count = 0;
        sm_count++;
        this._sm = sm_count;
        k[sm_count] = {config:e, target_sm:this};
        a(this).smart_modal_add_show(this)
      }
    })
  };
  a.fn.smart_modal_add_show = function(d) {
    return a.smart_modal.show(d)
  };
  a.fn.smart_modal_show = function() {
    return this.each(function() {
      a.smart_modal.open(this)
    })
  };
  a.fn.smart_modal_hide = function() {
    return this.each(function() {
      a.smart_modal.hide(this, true)
    })
  };
  a.fn.smart_modal.defaults = {show:false, hide:false, modal_styles:{display:"block", zIndex:1001}, resize:true, hide_on_overlay_click:true};
  a.smart_modal = {hash:{}, show:function(d) {
    b(k[d._sm].target_sm).click(function() {
      a.smart_modal.open(d);
      return false
    });
    return false
  }, hide:function(d, e) {
    var o = k[d._sm].config.hide_on_overlay_click ? "#sm_olay, .sm_close" : ".sm_close";
    e && a.smart_modal.remove(d);
    b(o).click(function() {
      a.smart_modal.remove(d);
      return false
    })
  }, remove:function(d) {
    d = k[d._sm];
    b("#sm_content").remove();
    b("#sm_olay").remove();
    d.config.hide && d.config.hide()
  }, open:function(d) {
    var e = k[d._sm];
    a.smart_modal.insert_overlay();
    a.smart_modal.insert_content_container();
    var o = a.smart_modal.get_content(a(e.target_sm));
    b("#sm_content").html(o);
    e.config.modal_styles && b("#sm_content").css(e.config.modal_styles);
    e.config.resize && a.smart_modal.resize_container();
    a.smart_modal.for_ie(b("#sm_olay"));
    e.config.show && e.config.show();
    a.smart_modal.hide(d)
  }, resize_container:function() {
    var d = 0, e = 0;
    b("#sm_content *").load(function() {
      b("#sm_content *").each(function() {
        var o = b(this).outerWidth(), v = b(this).outerHeight();
        if(o > d)d = o;
        e += v
      });
      d > 0 && e > 0 && b("#sm_content").css("margin-left", "-" + d / 2 + "px")
    })
  }, insert_overlay:function() {
    b("#sm_olay").length || b("body").append('<div id="sm_olay"></div>');
    b("#sm_olay").css({height:"100%", width:"100%", position:"fixed", left:0, top:0, "z-index":1E3, opacity:0.5})
  }, insert_content_container:function() {
    b("#sm_content").length || b("body").append('<div id="sm_content"></div>')
  }, get_content:function(d) {
    c = "<div class='sm_close'><p>x</p></div>";
    if(d.attr("rel")) {
      div_id = b("#" + d.attr("rel"));
      div_class = b("." + d.attr("rel"));
      if(div_id.length)c += div_id.html();
      else if(div_class.length)c += div_class.html()
    }else c += d.attr("href") ? d.attr("title") ? "<h3 class='sm_title'>" + d.attr("title") + "</h3><img src='" + d.attr("href") + "' alt='" + d.attr("title") + "' />" : "<img src='" + d.attr("href") + "' alt='sm_modal' />" : d.html();
    return c
  }, for_ie:function(d) {
    if(ie6 && a("html,body").css({height:"100%", width:"100%"}) && d) {
      a("html,body").css({height:"100%", width:"100%"});
      i = a('<iframe src="javascript:false;document.write(\'\');" class="overlay"></iframe>').css({opacity:0});
      d.html('<p style="width:100%;height:100%"/>').prepend(i);
      d.css({position:"absolute"})
    }
  }};
  var k = a.smart_modal.hash, b = jQuery;
  ie6 = a.browser.msie && a.browser.version == "6.0"
})(jQuery);
// Input 7
(function(a) {
  a.fn.lazyload = function(k) {
    var b = {threshold:0, failurelimit:0, event:"scroll", effect:"show", container:window};
    k && a.extend(b, k);
    var d = this;
    "scroll" == b.event && a(b.container).bind("scroll", function() {
      var e = 0;
      d.each(function() {
        if(!(a.abovethetop(this, b) || a.leftofbegin(this, b)))if(!a.belowthefold(this, b) && !a.rightoffold(this, b))a(this).trigger("appear");
        else if(e++ > b.failurelimit)return false
      });
      var o = a.grep(d, function(v) {
        return!v.loaded
      });
      d = a(o)
    });
    this.each(function() {
      var e = this;
      undefined == a(e).attr("original") && a(e).attr("original", a(e).attr("src"));
      if("scroll" != b.event || undefined == a(e).attr("src") || b.placeholder == a(e).attr("src") || a.abovethetop(e, b) || a.leftofbegin(e, b) || a.belowthefold(e, b) || a.rightoffold(e, b)) {
        b.placeholder ? a(e).attr("src", b.placeholder) : a(e).removeAttr("src");
        e.loaded = false
      }else e.loaded = true;
      a(e).one("appear", function() {
        this.loaded || a("<img />").bind("load", function() {
          a(e).hide().attr("src", a(e).attr("original"))[b.effect](b.effectspeed);
          e.loaded = true
        }).attr("src", a(e).attr("original"))
      });
      "scroll" != b.event && a(e).bind(b.event, function() {
        e.loaded || a(e).trigger("appear")
      })
    });
    a(b.container).trigger(b.event);
    return this
  };
  a.belowthefold = function(k, b) {
    return(b.container === undefined || b.container === window ? a(window).height() + a(window).scrollTop() : a(b.container).offset().top + a(b.container).height()) <= a(k).offset().top - b.threshold
  };
  a.rightoffold = function(k, b) {
    return(b.container === undefined || b.container === window ? a(window).width() + a(window).scrollLeft() : a(b.container).offset().left + a(b.container).width()) <= a(k).offset().left - b.threshold
  };
  a.abovethetop = function(k, b) {
    return(b.container === undefined || b.container === window ? a(window).scrollTop() : a(b.container).offset().top) >= a(k).offset().top + b.threshold + a(k).height()
  };
  a.leftofbegin = function(k, b) {
    return(b.container === undefined || b.container === window ? a(window).scrollLeft() : a(b.container).offset().left) >= a(k).offset().left + b.threshold + a(k).width()
  };
  a.extend(a.expr[":"], {"below-the-fold":"$.belowthefold(a, {threshold : 0, container: window})", "above-the-fold":"!$.belowthefold(a, {threshold : 0, container: window})", "right-of-fold":"$.rightoffold(a, {threshold : 0, container: window})", "left-of-fold":"!$.rightoffold(a, {threshold : 0, container: window})"})
})(jQuery);
// Input 8
$(document).ready(function() {
  $("#commentform input, #commentform textarea").bind("blur keyup", function() {
    if($("#email").val() && /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test($("#email").val())) {
      var a = MD5($("#email").val());
      $("#gravatar").html('<img src="http://www.gravatar.com/avatar.php?gravatar_id=' + a + '&size=72&rating=G&default=http://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=72" alt="" />')
    }
  })
});
// Input 9
var MD5 = function(a) {
  function k(m, n) {
    return m << n | m >>> 32 - n
  }
  function b(m, n) {
    var t, u, y, z;
    y = m & 2147483648;
    z = n & 2147483648;
    t = m & 1073741824;
    u = n & 1073741824;
    m = (m & 1073741823) + (n & 1073741823);
    if(t & u)return m ^ 2147483648 ^ y ^ z;
    return t | u ? m & 1073741824 ? m ^ 3221225472 ^ y ^ z : m ^ 1073741824 ^ y ^ z : m ^ y ^ z
  }
  function d(m, n, t) {
    return m & n | ~m & t
  }
  function e(m, n, t) {
    return m & t | n & ~t
  }
  function o(m, n, t) {
    return m ^ n ^ t
  }
  function v(m, n, t) {
    return n ^ (m | ~t)
  }
  function q(m, n, t, u, y, z, A) {
    m = b(m, b(b(d(n, t, u), y), A));
    return b(k(m, z), n)
  }
  function w(m, n, t, u, y, z, A) {
    m = b(m, b(b(e(n, t, u), y), A));
    return b(k(m, z), n)
  }
  function x(m, n, t, u, y, z, A) {
    m = b(m, b(b(o(n, t, u), y), A));
    return b(k(m, z), n)
  }
  function p(m, n, t, u, y, z, A) {
    m = b(m, b(b(v(n, t, u), y), A));
    return b(k(m, z), n)
  }
  function s(m) {
    var n, t = m.length;
    n = t + 8;
    for(var u = ((n - n % 64) / 64 + 1) * 16, y = Array(u - 1), z = 0, A = 0;A < t;) {
      n = (A - A % 4) / 4;
      z = A % 4 * 8;
      y[n] |= m.charCodeAt(A) << z;
      A++
    }n = (A - A % 4) / 4;
    z = A % 4 * 8;
    y[n] |= 128 << z;
    y[u - 2] = t << 3;
    y[u - 1] = t >>> 29;
    return y
  }
  function r(m) {
    var n = "", t = "", u;
    for(u = 0;u <= 3;u++) {
      t = m >>> u * 8 & 255;
      t = "0" + t.toString(16);
      n += t.substr(t.length - 2, 2)
    }return n
  }
  function C(m) {
    m = m.replace(/\r\n/g, "\n");
    for(var n = "", t = 0;t < m.length;t++) {
      var u = m.charCodeAt(t);
      if(u < 128)n += String.fromCharCode(u);
      else {
        if(u > 127 && u < 2048)n += String.fromCharCode(u >> 6 | 192);
        else {
          n += String.fromCharCode(u >> 12 | 224);
          n += String.fromCharCode(u >> 6 & 63 | 128)
        }n += String.fromCharCode(u & 63 | 128)
      }
    }return n
  }
  var l = Array(), B, D, E, F, f, g, h, j;
  a = C(a);
  l = s(a);
  f = 1732584193;
  g = 4023233417;
  h = 2562383102;
  j = 271733878;
  for(a = 0;a < l.length;a += 16) {
    B = f;
    D = g;
    E = h;
    F = j;
    f = q(f, g, h, j, l[a + 0], 7, 3614090360);
    j = q(j, f, g, h, l[a + 1], 12, 3905402710);
    h = q(h, j, f, g, l[a + 2], 17, 606105819);
    g = q(g, h, j, f, l[a + 3], 22, 3250441966);
    f = q(f, g, h, j, l[a + 4], 7, 4118548399);
    j = q(j, f, g, h, l[a + 5], 12, 1200080426);
    h = q(h, j, f, g, l[a + 6], 17, 2821735955);
    g = q(g, h, j, f, l[a + 7], 22, 4249261313);
    f = q(f, g, h, j, l[a + 8], 7, 1770035416);
    j = q(j, f, g, h, l[a + 9], 12, 2336552879);
    h = q(h, j, f, g, l[a + 10], 17, 4294925233);
    g = q(g, h, j, f, l[a + 11], 22, 2304563134);
    f = q(f, g, h, j, l[a + 12], 7, 1804603682);
    j = q(j, f, g, h, l[a + 13], 12, 4254626195);
    h = q(h, j, f, g, l[a + 14], 17, 2792965006);
    g = q(g, h, j, f, l[a + 15], 22, 1236535329);
    f = w(f, g, h, j, l[a + 1], 5, 4129170786);
    j = w(j, f, g, h, l[a + 6], 9, 3225465664);
    h = w(h, j, f, g, l[a + 11], 14, 643717713);
    g = w(g, h, j, f, l[a + 0], 20, 3921069994);
    f = w(f, g, h, j, l[a + 5], 5, 3593408605);
    j = w(j, f, g, h, l[a + 10], 9, 38016083);
    h = w(h, j, f, g, l[a + 15], 14, 3634488961);
    g = w(g, h, j, f, l[a + 4], 20, 3889429448);
    f = w(f, g, h, j, l[a + 9], 5, 568446438);
    j = w(j, f, g, h, l[a + 14], 9, 3275163606);
    h = w(h, j, f, g, l[a + 3], 14, 4107603335);
    g = w(g, h, j, f, l[a + 8], 20, 1163531501);
    f = w(f, g, h, j, l[a + 13], 5, 2850285829);
    j = w(j, f, g, h, l[a + 2], 9, 4243563512);
    h = w(h, j, f, g, l[a + 7], 14, 1735328473);
    g = w(g, h, j, f, l[a + 12], 20, 2368359562);
    f = x(f, g, h, j, l[a + 5], 4, 4294588738);
    j = x(j, f, g, h, l[a + 8], 11, 2272392833);
    h = x(h, j, f, g, l[a + 11], 16, 1839030562);
    g = x(g, h, j, f, l[a + 14], 23, 4259657740);
    f = x(f, g, h, j, l[a + 1], 4, 2763975236);
    j = x(j, f, g, h, l[a + 4], 11, 1272893353);
    h = x(h, j, f, g, l[a + 7], 16, 4139469664);
    g = x(g, h, j, f, l[a + 10], 23, 3200236656);
    f = x(f, g, h, j, l[a + 13], 4, 681279174);
    j = x(j, f, g, h, l[a + 0], 11, 3936430074);
    h = x(h, j, f, g, l[a + 3], 16, 3572445317);
    g = x(g, h, j, f, l[a + 6], 23, 76029189);
    f = x(f, g, h, j, l[a + 9], 4, 3654602809);
    j = x(j, f, g, h, l[a + 12], 11, 3873151461);
    h = x(h, j, f, g, l[a + 15], 16, 530742520);
    g = x(g, h, j, f, l[a + 2], 23, 3299628645);
    f = p(f, g, h, j, l[a + 0], 6, 4096336452);
    j = p(j, f, g, h, l[a + 7], 10, 1126891415);
    h = p(h, j, f, g, l[a + 14], 15, 2878612391);
    g = p(g, h, j, f, l[a + 5], 21, 4237533241);
    f = p(f, g, h, j, l[a + 12], 6, 1700485571);
    j = p(j, f, g, h, l[a + 3], 10, 2399980690);
    h = p(h, j, f, g, l[a + 10], 15, 4293915773);
    g = p(g, h, j, f, l[a + 1], 21, 2240044497);
    f = p(f, g, h, j, l[a + 8], 6, 1873313359);
    j = p(j, f, g, h, l[a + 15], 10, 4264355552);
    h = p(h, j, f, g, l[a + 6], 15, 2734768916);
    g = p(g, h, j, f, l[a + 13], 21, 1309151649);
    f = p(f, g, h, j, l[a + 4], 6, 4149444226);
    j = p(j, f, g, h, l[a + 11], 10, 3174756917);
    h = p(h, j, f, g, l[a + 2], 15, 718787259);
    g = p(g, h, j, f, l[a + 9], 21, 3951481745);
    f = b(f, B);
    g = b(g, D);
    h = b(h, E);
    j = b(j, F)
  }return(r(f) + r(g) + r(h) + r(j)).toLowerCase()
};
// Input 10
(function(a) {
  a.fn.superfish = function(b) {
    var d = a.fn.superfish, e = d.c, o = a(['<span class="', e.arrowClass, '"> &#187;</span>'].join("")), v = function() {
      var p = a(this), s = w(p);
      clearTimeout(s.sfTimer);
      p.showSuperfishUl().siblings().hideSuperfishUl()
    }, q = function() {
      var p = a(this), s = w(p), r = d.op;
      clearTimeout(s.sfTimer);
      s.sfTimer = setTimeout(function() {
        r.retainPath = a.inArray(p[0], r.$path) > -1;
        p.hideSuperfishUl();
        r.$path.length && p.parents(["li.", r.hoverClass].join("")).length < 1 && v.call(r.$path)
      }, r.delay)
    }, w = function(p) {
      p = p.parents(["ul.", e.menuClass, ":first"].join(""))[0];
      d.op = d.o[p.serial];
      return p
    }, x = function(p) {
      p.addClass(e.anchorClass).append(o.clone())
    };
    return this.each(function() {
      var p = this.serial = d.o.length, s = a.extend({}, d.defaults, b);
      s.$path = a("li." + s.pathClass, this).slice(0, s.pathLevels).each(function() {
        a(this).addClass([s.hoverClass, e.bcClass].join(" ")).filter("li:has(ul)").removeClass(s.pathClass)
      });
      d.o[p] = d.op = s;
      a("li:has(ul)", this)[a.fn.hoverIntent && !s.disableHI ? "hoverIntent" : "hover"](v, q).each(function() {
        s.autoArrows && x(a(">a:first-child", this))
      }).not("." + e.bcClass).hideSuperfishUl();
      var r = a("a", this);
      r.each(function(C) {
        var l = r.eq(C).parents("li");
        r.eq(C).focus(function() {
          v.call(l)
        }).blur(function() {
          q.call(l)
        })
      });
      s.onInit.call(this)
    }).each(function() {
      var p = [e.menuClass];
      d.op.dropShadows && !(a.browser.msie && a.browser.version < 7) && p.push(e.shadowClass);
      a(this).addClass(p.join(" "))
    })
  };
  var k = a.fn.superfish;
  k.o = [];
  k.op = {};
  k.IE7fix = function() {
    var b = k.op;
    a.browser.msie && a.browser.version > 6 && b.dropShadows && b.animation.opacity != undefined && this.toggleClass(k.c.shadowClass + "-off")
  };
  k.c = {bcClass:"sf-breadcrumb", menuClass:"sf-js-enabled", anchorClass:"sf-with-ul", arrowClass:"sf-sub-indicator", shadowClass:"sf-shadow"};
  k.defaults = {hoverClass:"sfHover", pathClass:"overideThisToUse", pathLevels:1, delay:200, animation:{height:'show'}, speed:"normal", autoArrows:true, dropShadows:true, disableHI:false, onInit:function() {
  }, onBeforeShow:function() {
  }, onShow:function() {
  }, onHide:function() {
  }};
  a.fn.extend({hideSuperfishUl:function() {
    var b = k.op, d = b.retainPath === true ? b.$path : "";
    b.retainPath = false;
    d = a(["li.", b.hoverClass].join(""), this).add(this).not(d).removeClass(b.hoverClass).find(">ul").hide().css("visibility", "hidden");
    b.onHide.call(d);
    return this
  }, showSuperfishUl:function() {
    var b = k.op, d = this.addClass(b.hoverClass).find(">ul:hidden").css("visibility", "visible");
    k.IE7fix.call(d);
    b.onBeforeShow.call(d);
    d.animate(b.animation, b.speed, function() {
      k.IE7fix.call(d);
      b.onShow.call(d)
    });
    return this
  }})
})(jQuery);
// Input 11
(function(a) {
  a.fn.hoverIntent = function(k, b) {
    var d = {sensitivity:7, interval:100, timeout:0};
    d = a.extend(d, b ? {over:k, out:b} : k);
    var e, o, v, q, w = function(s) {
      e = s.pageX;
      o = s.pageY
    }, x = function(s, r) {
      r.hoverIntent_t = clearTimeout(r.hoverIntent_t);
      if(Math.abs(v - e) + Math.abs(q - o) < d.sensitivity) {
        a(r).unbind("mousemove", w);
        r.hoverIntent_s = 1;
        return d.over.apply(r, [s])
      }else {
        v = e;
        q = o;
        r.hoverIntent_t = setTimeout(function() {
          x(s, r)
        }, d.interval)
      }
    }, p = function(s, r) {
      r.hoverIntent_t = clearTimeout(r.hoverIntent_t);
      r.hoverIntent_s = 0;
      return d.out.apply(r, [s])
    };
    k = function(s) {
      for(var r = (s.type == "mouseover" ? s.fromElement : s.toElement) || s.relatedTarget;r && r != this;)try {
        r = r.parentNode
      }catch(C) {
        r = this
      }if(r == this)return false;
      var l = jQuery.extend({}, s), B = this;
      if(B.hoverIntent_t)B.hoverIntent_t = clearTimeout(B.hoverIntent_t);
      if(s.type == "mouseover") {
        v = l.pageX;
        q = l.pageY;
        a(B).bind("mousemove", w);
        if(B.hoverIntent_s != 1)B.hoverIntent_t = setTimeout(function() {
          x(l, B)
        }, d.interval)
      }else {
        a(B).unbind("mousemove", w);
        if(B.hoverIntent_s == 1)B.hoverIntent_t = setTimeout(function() {
          p(l, B)
        }, d.timeout)
      }
    };
    return this.mouseover(k).mouseout(k)
  }
})(jQuery);