//Droppy 0.1.2
$.fn.droppy=function(options){options=$.extend({speed:250},options||{});this.each(function(){var root=this,zIndex=1000;function getSubnav(ele){if(ele.nodeName.toLowerCase()=='li'){var subnav=$('> ul',ele);return subnav.length?subnav[0]:null}else{return ele}}function getActuator(ele){if(ele.nodeName.toLowerCase()=='ul'){return $(ele).parents('li')[0]}else{return ele}}function hide(){var subnav=getSubnav(this);if(!subnav)return;$.data(subnav,'cancelHide',false);setTimeout(function(){if(!$.data(subnav,'cancelHide')){$(subnav).slideUp(options.speed)}},500)}function show(){var subnav=getSubnav(this);if(!subnav)return;$.data(subnav,'cancelHide',true);$(subnav).css({zIndex:zIndex++}).slideDown(options.speed);if(this.nodeName.toLowerCase()=='ul'){var li=getActuator(this);$(li).addClass('hover');$('> a',li).addClass('hover')}}$('ul, li',this).hover(show,hide);$('li',this).hover(function(){$(this).addClass('hover');$('> a',this).addClass('hover')},function(){$(this).removeClass('hover');$('> a',this).removeClass('hover')})})};
// jQuery hashchange event - v1.3 
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);
// ColorBox
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(5($){G v=\'v\',11=\'11\',r=2B,b=3v,8,1a=!$.3w.1k,1B=1a&&!o.3x,20=\'20\',1b=\'1b\',1l=\'1l\',1m=\'1m\',1C=\'1C\',1n=\'B.1n\',$U,$l,$V,$C,$1D,$1E,$1F,$1G,$g,$o,$t,$1o,$1p,$1q,$H,$W,$z,$m,$D,$I,12,13,X,Y,k,1H,n,3,O,1c,21={1I:"3y",P:3z,c:b,6:b,22:b,23:b,2C:"2D",2E:"2D",24:b,25:b,2F:r,1J:r,2G:b,Q:b,1r:b,1K:b,q:b,H:b,R:b,1k:0.9,2H:r,W:"3A {W} 3B {2I}",26:"26",m:"m",I:"I",O:b,2J:r,z:b,2K:r,28:3C,2L:"1L z",2M:"1d z",29:b,2a:b,1M:b,2b:b,2c:b};5 S(1e,1N){1N=1N===\'x\'?$o.c():$o.6();A(2N 1e===\'3D\')?1O.3E((1e.2O(/%/)?(1N/2P)*2Q(1e,10):2Q(1e,10))):1e}5 1P(1f){1f=$.2R(1f)?1f.14(k):1f;A 3.1K||1f.2O(/\\.(3F|3G|3H|3I|3J)(?:\\?([^#]*))?(?:#(\\.*))?$/i)}5 2d(){3K(G i 3L 3){4($.2R(3[i])&&i.3M(0,2)!==\'1Q\'){3[i]=3[i].14(k)}}3.R=3.R||k.R;3.q=3.q||k.q;3.H=3.H||k.H}5 2e(2S){k=2S;3=$(k).E(v);2d();4(3.R&&3.R!==\'3N\'){$g=$(\'.2f\').1R(5(){G 2T=$(d).E(v).R||d.R;A(2T===3.R)});n=$g.n(k);4(n<0){$g=$g.1s(k);n=$g.F-1}}L{$g=$(k);n=0}4(!O){O=r;1c=r;1H=k;1H.3O();$(2g).T("1S.2U",5(e){4(e.2h===27){e.2i();8.I()}}).T("1S.2V",5(e){4($g.F>1){4(e.2h===37){e.2i();$D.M()}L 4(e.2h===39){e.2i();$m.M()}}});4(3.2J){$U.u({"2j":"2W"}).1T(\'M\',8.I)}$.1t.1g(20);4(3.29){3.29.14(k)}$U.u({"1k":3.1k}).N();3.w=S(3.2C,\'x\');3.h=S(3.2E,\'y\');8.15(0);4(1B){$o.T(\'B.1u 2k.1u\',5(){$U.u({c:$o.c(),6:$o.6(),2l:$o.2X(),1v:$o.2Y()})}).1g("2k.1u")}}$W.1s($D).1s($m).1s($z).1s($H).16();$I.Q(3.I).N();8.z();8.1w()}8=$.3P.v=5(1h,2m){G $d=d;4(!$d.F){4($d.3Q===\'\'){$d=$(\'<a/>\');1h.O=r}L{A d}}$d.3R(5(){1h.H=$(d).3S(\'f\').1U(\'H\');G E=$.3T({},$(d).E(v)?$(d).E(v):21,1h);$(d).E(v,E).1x("2f");4(2m){$(d).E(v).1M=2m}});4(1h&&1h.O){2e($d)}A d};8.2Z=5(){5 $7(Z){A $(\'<7 Z="l\'+Z+\'"/>\')}$o=$(o);$l=$(\'<7 Z="v"/>\');$U=$7("3U").16();$V=$7("3V");$C=$7("3W").17($t=$7("3X").u({c:0,6:0}),$1p=$7("3Y"),$1q=$7("3Z"),$H=$7("40"),$W=$7("41"),$z=$7("42"),$m=$7("43"),$D=$7("44"),$I=$7("45"));$V.17($(\'<7/>\').17($7("46"),$1D=$7("47"),$7("48")),$(\'<7/>\').17($1E=$7("49"),$C,$1F=$7("4a")),$(\'<7/>\').17($7("4b"),$1G=$7("4c"),$7("4d"))).18().18().u({\'4e\':\'1v\'});$1o=$("<7 j=\'15:30; 2l:0; 1v:0; c:31; 6:0;\'/>");$(\'4f\').4g($U,$l.17($V,$1o));4(1B){$l.1x(\'4h\');$U.u(\'15\',\'30\')}$C.18().T(\'4i 4j\',5(){$(d).4k(11)}).1x(11);12=$1D.6()+$1G.6()+$C.32(r)-$C.6();13=$1E.c()+$1F.c()+$C.33(r)-$C.c();X=$t.32(r);Y=$t.33(r);$l.u({"34-4l":12,"34-4m":13}).16();$m.M(8.m);$D.M(8.D);$I.M(8.I);$C.18().1i(11);$(\'.2f\').4n(\'M\',5(e){4(e.35!==0&&2N e.35!==\'4o\'){A r}L{2e(d);A b}})};8.15=5(P,2n){G 2o,36=$o.6(),38=1O.2p(36-3.h-X-12,0)/2+$o.2X(),3a=1O.2p(2g.4p.4q-3.w-Y-13,0)/2+$o.2Y();2o=($l.c()===3.w+Y&&$l.6()===3.h+X)?0:P;$V[0].j.c=$V[0].j.6="31";5 2q(2r){$1D[0].j.c=$1G[0].j.c=$C[0].j.c=2r.j.c;$1q[0].j.6=$1p[0].j.6=$C[0].j.6=$1E[0].j.6=$1F[0].j.6=2r.j.6}$l.4r().4s({c:3.w+Y,6:3.h+X,2l:38,1v:3a},{4t:2o,4u:5(){2q(d);1c=b;$V[0].j.c=(3.w+Y+13)+"2s";$V[0].j.6=(3.h+X+12)+"2s";4(2n){2n()}},4v:5(){2q(d)}})};8.B=5(2t){4(!O){A}G 4w,D,1V,m,1W,1K,3b,P=3.1I==="2u"?0:3.P;$o.1y(1n);4(!2t){3b=2v(5(){G $1X=$t.4x("<7 j=\'3c:1Y\'></7>").18();3.h=$1X.6();$t.u({6:3.h});$1X.3d($1X.18());8.15(P)},1);A}$t.3e();$t=$(\'<7 Z="4y"/>\').Q(2t);5 3f(){3.w=3.w||$t.c();3.w=3.J&&3.J<3.w?3.J:3.w;A 3.w}5 3g(){3.h=3.h||$t.6();3.h=3.K&&3.K<3.h?3.K:3.h;A 3.h}$t.16().3h($1o).u({c:3f(),3c:3.1J?\'1Y\':\'2w\'}).u({6:3g()}).4z($C);$(\'#3i\').u({3j:\'2u\'});4(1B){$(\'3k:4A(#v 3k)\').1R(5(){A d.j.2x!==\'2w\'}).u({\'2x\':\'2w\'}).1T(1m,5(){d.j.2x=\'4B\'})}5 2y(s){8.15(s,5(){4(!O){A}4(1a){4(1K){$t.4C(2P)}$l[0].j.3l("1R")}4(3.1r){$t.17("<1r Z=\'4D\'"+(3.1J?" ":"1J=\'4E\'")+" 4F=\'4G"+3m 4H().4I()+"\' 4J=0 1z=\'"+3.q+"\' "+(1a?"4K=\'2B\'":\'\')+" />")}$t.N();$H.N().Q(3.H);4($g.F>1){$W.Q(3.W.3n(/\\{W\\}/,n+1).3n(/\\{2I\\}/,$g.F)).N();$m.Q(3.m).N();$D.Q(3.26).N();4(3.z){$z.N()}}$1p.16();$1q.16();$.1t.1g(1l);4(3.1M){3.1M.14(k)}4(3.1I===\'3o\'){$l.3p(P,1,5(){4(1a){$l[0].j.3l("1R")}})}$o.T(1n,5(){8.15(0)})})}4((3.1I===\'3o\'&&$l.3p(P,0,5(){2y(0)}))||2y(P)){}4(3.2H&&$g.F>1){D=n>0?$g[n-1]:$g[$g.F-1];m=n<$g.F-1?$g[n+1]:$g[0];1W=$(m).E(v).q||m.q;1V=$(D).E(v).q||D.q;4(1P(1W)){$(\'<f />\').1U(\'1z\',1W)}4(1P(1V)){$(\'<f />\').1U(\'1z\',1V)}}};8.1w=5(){G q,f,1Z,B=8.B;1c=r;k=$g[n];3=$(k).E(v);2d();$.1t.1g(1b);4(3.2a){3.2a.14(k)}3.h=3.6?S(3.6,\'y\')-X-12:3.23?S(3.23,\'y\'):b;3.w=3.c?S(3.c,\'x\')-Y-13:3.22?S(3.22,\'x\'):b;3.J=3.w;3.K=3.h;4(3.24){3.J=S(3.24,\'x\')-Y-13;3.J=3.w&&3.w<3.J?3.w:3.J}4(3.25){3.K=S(3.25,\'y\')-X-12;3.K=3.h&&3.h<3.K?3.h:3.K}q=3.q;$1p.N();$1q.N();4(3.2G){$(\'<7 Z="4L" />\').16().4M($(q)[0]).T(1b+\' \'+1m,5(){$(d).3d($t.18())});B($(q))}L 4(3.1r){B(" ")}L 4(3.Q){B(3.Q)}L 4(1P(q)){f=3m 4N();f.3q=5(){G 1A;f.3q=4O;f.Z=\'3i\';$(f).u({4P:\'1Y\',4Q:\'2u\',4R:\'4S\',3j:\'1v\'});4(3.2F){1Z=5(){f.6-=f.6*1A;f.c-=f.c*1A};4(3.J&&f.c>3.J){1A=(f.c-3.J)/f.c;1Z()}4(3.K&&f.6>3.K){1A=(f.6-3.K)/f.6;1Z()}}4(3.h){f.j.4T=1O.2p(3.h-f.6,0)/2+\'2s\'}B(f);4($g.F>1){$(f).u({2j:\'2W\'}).M(8.m)}4(1a){f.j.4U=\'4V\'}};f.1z=q}L{$(\'<7 />\').3h($1o).1w(q,5(E,3r){4(3r==="4W"){B(d)}L{B($("<p>4X 4Y.</p>"))}})}};8.m=5(){4(!1c){n=n<$g.F-1?n+1:0;8.1w()}};8.D=5(){4(!1c){n=n>0?n-1:$g.F-1;8.1w()}};8.z=5(){G 1d,1j,19=\'4Z\';$z.T(1C,5(){$z.1y();2z(1j);$l.1i(19+"2A"+" "+19+"1Q")});5 1L(){$z.3s(3.2M).T(1l,5(){1j=2v(8.m,3.28)}).T(1b,5(){2z(1j)}).1T("M",5(){1d();$(d).1i(11)});$l.1i(19+"2A").1x(19+"1Q")}1d=5(){2z(1j);$z.3s(3.2L).1y(1l+\' \'+1b).1T("M",5(){1L();1j=2v(8.m,3.28);$(d).1i(11)});$l.1i(19+"1Q").1x(19+"2A")};4(3.z&&$g.F>1){4(3.2K){1L()}L{1d()}}};8.I=5(){$.1t.1g(1m);4(3.2b){3.2b.14(k)}O=b;$(2g).1y("1S.2U 1S.2V");$o.1y(1n+\' B.1u 2k.1u\');$U.u({2j:\'1Y\'}).3t(\'3u\');$l.1d(r,b).3t(\'3u\',5(){$(\'#v 1r\').1U(\'1z\',\'50:51\');$t.3e();$l.u({\'1k\':1});52{1H.53()}54(55){}$.1t.1g(1C);4(3.2c){3.2c.14(k)}})};8.k=5(){A $(k)};8.3=21;$(8.2Z)}(56));',62,317,'|||settings|if|function|height|div|cboxPublic|||FALSE|width|this||img|related|||style|element|cbox|next|index|window||href|TRUE||loaded|css|colorbox||||slideshow|return|resize|content|prev|data|length|var|title|close|mw|mh|else|click|show|open|speed|html|rel|setSize|bind|overlay|wrap|current|loadedHeight|loadedWidth|id||hover|interfaceHeight|interfaceWidth|call|position|hide|append|children|className|isIE|cbox_load|active|stop|size|url|trigger|options|removeClass|timeOut|opacity|cbox_complete|cbox_cleanup|cbox_resize|loadingBay|loadingOverlay|loadingGraphic|iframe|add|event|cboxie6|left|load|addClass|unbind|src|percent|isIE6|cbox_closed|topBorder|leftBorder|rightBorder|bottomBorder|bookmark|transition|scrolling|photo|start|onComplete|dimension|Math|isImage|on|filter|keydown|one|attr|prevSrc|nextSrc|child|auto|setResize|cbox_open|defaults|innerWidth|innerHeight|maxWidth|maxHeight|previous||slideshowSpeed|onOpen|onLoad|onCleanup|onClosed|process|launch|cboxElement|document|keyCode|preventDefault|cursor|scroll|top|callback|loadedCallback|animate_speed|max|modalDimensions|that|px|object|none|setTimeout|hidden|visibility|setPosition|clearTimeout|off|true|initialWidth|400|initialHeight|scalePhotos|inline|preloading|total|overlayClose|slideshowAuto|slideshowStart|slideshowStop|typeof|match|100|parseInt|isFunction|elem|relRelated|cbox_close|cbox_arrows|pointer|scrollTop|scrollLeft|init|absolute|9999px|outerHeight|outerWidth|padding|button|winHeight||posTop||posLeft|timeout|overflow|replaceWith|remove|getWidth|getHeight|appendTo|cboxPhoto|cssFloat|select|removeAttribute|new|replace|fade|fadeTo|onload|textStatus|text|fadeOut|fast|false|support|XMLHttpRequest|elastic|350|image|of|2500|string|round|gif|png|jpg|jpeg|bmp|for|in|substring|nofollow|blur|fn|selector|each|find|extend|Overlay|Wrapper|Content|LoadedContent|LoadingOverlay|LoadingGraphic|Title|Current|Slideshow|Next|Previous|Close|TopLeft|TopCenter|TopRight|MiddleLeft|MiddleRight|BottomLeft|BottomCenter|BottomRight|float|body|prepend|cboxIE|mouseover|mouseout|toggleClass|bottom|right|live|undefined|documentElement|clientWidth|dequeue|animate|duration|complete|step|topMargin|wrapInner|cboxLoadedContent|prependTo|not|inherit|fadeIn|cboxIframe|no|name|iframe_|Date|getTime|frameborder|allowtransparency|cboxInlineTemp|insertBefore|Image|null|margin|border|display|block|marginTop|msInterpolationMode|bicubic|success|Request|unsuccessful|cboxSlideshow_|about|blank|try|focus|catch|er|jQuery'.split('|'),0,{}))
// DLE Ajax
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('a 2D(){7 z=9.I("1F");6(z!=C){z.h.1G="2E";z.h.O=1H().18+\'1i\'}};a 1H(){7 d=9,w=m,P=d.1I&&d.1I!=\'2F\'?d.s:d.t;7 b=d.t;7 1J=(w.Q&&m.1K)?w.Q+w.1K:1j.1k(b.1L,b.2G),18=(9.1l&&!m.1m)?1j.1k(P.1L,P.D):(d.s.D||8.Q);7 O=(9.1l&&!m.1m)?P.D:8.Q;q{18:1j.1k(18,1J),O:O,J:(9.1l&&!m.1m)?P.J:1n}};a 2H(){7 z=9.I("1F");6(z!=C){z.h.1G="2I";z.h.O="2J"}};a 2K(R){7 19=R.1M;1N((R=R.2L)!=C){19+=R.1M}q 19};a S(){5.1o=\'\';5.o=\'\'};S.1p.1O=a(){K{6(!5.o){q}c{5.o.h.1q=\'1P\'}}L(e){q}};S.1p.1Q=a(){7 A=0;6(9.s&&9.s.J){A=9.s.J}c 6(9.t&&9.t.J){A=9.t.J}c 6(m.1n){A=m.1n}c 6(m.A){A=m.A}q A};S.1p.1R=a(){K{5.o=9.I(5.1o)}L(e){q}7 T=0;7 U=0;6(1S(m.1T)==\'2M\'){T=m.1T;U=m.Q}c 6(9.s&&(9.s.1a||9.s.D)){T=9.s.1a;U=9.s.D}c 6(9.t&&(9.t.1a||9.t.D)){T=9.t.1a;U=9.t.D}5.o.h.2N=\'2O\';5.o.h.1q=\'2P\';5.o.h.2Q=2R;7 V=1U(5.o.h.2S);7 W=1U(5.o.h.2T);V=V?V:2U;W=W?W:2V;7 1V=5.1Q();7 X=(T-W)/2;7 Y=(U-V)/2+1V;X=(X<0)?0:X;Y=(Y<0)?0:Y;5.o.h.2W=X+"1i";5.o.h.19=Y+"1i"};a 2X(1W){5.1r="2Y 2Z 30.\\n";5.1s=1W;5.Z="1X";5.k="";5.1Y=10;5.1Z=1t;5.1b=1t;5.1c=0;5.E=C;5.20=a(){};5.21=a(){};5.22=a(){};5.23=a(){};5.31=a(1u){6(!5.1c){5.1c=1;6(1u){9.I(\'24-25-27\').11=1u}5.E=B S();5.E.1o=\'24-25\';5.E.1R()}q};5.28=a(){K{6(5.E&&5.E.o){5.E.1O()}}L(e){}5.1c=0;q};5.29=a(){K{5.f=B 2a("32.2b")}L(e){K{5.f=B 2a("33.2b")}L(34){5.f=C}}6(!5.f&&1S 2c!="35")5.f=B 2c();6(!5.f){5.2d=10}};5.2e=a(12,F){6(5.k.u<3){5.k=12+"="+F}c{5.k+="&"+12+"="+F}};5.2f=a(12,F){7 2g=2h(12)+"="+2h(F);q 2g};5.2i=a(2j){13=2j.1d(\'&\');1e(i=0;i<13.u;i++){M=13[i].1d(\'=\');6(M[0].1v(\'36;\')!=-1){M[0]=M[0].2k(4)}13[i]=5.2f(M[0],M[1])}q 13.37(\'&\')};5.38=a(p){p=p.39();p=p.14(/\\+/g,"%2B");p=p.14(/\\=/g,"%3D");p=p.14(/\\?/g,"%3F");p=p.14(/\\&/g,"%26");q p};5.2l=a(){7 15=B 2m;7 1w=1t;15=15.2n();7 1x=/<16.*?>(.|[\\r\\n])*?<\\/16>/2o;7 G=1x.1y(5.l);6(G!=C){7 v=B 2p(G.2q());7 1w=10;1N(G){G=1x.1y(5.l);6(G!=C)v.3a(G.2q())}1e(7 i=0;i<v.u;i++){5.l=5.l.14(v[i],\'<2r 3b="\'+15+i+\'" h="1q:1P;"></2r>\')}}6(5.1b){5.y.11+=5.l}c{5.y.11=5.l}6(1w){7 1z=/<16.*?>((.|[\\r\\n])*?)<\\/16>/2o;1e(i=0;i<v.u;i++){7 1A=9.I(15+\'\'+i);7 1B=1A.3c;1B.3d(1A);1z.3e=0;7 2s=1z.1y(v[i]);7 1C=1B.3f(9.3g(\'16\'));1C.27=2s[1];7 2t=v[i].2k(v[i].1v(\' \',0),v[i].1v(\'>\',0));7 17=2t.1d(\' \');6(17.u>1){1e(7 j=0;j<17.u;j++){6(17[j].u>0){7 N=17[j].1d(\'=\');N[1]=N[1].3h(1,(N[1].u-2));1C.3i(N[0],N[1])}}}}}};5.3j=a(1f){5.1D=B 2p(2);6(5.2d&&5.1r){1E(5.1r)}c{6(1f){6(5.k.u){5.k=5.k+"&"+1f}c{5.k=1f}}6(5.1Y){7 2u=B 2m().2n();5.k=5.2i(5.k);5.2e("3k",2u)}6(5.2v){5.y=9.I(5.2v)}6(5.f){7 8=5;6(5.Z=="3l"){7 2w=5.1s+"?"+5.k;5.f.2x(5.Z,2w,10)}c{5.f.2x(5.Z,5.1s,10)}6(5.Z=="1X"){K{5.f.3m(\'3n-3o\',\'3p/x-3q-3r-3s\')}L(e){}}5.f.3t(5.k);5.f.3u=a(){3v(8.f.3w){1g 1:8.20();1h;1g 2:8.21();1h;1g 3:8.22();1h;1g 4:8.l=8.f.3x;8.2y=8.f.2y;8.1D[0]=8.f.3y;8.1D[1]=8.f.3z;8.28();8.23();6(8.y){7 H=8.y.3A;H=H.3B();6(H=="3C"||H=="3E"||H=="3G"||H=="3H"){6(8.l==\'2z\'){1E(\'2A 2C\')}c{6(8.1b){8.y.F+=8.l}c{8.y.F=8.l}}}c{6(8.l==\'2z\'){1E(\'2A 2C\')}c{6(8.1Z){8.2l()}c{6(8.1b){8.y.11+=8.l}c{8.y.11=8.l}}}}}8.k="";1h}}}}};5.29()};',62,230,'|||||this|if|var|self|document|function||else|||xmlhttp||style|||URLString|response|window||divobj|url|return||documentElement|body|length|js_arr|||elementObj|busyLayer|scrollY|new|null|clientHeight|centerdiv|value|js_str|elemNodeName|getElementById|scrollTop|try|catch|urlVars|param_arr|height|iebody|innerHeight|obj|center_div|my_width|my_height|divheight|divwidth|setX|setY|method|true|innerHTML|name|varArray|replace|milisec|script|params_arr|pageHeight|top|clientWidth|add_html|loading_fired|split|for|urlstring|case|break|px|Math|max|all|opera|pageYOffset|divname|prototype|display|AjaxFailedAlert|requestFile|false|message|indexOf|jsfound|js_reg|exec|js_content_reg|mark_node|mark_parent_node|script_node|responseStatus|alert|busy_layer|visibility|getPageSize|compatMode|yScroll|scrollMaxY|scrollHeight|offsetTop|while|clear_div|none|Ywindow|move_div|typeof|innerWidth|parseInt|scrolly|file|POST|encodeURIString|execute|onLoading|onLoaded|onInteractive|onCompletion|loading|layer||text|onHide|createAJAX|ActiveXObject|XMLHTTP|XMLHttpRequest|failed|setVar|encVar|varString|encodeURIComponent|encodeURLString|string|substring|runResponse|Date|getTime|ig|Array|shift|span|js_content|script_params_str|timeval|element|totalurlstring|open|responseXML|error|Access||denied|showBusyLayer|visible|BackCompat|offsetHeight|hideBusyLayer|hidden|0px|_get_obj_toppos|offsetParent|number|position|absolute|block|zIndex|99|Height|Width|50|200|left|dle_ajax|AJAX|not|supported|onShow|Msxml2|Microsoft|err|undefined|amp|join|encodeVAR|toString|push|id|parentNode|removeChild|lastIndex|appendChild|createElement|substr|setAttribute|sendAJAX|rndval|GET|setRequestHeader|Content|Type|application|www|form|urlencoded|send|onreadystatechange|switch|readyState|responseText|status|statusText|nodeName|toLowerCase|input||select||option|textarea'.split('|'),0,{}))
// DLE JS_EDIT
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('5 K=k M();5 R=k M();5 1s;5 1t;5 1u;5 1v;7 2U(17,1R,1S,1T){5 d=k M();d[0]=\'<a s="2V://2W.2X.2Y/2Z/?1w=\'+17+\'" 18="19">\'+1R+\'</a>\';d[1]=\'<a s="\'+f+W+\'?X=30&1w=\'+17+\'" 18="19">\'+1S+\'</a>\';d[2]=\'<a s="\'+f+W+\'?X=31&1w=\'+17+\'" 18="19">\'+1T+\'</a>\';j d};7 32(e){6(K[e]!=""){8.g(\'Y-9-\'+e).S=K[e]}j l};7 1U(){K[1v]=\'\'};7 33(e,L){5 4=k v();5 1a=0;5 Z=\'\';6(8.g(\'34\'+e).N){1a=1}1v=e;4.w(\'\');6(35=="1"){Z=4.D(1b.1x(\'1V\'+e).1y())}t{Z=4.D(8.g(\'1V\'+e).r)}5 1W=4.D(8.g(\'1c-1X-\'+e).r);5 h="Z="+Z;4.c("9",e);4.c("1a",1a);4.c("1X",1W);4.c("1Y",4.D(8.g(\'1c-1Y-\'+e).r));4.c("1Z",L);4.c("H","20");4.x=f+"u/4/1d.o";4.y=\'1e\';4.z=\'Y-9-\'+e;4.10=1U;4.A(h);j l};7 21(){5 T=8.g(\'Y-9-\'+1u);5 I=1z(T);6(I){1A(0,I-1B)}};7 22(e,L){6(!K[e]||K[e]==\'\'){K[e]=8.g(\'Y-9-\'+e).S}5 4=k v();1u=e;4.w(\'\');5 h="";4.c("9",e);4.c("1Z",L);4.c("H","1c");4.x=f+"u/4/1d.o";4.y=\'O\';4.z=\'Y-9-\'+e;4.1f=J;4.10=21;4.A(h);j l};7 23(){5 T=8.g(\'11-9-\'+1s);5 I=1z(T);6(I){1A(0,I-1B)}};7 36(p){5 d=k M();d[0]=\'<a 12="24(\\\'\'+p+\'\\\'); j l;" s="#">\'+25+\'</a>\';d[1]=\'<a s="\'+f+\'?13=B&H=37&9=\'+p+\'">\'+26+\'</a>\';j d};7 24(m){6(!R[m]||R[m]==\'\'){R[m]=8.g(\'11-9-\'+m).S}5 4=k v();1s=m;4.w(\'\');5 h="";4.c("9",m);4.c("H","1c");4.x=f+"u/4/27.o";4.y=\'O\';4.z=\'11-9-\'+m;4.1f=J;4.10=23;4.A(h);j l};7 38(m){6(K[m]!=""){8.g(\'11-9-\'+m).S=R[m]}j l};7 28(){R[1t]=\'\'}7 39(m){5 4=k v();5 14=\'\';1t=m;4.w(\'\');6(1C=="15"){14=4.D(1b.1x(\'29\'+m).1y())}t{14=4.D(8.g(\'29\'+m).r)}5 h="14="+14;4.c("9",m);4.c("H","20");4.x=f+"u/4/27.o";4.y=\'1e\';4.z=\'11-9-\'+m;4.10=28;4.A(h);j l};7 3a(1g,L){5 4=k v();4.w(\'\');5 h="1g="+1g;4.c("H",L);4.c("1h",1i);4.x=f+"u/4/3b.o";4.y=\'O\';4.z=\'3c-9-\'+1g;4.A(h);j l};7 3d(){5 4=k v();5 E=4.D(8.g(\'E\').r);4.w(\'\');5 h="E="+E;4.x=f+"u/4/2a.o";4.y=\'1e\';4.z=\'3e-2a\';4.A(h);j l};7 3f(1D,1E){5 4=k v();4.w(\'\');5 h="";4.c("1E",1E);4.c("1D",1D);4.x=f+"u/4/2b.o";4.y=\'O\';4.z=\'2b-1F\';4.A(h)};7 3g(2c){16.1G(f+\'u/3h/3i.o?3j=\'+2c,\'\',\'1H=1,3k=2d,3l=2d, 1I=0, 1J=0, 1K=15\')};7 3m(1j,9){5 4=k v();4.w(\'\');5 h="2e="+1j;4.c("e",9);4.c("1h",1i);4.x=f+"u/4/2f.o";4.y=\'O\';4.z=\'2g-1F\';4.A(h)};7 3n(1j,9){5 4=k v();4.w(\'\');5 h="2e="+1j;4.c("e",9);4.c("1h",1i);4.c("3o","3p");4.x=f+"u/4/2f.o";4.y=\'O\';4.z=\'2g-1F-\'+9;4.A(h)};7 3q(){5 C=8.g(\'P-B-C\');5 q=k v();6(1C=="15"){8.g(\'B\').r=1b.1x(\'B\').1y();q.c("3r",\'3s\')}6(C.B.r==\'\'||C.E.r==\'\'){3t(3u);j l}q.w(\'\');5 h="2h="+C.2h.r;q.c("B",q.D(C.B.r));q.c("E",q.D(C.E.r));q.c("2i",q.D(C.2i.r));q.c("1h",1i);6(C.1L){q.c("1L",C.1L.r)}q.x=f+"u/4/3v.o";q.y=\'1e\';q.1f=J;q.z=\'P-4-B\';q.A(h)};7 3w(2j){F=\'\';6(16.2k){F=16.2k()}t 6(8.2l){F=8.2l.3x().1M}6(F!=""){F=\'[2m=\'+2j+\']\'+F+\'[/2m]\\n\'}};7 3y(E){5 1N=8.g(\'P-B-C\').B;5 1k="";6(1C=="3z"){6(F!=""){1N.r+=F}t{1N.r+="[b]"+E+"[/b],"+"\\n"}}t{6(F!=""){1k=F}t{1k="<b>"+E+"</b>,"+"<3A />"}1b.3B(\'B\',\'3C\',l,1k,J)}};7 3D(1O){6(1O!=\'\')2n(1O)};7 2n(9){5 G=2o;6(8.g){G=8.g(9)}t 6(8.2p){G=8.2p[9]}t 6(8.2q){G=8.2q[9]}6(!G){}t 6(G.U){6(G.U.1l=="1P"){G.U.1l=""}t{G.U.1l="1P"}}t{G.2r="3E"}};7 3F(){5 Q=8.3G;3H(5 i=0;i<Q.2s.3I;i++){5 1m=Q.2s[i];6(1m.3J==\'3K\'){6(Q.1n.N==J){1m.N=l}t{1m.N=J}}}6(Q.1n.N==J){Q.1n.N=l}t{Q.1n.N=J}};7 3L(V){5 1o=2t(2u);6(1o)8.1p=V};7 3M(1M){3N(\' \'+1M+\' \',\'\',l);8.g(\'2v\').U.2r="3O";8.g(\'2v\').U.1l="1P";3P=2o};7 2w(){3Q();5 T=8.g(\'P-2x\');5 I=1z(T);6(I){1A(0,I-1B)}};7 3R(h){3S();6(8.g(\'P-2y\').S!=\'\'){8.g(\'P-2y\').S=\'\'}5 4=k v();4.w(\'\');4.x=f+"u/4/3T.o";4.y=\'O\';4.1f=J;4.z=\'P-2x\';4.10=2w;4.A(h)};7 3U(1Q,2z){6(1Q!=2A){3V=2z;2A=1Q}};7 3W(V,p,1q){5 d=k M();d[0]=\'<a \'+V+\' >\'+2B+\'</a>\';d[1]=\'<a s="\'+f+\'1r.o?13=2C&2D=2E&2F=\'+p+\'">\'+2G+\'</a>\';d[2]=\'<a s="\'+f+\'1r.o?13=3X&3Y=\'+p+\'">\'+3Z+\'</a>\';6(1q==\'1\'){d[3]=\'<a 12="16.1G(\\\'\'+f+W+\'?X=2H&H=2I&9=\'+p+\'\\\', \\\'2J\\\',\\\'2K=0,1p=0,2L=0, 1J=0, 1I=0, 2M=0,1K=15,1H=0,2N=2O,2P=2Q\\\'); j l;" s="#">\'+2R+\'</a>\'}j d};7 40(V,2S,p,1q){5 d=k M();d[0]=\'<a \'+V+\' >\'+2B+\'</a>\';d[1]=\'<a \'+2S+\' >\'+41+\'</a>\';d[2]=\'<a s="\'+f+\'1r.o?13=2C&2D=2E&42=\'+p+\'">\'+2G+\'</a>\';6(1q==\'1\'){d[3]=\'<a 12="16.1G(\\\'\'+f+W+\'?X=2H&H=2I&2F=\'+p+\'\\\', \\\'2J\\\',\\\'2K=0,1p=0,2L=0, 1J=0, 1I=0, 2M=0,1K=15,1H=0,2N=2O,2P=2Q\\\'); j l;" s="#">\'+2R+\'</a>\'}j d};7 2T(p){5 1o=2t(2u);6(1o)8.1p=f+\'1r.o?13=43&9=\'+p+\'&44=\'+45};7 46(p,L){5 d=k M();d[0]=\'<a 12="22(\\\'\'+p+\'\\\', \\\'\'+L+\'\\\'); j l;" s="#">\'+25+\'</a>\';d[1]=\'<a s="\'+f+W+\'?X=1d&H=1d&9=\'+p+\'" 18="19">\'+26+\'</a>\';6(47){d[2]=\'<a 12="2T (\\\'\'+p+\'\\\'); j l;" s="#">\'+48+\'</a>\'}j d};',62,257,'||||ajax|var|if|function|document|id|||setVar|menu|news_id|dle_root|getElementById|varsString||return|new|false|c_id||php|m_id|dle_comments_ajax|value|href|else|engine|dle_ajax|onShow|requestFile|method|element|sendAJAX|comments|form|encodeVAR|name|dle_txt|item|action|post_box_top|true|n_cache|event|Array|checked|GET|dle|frm|c_cache|innerHTML|post_main_obj|style|url|dle_admin|mod|news|news_txt|onCompletion|comm|onclick|do|comm_txt|yes|window|m_ip|target|_blank|allow_br|tinyMCE|edit|editnews|POST|execute|fav_id|skin|dle_skin|rate|finalhtml|display|elmnt|master_box|agree|location|group|index|comm_id|comm_edit_id|s_id|e_id|ip|get|getContent|_get_obj_toppos|scroll|70|dle_wysiwyg|month|year|layer|open|resizable|top|left|scrollbars|sec_code|text|input|d1|none|which|l1|l2|l3|whenCompletedSave|dleeditnews|news_title|title|reason|field|save|whenCompleted|ajax_prep_for_edit|whenCompletedCommentsEdit|ajax_comm_edit|menu_short|menu_full|editcomments|whenCompletedSaveComments|dleeditcomments|registration|calendar|sPicURL|200|go_rate|rating|ratig|post_id|mail|qname|getSelection|selection|quote|DoDiv|null|all|layers|visibility|elements|confirm|dle_del_agree|dle_emo|DlePageCompleted|content|info|formname|selField|menu_profile|pm|doaction|newpm|user|menu_send|editusers|edituser|User|toolbar|status|menubar|width|540|height|500|menu_uedit|news_url|dle_news_delete|IPMenu|http|www|nic|ru|whois|iptools|blockip|ajax_cancel_for_edit|ajax_save_for_edit|allow_br_|quick_wysiwyg|MenuCommBuild|comm_edit|ajax_cancel_comm_edit|ajax_save_comm_edit|doFavorites|favorites|fav|CheckLogin|result|doCalendar|ShowBild|modules|imagepreview|image|HEIGHT|WIDTH|doRate|dleRate|mode|short|doAddComments|editor_mode|wysiwyg|alert|dle_req_field|addcomments|dle_copy_quote|createRange|dle_ins|no|br|execInstanceCommand|mceInsertContent|ShowOrHide|show|ckeck_uncheck_all|pmlist|for|length|type|checkbox|confirmDelete|dle_smiley|doInsert|hidden|ie_range_cache|hideBusyLayer|DlePage|showBusyLayer|pages|setNewField|fombj|UserMenu|lastcomments|userid|menu_fcomments|UserNewsMenu|menu_fnews|username|deletenews|hash|dle_login_hash|MenuNewsBuild|allow_dle_delete_news|dle_del_news'.split('|'),0,{}))
// DLE Menu
var menuwidth='165px';var disappeardelay=1000;var hidemenu_onclick="yes";var ie4=document.all;var ns6=document.getElementById&&!document.all;if(ie4||ns6)document.write('<div id="dropmenudiv" style="visibility:hidden;position:absolute;z-index:100;width:'+menuwidth+';" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>');function getposOffset(what,offsettype){var totaloffset=(offsettype=="left")?what.offsetLeft:what.offsetTop;var parentEl=what.offsetParent;while(parentEl!=null){totaloffset=(offsettype=="left")?totaloffset+parentEl.offsetLeft:totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent}return totaloffset};function showhide(obj,e,visible,hidden,menuwidth){if(ie4||ns6)dropmenuobj.style.left=dropmenuobj.style.top=-500;if(menuwidth!=""){dropmenuobj.widthobj=dropmenuobj.style;dropmenuobj.widthobj.width=menuwidth}if(e.type=="click"&&obj.visibility==hidden||e.type=="mouseover")obj.visibility=visible;else if(e.type=="click")obj.visibility=hidden}function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body};function clearbrowseredge(obj,whichedge){var edgeoffset=0;if(whichedge=="rightedge"){var windowedge=ie4&&!window.opera?iecompattest().scrollLeft+iecompattest().clientWidth-15:window.pageXOffset+window.innerWidth-15;dropmenuobj.contentmeasure=dropmenuobj.offsetWidth;if(windowedge-dropmenuobj.x<dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth}else{var topedge=ie4&&!window.opera?iecompattest().scrollTop:window.pageYOffset;var windowedge=ie4&&!window.opera?iecompattest().scrollTop+iecompattest().clientHeight-15:window.pageYOffset+window.innerHeight-18;dropmenuobj.contentmeasure=dropmenuobj.offsetHeight;if(windowedge-dropmenuobj.y<dropmenuobj.contentmeasure){edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight;if((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge}}return edgeoffset};function populatemenu(what){if(ie4||ns6)dropmenuobj.innerHTML=what.join("")};function dropdownmenu(obj,e,menucontents,menuwidth){if(window.event)event.cancelBubble=true;else if(e.stopPropagation)e.stopPropagation();clearhidemenu();dropmenuobj=document.getElementById?document.getElementById("dropmenudiv"):dropmenudiv;populatemenu(menucontents);if(ie4||ns6){showhide(dropmenuobj.style,e,"visible","hidden",menuwidth);dropmenuobj.x=getposOffset(obj,"left");dropmenuobj.y=getposOffset(obj,"top");dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj,"rightedge")+"px";dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj,"bottomedge")+obj.offsetHeight+"px"}return clickreturnvalue()};function clickreturnvalue(){if(ie4||ns6)return false;else return true};function contains_ns6(a,b){while(b.parentNode)if((b=b.parentNode)==a)return true;return false};function dynamichide(e){if(ie4&&!dropmenuobj.contains(e.toElement))delayhidemenu();else if(ns6&&e.currentTarget!=e.relatedTarget&&!contains_ns6(e.currentTarget,e.relatedTarget))delayhidemenu()};function hidemenu(e){if(typeof dropmenuobj!="undefined"){if(ie4||ns6)dropmenuobj.style.visibility="hidden"}};function delayhidemenu(){if(ie4||ns6)delayhide=setTimeout("hidemenu()",disappeardelay)};function clearhidemenu(){if(typeof delayhide!="undefined")clearTimeout(delayhide)};if(hidemenu_onclick=="yes")document.onclick=hidemenu;
// Яндекс.Метрика
 window.yandex_metrika_callback = function() {window.yaCounter174628 = new Ya.Metrika(174628)};jQuery(document).ready(function() {var s = document.createElement('script');s.type = 'text/javascript';s.src = '//mc.yandex.ru/metrika/watch.js';s.setAttribute('async', 'true');document.documentElement.firstChild.appendChild(s);});
$(function(){    
    $('#nav').droppy({speed: 200});
    //Accordeon
    $('ul.menu ul').hide();$.each($('ul.menu'),function(){$('#'+this.id+'.expandfirst ul:first').slideDown('normal',function(){$(this).prev('a').css({backgroundImage:"url(templates/"+dle_skin+"/images/ac_close.gif)",backgroundPosition:"3px 50%"})})});$('ul#accord ul').each(function(){$(this).prev().css({"background-image":"url(templates/"+dle_skin+"/images/ac_open.gif)","background-position":"3px 50%"})});$('ul.menu li a').mouseover(function(){var checkElement=$(this).next();var parent=this.parentNode.parentNode.id;if((checkElement.is('ul'))&&(!checkElement.is(':visible'))){$('#'+parent+' ul:visible').slideUp('normal',function(){$(this).prev('a').css({backgroundImage:"url(templates/"+dle_skin+"/images/ac_open.gif)"})});checkElement.slideDown('normal',function(){$(this).prev('a').css({backgroundImage:"url(templates/"+dle_skin+"/images/ac_close.gif)"})});return false}});
    //Countdown
    var content= $("div.main-content").html();    
    //Счетчик Ajax
    var HotLog=$('div.main-navigation img[alt="HotLog"]').attr("src");
    var hTitle = document.title;
    //Дата
    var time=new Date();var months=new Array ( "января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря" );date=time.getDate();$('div.breadcrumbs').prepend("<span class='today'>Сегодня "+date +" "+ months[time.getMonth()] + " "+time.getFullYear() +" года</span>");
    $("div.next a,div.navigation a,div.main-subcontent div.rblock:eq(1) > a,div#calendar-layer a[class!=monthlink],a.archives,div.related a").live('click', function (e) {    
        var href = $(this).attr( "href" );
        link=/http:\/\/(?:www)?\.kchr\.info(\/.*)$/.exec(href);
	if (location.href.indexOf("/map.html")>0 || location.href.indexOf("/addnews.html")>0) return (true);
        if (link!=null && typeof(link[1]!=='undefined'))
            {
                location.hash= link[1];
                return false;
            }
  });   
  $(window).ajaxStart(function ()
  {
    $('div.main-content div.event,div#countdown').hide();  
    scroll(0,$("div[id=dle-content]").offset().top -70);
    $('div[id=dle-content],div[id=dle-info]').html('');                            
    loadingLayer=$('div[id=loading-layer]');
    loadingLayer.css({ 
                      position:     'absolute',  
                      left:         '50%', 
                      top:            '50%', 
                      zIndex:        '99'
                    }).css({
                        marginLeft:    '-' + (loadingLayer.outerWidth() / 2) + 'px', 
                        marginTop:    '-' + (loadingLayer.outerHeight() / 2) + 'px'
                          });      
    loadingLayer.css({
                     marginTop:    parseInt(loadingLayer.css('marginTop'), 10) + jQuery(window).scrollTop(), 
                     marginLeft:    parseInt(loadingLayer.css('marginLeft'), 10) + jQuery(window).scrollLeft()
                     });
    $('div[id=busy_layer]').css(
            {
                position:   'fixed',
                zIndex:     '2',
                visibility: 'visible',
                display:    'none',
                opacity:    '0.3'
            }).show();
    loadingLayer.show();     
  }).ajaxComplete(function() {
    $('div[id=loading-layer],div[id=busy_layer]').hide();
    $("a.preview").colorbox({title:'', close:"Закрыть", current:"Изображение {current} из {total}", maxWidth:"100%", maxHeight:"100%"});
  }).ajaxError(function ()
  {
    $("div[id=dle-content]").html('<p>В процессе загрузки произошла ошибка.Попробуйте обновить страницу.</p>');
  });  
  $(window).bind( "hashchange", function(e) {    
    var hURL = location.hash;
    $('div.main-navigation img[alt="HotLog"]').attr("src",HotLog+"&rnd="+Math.random());  
    if ((location.href.indexOf("/addnews.html") > 0 || location.href.indexOf("/map.html") > 0) && hURL.length == 0 ) return (false);
    if (hURL.length>1)
               {
                    var newslink = /\/([0-9]+)-(.*).html+$/.exec(hURL);                                              
                    var paginator = /\/(?:([^.]+)\/)?page\/([0-9]+)(\/?)+$/.exec(hURL);
                    var flag = false;
                    var calendar = /\/(\d{4})\/(\d{2})\/(\d{2})?(?:(?:\/?page\/)(\d+))?/.exec(hURL);
                    if (newslink!=null && !flag) 
                        {
                            $("div[id=dle-content]").load (dle_root + "engine/ajax/pages.php?newsid="+newslink[1]);
                            flag=!flag;
                        }
                    if (paginator!=null && !flag)
                            {
                                if (typeof paginator[1]=='undefined' || paginator[1]=="")
                                    {
                                        $("div[id=dle-content]").load (dle_root + "engine/ajax/pages.php?cstart="+paginator[2]);
                                        flag=!flag;                                        
                                    }                                   
                                else if ((paginator[1].length>0) && (paginator[0].search(/\d{4}\/(?=\d{2})?(?=\/\d{2})?/)==-1))
                                     {                                                   
                                        $("div[id=dle-content]").load (dle_root + "engine/ajax/pages.php?do=cat&category="+paginator[1]+"&cstart="+paginator[2]);
                                        flag=!flag;
                                     }
                                        
                            }
                    if (calendar!=null && !flag)
                            {
                                if (typeof calendar[4]!=='undefined') prefix=calendar[4]; else prefix=1;
                                if ((typeof calendar[1]!=='undefined') && (typeof calendar[2] !=='undefined') && (typeof calendar[3] =='undefined'))
                                {
                                    // Только год и месяц                                    
                                    $("div[id=dle-content]").load (dle_root + "engine/ajax/pages.php?year="+calendar[1]+"&month="+calendar[2]+"&rndval="+new Date().getTime()+"&cstart="+prefix);
                                    flag=!flag;
                                }
                                else if ((typeof calendar[1]!=='undefined') && (typeof calendar[2] !=='undefined') && (typeof calendar[3] !=='undefined'))
                                {
                                    // Полная дата, месяц и год
                                    $("div[id=dle-content]").load (dle_root + "engine/ajax/pages.php?year="+calendar[1]+"&month="+calendar[2]+"&day="+calendar[3]+"&rndval="+new Date().getTime()+"&cstart="+prefix);
                                    flag=!flag;
                                }
                            }
                    if (!flag)   
                           {
                                 return(false);
                           }
               }
               else
                {                   
                    $("div.main-content").html(content);                    
	            document.title= hTitle;
                    $("a.preview").colorbox({title:'', close:"Закрыть", current:"Изображение {current} из {total}", maxWidth:"100%", maxHeight:"100%"});
                                     
                };  
           if (typeof yaCounter174628!=='undefined') yaCounter174628.hit(location.href);         
  });
  $(window).trigger( "hashchange" );  
  $("a.preview").colorbox({title:'', close:"Закрыть", current:"Изображение {current} из {total}", maxWidth:"100%", maxHeight:"100%"}); 
});

