/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */ jQuery(function(t){t("select.auto-submit").bind("change",function(){t('form[name="adminForm"]').submit()});var e={};t.matchHeight=t.matchHeight||function(i,n,h){function r(){s.match()}var a=t(window),o="resize orientationchange",s=i&&e[i];return s||(s=e[i]={id:i,elements:n,deepest:h,match:function(){var e=this.revert(),i=0;t(this.elements).each(function(){i=Math.max(i,t(this).outerHeight())}).each(function(n){var h="outerHeight";"border-box"==e[n].css("box-sizing")&&(h="height");var r=t(this),a=e[n],o=a.height()+(i-r[h]());a.css("min-height",o+"px")})},revert:function(){var e=[],i=this.deepest;return t(this.elements).each(function(n){var h=i?t(this).find(i+":first"):t(this);e.push(h.css("min-height",""))}),e},remove:function(){a.unbind(o,r),this.revert(),delete e[this.id]}},a.bind(o,r)),s};var i=[];t.onMediaQuery("(min-width: 480px) and (max-width: 959px)",{valid:function(){i=[],t.each([".categories .row > .width25",".categories .row > .width20",".categories > .width25",".categories > .width20",".subcategories > .width25",".subcategories > .width20",".items .row > .width25",".items .row > .width20"],function(e,n){for(var e=0,h=t(n),r=parseInt(h.length/2);e