!function(a){a.fn.extend({showLoading:function(n){var o=a.extend({type:"square",blurContent:!1,showBg:!0},n);return this.each(function(){var n=a(this);n.$background=null,n.data("loadingBg"),n.$background=n.data("loadingBg"),null!=n.$background&&0!=jQuery(">.loading-popup-overlay",n).length||(o.showBg?n.append("
"):n.append(" "),n.$background=jQuery(">.loading-popup-overlay",n)),"line"==o.type?n.$background.addClass("loading-popup-line"):n.$background.removeClass("loading-popup-line"),n.data("loadingBg",n.$background),o.blurContent&&n.css("opacity",.7),"BODY"==n.prop("tagName").toUpperCase()?n.$background.css({position:"fixed"}):("absolute"!=n.css("position")&&"fixed"!=n.css("position")&&n.css("position","relative"),n.$background.css({position:"absolute"}),n.$background.addClass("loader-local")),o.showBg&&jQuery(n.$background,"#loading-popup-overlay").css({backgroundColor:"transparent"}),n.$background.show()})}})}(jQuery),function(o){o.fn.extend({hideLoading:function(n){return this.each(function(){var n=o(this);n.$background=null,n.css("opacity",1),n.data("loadingBg"),n.$background=n.data("loadingBg"),null!=n.$background&&n.$background.hide()})}})}(jQuery);var loading={show:function(n){$("BODY").showLoading()},hide:function(n){$("BODY").hideLoading()}};jQuery(document).ready(function(){load=new Image,load.src="/resources/img/V4/loading.gif"});