/*! jQuery Responsive 1.8.13 */
for(var minWidth=0,tabletDevices="iPad|iPad.*Mobile,^.*Android.*Nexus(((?:(?!Mobile))|(?:(s(7|10).+))).)*$,SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-I9205|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237P|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T,Kindle|Silk.*Accelerated|Android.*\b(KFTT|KFOTE)\b,Windows NT [0-9.]+; ARM;,HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200,xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617,Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b,Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO,\bL-06C|LG-V900|LG-V909\b,^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL,IdeaTab|S2110|S6000|K3011|A3000|A1000|A2107|A2109|A1107,Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB,Android.*ARCHOS|\b101G9\b|\b80G9\b,Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612,Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT,MediaPad|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim,TOUCHPAD.*[78910]|\bTOUCHTAB\b,Android.*\b97D\b|Tablet(?!.*PC)|ViewPad7|BNTV250A|MID-WCDMA|LogicPD Zoom2|\bA7EB\b|CatNova8|A1_07|CT704|CT1002|\bM721\b|hp-tablet|rk30sdk|tf300t".split(","),
is_tablet=!1,a=navigator.userAgent,i=0;i<tabletDevices.length;i++)if(patt=new RegExp(tabletDevices[i],"i"),patt.test(a)){is_tablet=!0;break}function openmenu(b){$(b).parent().toggleClass("active");content_h()}function content_h(){var b=$(window).height(),Q=$("#ms_sitemap").height();$("#i_page_body").css("min-height",Math.max(Q,b))}
(function(b){function Q(c,d,e){b.get((1==d?"":"../")+"ezg_data/menu.php?id="+c+"&root="+d+'&lang="'+e+'"',function(d){d=decodeURIComponent(d);F.html(d).hide();b(".id_"+c).addClass("active").parents("li:first").addClass("active");0<e&&(b(".ms_lsitemap").not("#lang_"+e).hide().next().hide(),b(".level0").hide())})}function Y(b,d,e,h){h?(F.hide(),n.css("display","none")):(content_h(),Q(b,d,e),""===menu_text||""!==n.text()&&""===n.prop("title")||(l?n.prop("title",menu_text):n.text(menu_text).addClass("i_btext")),
n.click(function(){0==M==1?(F.slideDown("slow"),content_h(),M=1):(F.slideUp("slow"),M=0);return!1}))}function z(b){return b.length?b:!1}function ia(){b("#art-main").length?p=b("#art-main"):b("#container").length?p=b("#container"):b("#sheet").length?p=b("#sheet"):b("#main").length?p=b("#main"):b("#xm1").length&&(p=b("#xm1"));if(q=b("#search").length?b("#search"):b(".art-search").length?b(".art-search"):!1)if(l=q.is("form")?q:1==q.find("form").length?q.find("form"):!1)R=l.find("#search_box").length?
l.find("#search_box"):l.find('input[type="text"]'),J=l.find("#search_button").length?l.find("#search_button"):l.find(".art-search-button"),J=l.find(".srch_btn_wrap").length?l.find(".srch_btn_wrap"):J;A=z(b(".art-header"));t=z(b("#sitename1"));u=z(b("#sitename2"));w=z(b(".art-headline"));x=z(b(".art-header-inner"));v=z(b(".art-shapes"));K=z(b("#menubar"));N=z(b("#sidebar"));O=b("body");G=b("#xm2").length&&b("#xm2").children().length?b("#xm2"):b("#xm1");if(b("#art-main").length)S=!0,f=b(".mmenu").closest("ul"),
b(".smenu").length&&(D=b(b(".smenu").parents("div.art-layout-cell")[0]),D.length&&D.find(".mmenu").length&&(D=void 0)),k=f.closest("header"),0==k.length&&(k=f.closest("nav"),0==k.length&&(k=f.closest("div")));else if(b(".mmenu").length){f=b("#mmenu").length?b("#mmenu"):b(".mmenu").closest("div");var c=f.parents("div, nav");b.each(c,function(c,e){void 0==p||b(e).is(p)||"none"===b(e).getStyleObject().backgroundImage||(k=b(e))});void 0==k&&(k=b(c[0]))}else void 0!=p&&(b('<div class="topbar_z"><div class="mmenu_z"></div></div>').insertBefore(p),
f=b(".mmenu_z"),k=b(".topbar_z"))}function ja(){dpr=void 0!==window.devicePixelRatio?window.devicePixelRatio:1;var b=0<window.innerWidth?window.innerWidth:screen.width;640<b&&1<dpr&&(b/=dpr);return b}function H(b,d){return b.length&&b.prev().is(d[0])||b.next().is(d[1])||b.parent().is(d[2])}function Z(){var c=ja();640>=c||L>c?(b("html").addClass("resp"),b(".loader_page").hide(),aa(ba,c,"img_resp"),ka(c),aa(ca,c,"elem_resp"),S?(p.addClass("resp_contArt"),O.addClass("resp_bodyArt"),void 0!=D&&D.length&&
D.addClass("eima_display"),A&&!y(A,f)&&H(f,P)&&f.insertBefore(A),b.each(I,function(b,e){if(0==b){var h="";if(!(0>=c)){var g=e.w/c;1<g&&(g=e.h/g-10,e.h>g&&(h=g+"px"))}max_height=h;cover=""!=max_height?"cover":"";e.t_el.is(A)?"none"==e.t_el.css("background-image")?A.addClass("resp_art-header"):e.t_el.css({"max-height":max_height,"background-size":cover}).addClass("resp_art-header2"):(e.t_el.addClass("resp_art-object"),"none"!==e.t_el.css("background-image")&&e.t_el.css({"max-height":max_height,"background-size":cover}).addClass("resp_art-header2"))}else e.t_el.addClass("art_bgnone")})):
(k.addClass("resp_mmenu"),p.addClass("resp_cont"),H(f,P)&&f.insertBefore(G)),void 0==n?(l?(l.append(b('<div class="i_container"><div class="i_menu_icon"><span id="i_button"></span><div id="i_menu"></div></div><div class="i_menu_search"></div><div class="i_menu_submit"></div></div>')),q.wrap('<div class="i_menu_wrap" />'),b(".i_menu_wrap").insertAfter(f)):(b('<div class="i_container"><div class="i_menu_icon"><span id="i_button"></span><div id="i_menu"></div></div><div class="i_menu_search"></div><div class="i_menu_submit"></div></div>').insertAfter(f),
b(".i_container").wrap('<div class="i_menu_wrap"/>')),n=b("#i_button"),r=b(".i_menu_wrap"),F=b("#i_menu")):n.is(":visible")||""!=r.html()||(l?q.appendTo(b(".i_menu_wrap")):b(".i_container").appendTo(b(".i_menu_wrap"))),l&&(""==b(".i_menu_search").html()&&R.appendTo(b(".i_menu_search")),""==b(".i_menu_submit").html()&&J.appendTo(b(".i_menu_submit"))),0==b(".i_sitename_wrap").length&&(t||u)&&b('<div class="i_sitename_wrap"></div>').insertBefore(r),t&&H(t,T)&&t.prependTo(b(".i_sitename_wrap")).addClass("resp_sitename"),
u&&H(u,U)&&u.appendTo(b(".i_sitename_wrap")).addClass("resp_sitename"),w&&H(w,V)&&w.insertBefore(r).addClass("resp_sitename"),!x||y(x,r)||x.prev().is(r)||x.insertBefore(r),!v||y(v,r)||v.next().is(r)||v.insertAfter(r),0<m.length&&(1<m.length?b.each(m,function(b,c){c.t_el.addClass("eima_display")}):H(m[0].t_el,W)&&m[0].t_el.insertAfter(r)),0<b(".a_body.rvps1").length?(b(".a_body.rvps1").hasClass("small")||(b(".a_body.rvps1").addClass("small"),b(".ca_nav_icon.ca_toggle").removeClass("icon_left").addClass("icon_right")),
O.addClass("resp_body_pad")):O.removeClass("resp_body_pad"),N&&!N.is(k)&&N.addClass("resp_sidebar"),f.addClass("resp_hide"),0==M&&F.hide(),!K||K.is(k)||y(K,n)||K.addClass("resp_hide"),0==b("#ms_sitemap").length?n.is(":visible")||(n.css({display:"block"}),Y(parseInt(G.attr("data-page")),b.isNumeric(window.rel_path)?window.rel_path:1,b.isNumeric(window.lang)?window.lang:0,!1)):n.css("display","block")):b("html").hasClass("resp")&&(b("html").removeClass("resp"),Y(0,0,"0",!0),B(f,P),1==m.length&&B(m[0].t_el,
W),x&&B(x,da),v&&B(v,ea),w&&(B(w,V),w.removeClass("resp_sitename")),q&&b(".i_menu_search").length&&""!==b(".i_menu_search").html()&&(B(q,fa),R.insertBefore(".i_menu_search"),J.insertBefore(".i_menu_search")),t&&(B(t,T),t.removeClass("resp_sitename")),u&&(B(u,U),u.removeClass("resp_sitename")),b(".i_sitename_wrap").length&&b(".i_sitename_wrap").remove(),b.each(I,function(){this.t_el.css({"max-height":"","background-size":""})}))}function B(b,d){d[0].length&&!b.prev().is(d[0])&&!y(b,d[0])&&y(d[2],d[0])?
b.insertAfter(d[0]):d[1].length&&!b.next().is(d[1])&&!y(b,d[1])&&y(d[2],d[1])?b.insertBefore(d[1]):!d[2].length||b.parent().is(d[2])||y(b,d[2])||b.prependTo(d[2])}function C(b,d){d[0]=b.prev();d[1]=b.next();d[2]=b.parent()}function y(c,d){var e=!1;b.each(c.children(),function(c,g){if(b(g).is(d))return e=!0,!1});return e}function aa(c,d,e){b.each(c,function(b,c){c.w>d?c.t_el.addClass(e):c.t_el.removeClass(e)})}function ga(b){b.length&&b.find("img.cim").length&&b.addClass("resp_hide")}function ka(c){b.each(ha,
function(d,e){noresp_td_row=e.t.hasClass("noresp-table");if(e.t.hasClass("calendar"))e.w>c&&e.t.find("tbody:first").addClass("resp_tbody"),e.tb.children("tbody > tr").children("td").removeClass("resp_td_row");else{e.t.addClass("resp_table");e.tb.addClass("resp_tbody_m");var h=e.tb.children("tbody > tr"),g=h.children("td").addClass("resp_td");e.w>c?(e.t.find("tbody:first").addClass("resp_tbody"),g.hasClass("matix_caption")||h.each(function(){1<b(this).children("td").length&&!noresp_td_row&&b(this).children("td").addClass("resp_td_row")})):
g.removeClass("resp_td_row");(e.t.find(".topic_t")||e.t.find(".topic_b"))&&g.each(function(){if(b(this).hasClass("topic_t")||b(this).hasClass("topic_b"))ga(b(this).prev("td")),ga(b(this).next("td"))})}})}function la(c){var d=[];b.each(c,function(b,c){1.6<=c.tp&&10>c.tp&&d.push({t_el:c.t_el,w:c.w,h:c.h,tp:c.tp,indx:b})});if(0<d.length){d.sort(X("w"));var e=c[0],h=parseInt(d.length/2);c[0]=d[h];c[d[h].indx]=e}}function ma(b){return function(d,e){return d[b]<e[b]?1:d[b]>e[b]?-1:0}}function X(){var b=
arguments;return function(d,e){for(var h=0,g=0,f=b.length;0===g&&h<f;)g=ma(b[h])(d,e),h++;return g}}function E(c,d){var e=c.is("img")?c:b(c.find("img")[0]),h=0,g=0;if(0==e.length||S)if(e=c.css("background-image"),"undefined"!=e||"none"!=e){var f=[];b.each(e.split("url"),function(b,d){if(""!=d){var c=new Image;c.src=d.replace(/\(["']?/,"").replace(/["']?\),?/,"");f.push({w:c.width,h:c.height})}});0<f.length&&(1<f.length?f.sort(X("h")):f.sort(X("w")),h=f[0].w,g=f[0].h)}else h=c.width(),g=c.height();
else h=e.width(),g=e.height();0<h&&0<g&&d.push({t_el:c,w:h,h:g,tp:h/g})}var M=0,p,f,K,O,n,F,r,k,N,G,D,L,q,R,J,l=!1,A,t,u,w,x,v,S=!1,P=[],fa=[],T=[],U=[],W=[],ba=[],ha=[],ca=[],da=[],ea=[],I=[],V=[],m=[];(function(b){b.fn.getStyleObject=function(){var b=this.get(0),c={};if(window.getComputedStyle){for(var f=function(b,c){return c.toUpperCase()},b=window.getComputedStyle(b,null),g=0,l=b.length;g<l;g++){var k=b[g],m=k.replace(/\-([a-z])/g,f),k=b.getPropertyValue(k);c[m]=k}return c}if(b=b.currentStyle){for(k in b)c[k]=
b[k];return c}return this.css()}})(jQuery);b(document).ready(function(){if(is_tablet){var c=980;0<minWidth&&2E3>minWidth&&minWidth>c&&(c=minWidth);b("head").append('<meta name="viewport" content="width='+c+',maximum-scale=1.0">')}else b("head").append('<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1,  maximum-scale=2">'),c=b("#xm2").length&&b("#xm2").children().length?"#xm2":"#xm1",b(c+", .art-footer, #footer").find("table tbody").each(function(){var c=b(this).parents("div.post_content");
(c.length&&0==c.find("textarea.mceEditor").length||0==c.length)&&ha.push({t:b(this).parent("table"),tb:b(this),w:b(this).children("tbody > tr:first").width()})}),b(c+" div").each(function(){ca.push({t_el:b(this),w:b(this).outerWidth()})})});b(window).load(function(){if(!is_tablet){b(".loader_page").fadeOut("slow");ia();var c;c=void 0==p||0==p.length||void 0==f||0==f.length||void 0==G||0==G.length||void 0==k||0==k.length?!1:!0;if(c){L=G.outerWidth()+20;1E3<L&&(L=1E3);0<minWidth&&(L=minWidth);C(f,P);
u&&C(u,U);t&&C(t,T);q&&C(q,fa);x&&C(x,da);v&&(C(v,ea),b.each(v.find("div"),function(){E(b(this),I)}));w&&C(w,V);c=b("#banner");var d=b("#eima"),e=b("#eima1"),h=b("#eima2"),g=b("#eima3");(c.length&&c.find("img").length||c.is("img"))&&E(c,m);(d.length&&d.find("img").length||d.is("img"))&&E(d,m);(e.length&&e.find("img").length||e.is("img"))&&E(e,m);(h.length&&h.find("img").length||h.is("img"))&&E(h,m);(g.length&&g.find("img").length||g.is("img"))&&E(g,m);1==m.length&&C(m[0].t_el,W);A&&E(A,I);1<I.length&&
la(I);b("html img").each(function(){if(b(this).length){var c=new Image;c.src=b(this).prop("src");ba.push({t_el:b(this),w:c.naturalWidth})}});Z();b(window).on("resize",Z)}else b(".loader_page").hide()}})})(jQuery);