jQuery(document).ready(function($){
$('.post_title a').click(function(e){if(e.which == 2){return true;}else{myloadoriginal = this.text;$(this).text('上茶中,请稍候……');var myload = this;setTimeout(function() { $(myload).text(myloadoriginal); }, 1800);}});
$(".post_content a:has(img)").lightBox();
$('#comment').bind('focus keyup input paste',function(){  //采用几个事件来触发（已增加鼠标粘贴事件） 
	$('#num').text($(this).attr("value").length)  //获取评论框字符长度并添加到ID="num"元素上
	});
	/* 存档页面 jQ伸缩 */
 $('#expand_collapse,.archives-yearmonth').css({cursor:"s-resize"});
 $('#archives ul li ul.archives-monthlisting').hide();
 $('#archives ul li ul.archives-monthlisting:first').show();
 $('#archives ul li span.archives-yearmonth').click(function(){$(this).next().slideToggle('fast');return false;});
 //以下下是全局的操作
 $('#expand_collapse').toggle(
 function(){
 $('#archives ul li ul.archives-monthlisting').slideDown('fast');
 },
 function(){
 $('#archives ul li ul.archives-monthlisting').slideUp('fast');
 });
 //评论插入图片
$('#insert_image').click(function(event){   
          event.stopPropagation();   
          var offset = $(event.target).offset();   
          $("#floatBox").css({ top: offset.top + $(event.target).height() + "px", left: offset.left });   
          $('#floatBoxBg').fadeIn();   
        });   
    $('#but_ok').click(function(){   
          var URL = document.getElementById('url').value;   
              if (URL) {   
                document.getElementById('comment').value = document.getElementById('comment').value + '[img]' + URL + '[/img]';   
                $('#floatBoxBg').fadeOut();   
              }                        
        });   
    $('#close').click(function(){$('#floatBoxBg').fadeOut();});    
})


eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('(6($){$.2N.2L=6(4){4=2B.2R({23:\'#2Z\',1W:0.8,1g:K,1X:\'/1c/1d-19/1a/17/1b/5-2W-S.18\',1B:\'/1c/1d-19/1a/17/1b/5-1K-2V.18\',1s:\'/1c/1d-19/1a/17/1b/5-1K-31.18\',1Z:\'/1c/1d-19/1a/17/1b/5-1K-2U.18\',1i:\'/1c/1d-19/1a/17/1b/5-2Y.18\',1j:10,28:2P,2F:\'1r\',2A:\'2K\',2H:\'c\',2x:\'p\',2h:\'n\',h:[],7:0},4);f M=L;6 2q(){1T(L,M);v K}6 1T(1p,M){$(\'2f, 2y, 2a\').j({\'2c\':\'2J\'});21();4.h.y=0;4.7=0;9(M.y==1){4.h.1U(u 1o(1p.16(\'G\'),1p.16(\'1O\')))}k{2I(f i=0;i<M.y;i++){4.h.1U(u 1o(M[i].16(\'G\'),M[i].16(\'1O\')))}}2n(4.h[4.7][0]!=1p.16(\'G\')){4.7++}C()}6 21(){$(\'m\').2Q(\'<e g="s-P"></e><e g="s-5"><e g="5-o-d-w"><e g="5-o-d"><1F g="5-d"><e 2X="" g="5-l"><a G="#" g="5-l-W"></a><a G="#" g="5-l-12"></a></e><e g="5-S"><a G="#" g="5-S-22"><1F 13="\'+4.1X+\'"></a></e></e></e><e g="5-o-d-11-w"><e g="5-o-d-11"><e g="5-d-A"><1q g="5-d-A-1x"></1q><1q g="5-d-A-1e"></1q></e><e g="5-1H"><a G="#" g="5-1H-1Q"><1F 13="\'+4.1Z+\'"></a></e></e></e></e>\');f D=1t();$(\'#s-P\').j({3h:4.23,3i:4.1W,R:D[0],Z:D[1]}).24();f Q=1D();$(\'#s-5\').j({1R:Q[1]+(D[3]/10),1k:Q[0]}).N();$(\'#s-P,#s-5\').z(6(){1l()});$(\'#5-S-22,#5-1H-1Q\').z(6(){1l();v K});$(J).3a(6(){f D=1t();$(\'#s-P\').j({R:D[0],Z:D[1]});f Q=1D();$(\'#s-5\').j({1R:Q[1]+(D[3]/10),1k:Q[0]})})}6 C(){$(\'#5-S\').N();9(4.1g){$(\'#5-d,#5-o-d-11-w,#5-d-A-1e\').1f()}k{$(\'#5-d,#5-l,#5-l-W,#5-l-12,#5-o-d-11-w,#5-d-A-1e\').1f()}f T=u 1r();T.1Y=6(){$(\'#5-d\').3f(\'13\',4.h[4.7][0]);1S(T.R,T.Z);T.1Y=6(){}};T.13=4.h[4.7][0]};6 1S(1I,1C){f 1P=$(\'#5-o-d-w\').R();f 1N=$(\'#5-o-d-w\').Z();f 1M=(1I+(4.1j*2));f 1G=(1C+(4.1j*2));f 25=1P-1M;f 26=1N-1G;$(\'#5-o-d-w\').3d({R:1M,Z:1G},4.28,6(){20()});9((25==0)&&(26==0)){9($.3b.33){1y(35)}k{1y(38)}}$(\'#5-o-d-11-w\').j({R:1I});$(\'#5-l-W,#5-l-12\').j({Z:1C+(4.1j*2)})};6 20(){$(\'#5-S\').1f();$(\'#5-d\').24(6(){1V();2G()});2i()};6 1V(){$(\'#5-o-d-11-w\').2S(\'2T\');$(\'#5-d-A-1x\').1f();9(4.h[4.7][1]){$(\'#5-d-A-1x\').2b(4.h[4.7][1]).N()}9(4.h.y>1){$(\'#5-d-A-1e\').2b(4.2F+\' \'+(4.7+1)+\' \'+4.2A+\' \'+4.h.y).N()}}6 2G(){$(\'#5-l\').N();$(\'#5-l-W,#5-l-12\').j({\'F\':\'1u E(\'+4.1i+\') I-H\'});9(4.7!=0){9(4.1g){$(\'#5-l-W\').j({\'F\':\'E(\'+4.1B+\') 1k 15% I-H\'}).Y().1h(\'z\',6(){4.7=4.7-1;C();v K})}k{$(\'#5-l-W\').Y().2z(6(){$(L).j({\'F\':\'E(\'+4.1B+\') 1k 15% I-H\'})},6(){$(L).j({\'F\':\'1u E(\'+4.1i+\') I-H\'})}).N().1h(\'z\',6(){4.7=4.7-1;C();v K})}}9(4.7!=(4.h.y-1)){9(4.1g){$(\'#5-l-12\').j({\'F\':\'E(\'+4.1s+\') 29 15% I-H\'}).Y().1h(\'z\',6(){4.7=4.7+1;C();v K})}k{$(\'#5-l-12\').Y().2z(6(){$(L).j({\'F\':\'E(\'+4.1s+\') 29 15% I-H\'})},6(){$(L).j({\'F\':\'1u E(\'+4.1i+\') I-H\'})}).N().1h(\'z\',6(){4.7=4.7+1;C();v K})}}2E()}6 2E(){$(b).2O(6(X){2D(X)})}6 1L(){$(b).Y()}6 2D(X){9(X==2s){U=36.2C;1J=27}k{U=X.2C;1J=X.3l}14=3g.3e(U).3c();9((14==4.2H)||(14==\'x\')||(U==1J)){1l()}9((14==4.2x)||(U==37)){9(4.7!=0){4.7=4.7-1;C();1L()}}9((14==4.2h)||(U==39)){9(4.7!=(4.h.y-1)){4.7=4.7+1;C();1L()}}}6 2i(){9((4.h.y-1)>4.7){2j=u 1r();2j.13=4.h[4.7+1][0]}9(4.7>0){2k=u 1r();2k.13=4.h[4.7-1][0]}}6 1l(){$(\'#s-5\').2g();$(\'#s-P\').34(6(){$(\'#s-P\').2g()});$(\'2f, 2y, 2a\').j({\'2c\':\'3j\'})}6 1t(){f r,q;9(J.1m&&J.2d){r=J.2m+J.3m;q=J.1m+J.2d}k 9(b.m.2e>b.m.2l){r=b.m.3k;q=b.m.2e}k{r=b.m.32;q=b.m.2l}f B,O;9(V.1m){9(b.t.1n){B=b.t.1n}k{B=V.2m}O=V.1m}k 9(b.t&&b.t.1v){B=b.t.1n;O=b.t.1v}k 9(b.m){B=b.m.1n;O=b.m.1v}9(q<O){1w=O}k{1w=q}9(r<B){1E=r}k{1E=B}2t=u 1o(1E,1w,B,O);v 2t};6 1D(){f r,q;9(V.2u){q=V.2u;r=V.2M}k 9(b.t&&b.t.1A){q=b.t.1A;r=b.t.2v}k 9(b.m){q=b.m.1A;r=b.m.2v}2w=u 1o(r,q);v 2w};6 1y(2p){f 2o=u 2r();1z=2s;30{f 1z=u 2r()}2n(1z-2o<2p)};v L.Y(\'z\').z(2q)}})(2B);',62,209,'||||settings|lightbox|function|activeImage||if||document||image|div|var|id|imageArray||css|else|nav|body||container||yScroll|xScroll|jquery|documentElement|new|return|box||length|click|details|windowWidth|_0|arrPageSizes|url|background|href|repeat|no|window|false|this|jQueryMatchedObj|show|windowHeight|overlay|arrPageScroll|width|loading|objImagePreloader|keycode|self|btnPrev|objEvent|unbind|height||data|btnNext|src|key||getAttribute|philna2|gif|content|themes|images|wordpress|wp|currentNumber|hide|fixedNavigation|bind|imageBlank|containerBorderSize|left|_1|innerHeight|clientWidth|Array|objClicked|span|Image|imageBtnNext|___getPageSize|transparent|clientHeight|pageHeight|caption|___pause|curDate|scrollTop|imageBtnPrev|intImageHeight|___getPageScroll|pageWidth|img|intHeight|secNav|intImageWidth|escapeKey|btn|_2|intWidth|intCurrentHeight|title|intCurrentWidth|btnClose|top|_4|_6|push|_7|overlayOpacity|imageLoading|onload|imageBtnClose|_3|_5|link|overlayBgColor|fadeIn|intDiffW|intDiffH||containerResizeSpeed|right|select|html|visibility|scrollMaxY|scrollHeight|embed|remove|keyToNext|_9|objNext|objPrev|offsetHeight|innerWidth|while|date|ms|_11|Date|null|arrayPageSize|pageYOffset|scrollLeft|arrayPageScroll|keyToPrev|object|hover|txtOf|jQuery|keyCode|_10|_8|txtImage|_12|keyToClose|for|hidden|of|lightBox|pageXOffset|fn|keydown|400|append|extend|slideDown|fast|close|prev|ico|style|blank|000|do|next|offsetWidth|msie|fadeOut|250|event||100||resize|browser|toLowerCase|animate|fromCharCode|attr|String|backgroundColor|opacity|visible|scrollWidth|DOM_VK_ESCAPE|scrollMaxX'.split('|'),0,{}))



