加密的:eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c+'\\b','g'),k[c])}}return p}('20 24="99-64";20 47="-98";20 68="-64";12 77(42,38,29){8(24==42){16}46=24;24=42;60=24.39("-")[0]+47;6.23(60).80="100";8(46){74=46.39("-")[0]+47;6.23(74).80="103"}51=6.23(38);41=57(6.23(42));8(29!=""){73=57(6.23(29));41[0]=41[0]-73[0]}61(51,51.82,41[0],"66")}12 89(44,72,38,29){31=6.23(72);18=94 78();8(31.92()){20 71=31.48;70(20 11=0;11<71.43;11++){8(31.48[11].104=="108"){18.117(31.48[11].115.39("-")[0])}}}70(20 11=0;11<18.43;11++){8(18[11]==24.39("-")[0]){8(44=="119"){8(11-1<0){32=18[18.43-1]}14{32=18[11-1]}}14{8((11+1)>(18.43-1)){32=18[0]}14{32=18[11+1]}}}}77(32+68,38,29)}20 4={21:0,40:0,35:0.0,26:0.0,37:27,17:27};12 61(67,50,63,44){8(4.17!=27){49(4.17);4.17=27}4.21=0;4.40=50;4.35=63-50;4.26=25;4.37=67;8(44=="66"){4.17=65("86();",15)}14{4.17=65("79();",15)}}12 79(){8(4.21>4.26){49(4.17);4.17=27}14{36=52(4.21,4.40,4.35,4.26);4.37.33=36;4.21++}}12 86(){8(4.21>4.26){49(4.17);4.17=27}14{36=52(4.21,4.40,4.35,4.26);4.37.82=36;4.21++}}12 114(3,10,9,13){16 9*3/13+10}12 52(3,10,9,13){16-9/2*(83.118(83.116*3/13)-1)+10}12 95(3,10,9,13){16 9*(3/=13)*3*3+10}12 91(3,10,9,13){16 9*((3=3/13-1)*3*3+1)+10}12 105(3,10,9,13){8((3/=13/2)<1)16 9/2*3*3*3+10;16 9/2*((3-=2)*3*3+2)+10}12 96(3,10,9,13){8((3/=13)<(1/2.75)){16 9*(7.34*3*3)+10}14 8(3<(2/2.75)){16 9*(7.34*(3-=(1.5/2.75))*3+.75)+10}14 8(3<(2.5/2.75)){16 9*(7.34*(3-=(2.25/2.75))*3+.97)+10}14{16 9*(7.34*(3-=(2.101/2.75))*3+.107)+10}}12 109(){8(6.110){85=(6.28.54)?6.28.54:6.19.54;84=(6.28.55)?6.28.55:6.19.55;87=(6.28.33)?6.28.33:6.19.33}14{85=22.112;84=22.56;87=22.111}8(22.56&&22.81){53=6.19.62;58=22.56+22.81}14 8(6.19.69>6.19.76){53=6.19.62;58=6.19.69}14{53=6.19.113;58=6.19.76}}12 57(30){20 59=0;20 45=0;106{59+=30.88;45+=30.90}93(30=30.102)16 78(59,45)}',10,120,'|||t|scrollanim||document||if|c|b|i|function|d|else||return|timer|toolbarNames|body|var|time|window|getElementById|currentSection||duration|null|documentElement|offset|elemFind|toolbarElem|gotoTab|scrollTop|5625|change|move|element|scrollArea|split|begin|position|link|length|direction|elemY|lastSection|tabTag|childNodes|clearInterval|start|theScroll|sineInOut|myScrollWidth|clientWidth|clientHeight|innerHeight|findElementPos|myScrollHeight|elemX|sectionTab|scrollStart|scrollWidth|end|pane|setInterval|horiz|elem|paneTag|scrollHeight|for|children|toolbar|offsetPos|lastTab||offsetHeight|ScrollSection|Array|scrollVertAnim|className|scrollMaxY|scrollLeft|Math|myHeight|myWidth|scrollHorizAnim|myScroll|offsetLeft|ScrollArrow|offsetTop|cubicOut|hasChildNodes|while|new|cubicIn|bounceOut|9375|tab|articles|active|625|offsetParent|inactive|tagName|cubicInOut|do|984375|LI|getSize|all|pageYOffset|innerWidth|offsetWidth|linear|id|PI|push|cos|left'.split('|')))

解决方案 »

  1.   

    解开的:var currentSection="articles-pane";var tabTag="-tab";var paneTag="-pane";function ScrollSection(link,scrollArea,offset){if(currentSection==link){return}lastSection=currentSection;currentSection=link;sectionTab=currentSection.split("-")[0]+tabTag;document.getElementById(sectionTab).className="active";if(lastSection){lastTab=lastSection.split("-")[0]+tabTag;document.getElementById(lastTab).className="inactive"}theScroll=document.getElementById(scrollArea);position=findElementPos(document.getElementById(link));if(offset!=""){offsetPos=findElementPos(document.getElementById(offset));position[0]=position[0]-offsetPos[0]}scrollStart(theScroll,theScroll.scrollLeft,position[0],"horiz")}function ScrollArrow(direction,toolbar,scrollArea,offset){toolbarElem=document.getElementById(toolbar);toolbarNames=new Array();if(toolbarElem.hasChildNodes()){var children=toolbarElem.childNodes;for(var i=0;i(toolbarNames.length-1)){gotoTab=toolbarNames[0]}else{gotoTab=toolbarNames[i+1]}}}}ScrollSection(gotoTab+paneTag,scrollArea,offset)}var scrollanim={time:0,begin:0,change:0.0,duration:0.0,element:null,timer:null};function scrollStart(elem,start,end,direction){if(scrollanim.timer!=null){clearInterval(scrollanim.timer);scrollanim.timer=null}scrollanim.time=0;scrollanim.begin=start;scrollanim.change=end-start;scrollanim.duration=25;scrollanim.element=elem;if(direction=="horiz"){scrollanim.timer=setInterval("scrollHorizAnim();",15)}else{scrollanim.timer=setInterval("scrollVertAnim();",15)}}function scrollVertAnim(){if(scrollanim.time>scrollanim.duration){clearInterval(scrollanim.timer);scrollanim.timer=null}else{move=sineInOut(scrollanim.time,scrollanim.begin,scrollanim.change,scrollanim.duration);scrollanim.element.scrollTop=move;scrollanim.time++}}function scrollHorizAnim(){if(scrollanim.time>scrollanim.duration){clearInterval(scrollanim.timer);scrollanim.timer=null}else{move=sineInOut(scrollanim.time,scrollanim.begin,scrollanim.change,scrollanim.duration);scrollanim.element.scrollLeft=move;scrollanim.time++}}function linear(t,b,c,d){return c*t/d+b}function sineInOut(t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b}function cubicIn(t,b,c,d){return c*(t/=d)*t*t+b}function cubicOut(t,b,c,d){return c*((t=t/d-1)*t*t+1)+b}function cubicInOut(t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b}function bounceOut(t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}}function getSize(){if(document.all){myWidth=(document.documentElement.clientWidth)?document.documentElement.clientWidth:document.body.clientWidth;myHeight=(document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.clientHeight;myScroll=(document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop}else{myWidth=window.innerWidth;myHeight=window.innerHeight;myScroll=window.pageYOffset}if(window.innerHeight&&window.scrollMaxY){myScrollWidth=document.body.scrollWidth;myScrollHeight=window.innerHeight+window.scrollMaxY}else if(document.body.scrollHeight>document.body.offsetHeight){myScrollWidth=document.body.scrollWidth;myScrollHeight=document.body.scrollHeight}else{myScrollWidth=document.body.offsetWidth;myScrollHeight=document.body.offsetHeight}}function findElementPos(elemFind){var elemX=0;var elemY=0;do{elemX+=elemFind.offsetLeft;elemY+=elemFind.offsetTop}while(elemFind=elemFind.offsetParent)return Array(elemX,elemY)} 
      

  2.   

    现在有个问题了   为什么会运行错误呢  而加密的就不会..解秘方法是一位好心的朋友提供的 如下:<style type="text/css">
    body {
        font-size:14px;
        line-height:20px;
    }
    </style>
    <script type="text/javascript">
    var string = (function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c+'\\b','g'),k[c])}}return p}('20 24="99-64";20 47="-98";20 68="-64";12 77(42,38,29){8(24==42){16}46=24;24=42;60=24.39("-")[0]+47;6.23(60).80="100";8(46){74=46.39("-")[0]+47;6.23(74).80="103"}51=6.23(38);41=57(6.23(42));8(29!=""){73=57(6.23(29));41[0]=41[0]-73[0]}61(51,51.82,41[0],"66")}12 89(44,72,38,29){31=6.23(72);18=94 78();8(31.92()){20 71=31.48;70(20 11=0;11<71.43;11++){8(31.48[11].104=="108"){18.117(31.48[11].115.39("-")[0])}}}70(20 11=0;11<18.43;11++){8(18[11]==24.39("-")[0]){8(44=="119"){8(11-1<0){32=18[18.43-1]}14{32=18[11-1]}}14{8((11+1)>(18.43-1)){32=18[0]}14{32=18[11+1]}}}}77(32+68,38,29)}20 4={21:0,40:0,35:0.0,26:0.0,37:27,17:27};12 61(67,50,63,44){8(4.17!=27){49(4.17);4.17=27}4.21=0;4.40=50;4.35=63-50;4.26=25;4.37=67;8(44=="66"){4.17=65("86();",15)}14{4.17=65("79();",15)}}12 79(){8(4.21>4.26){49(4.17);4.17=27}14{36=52(4.21,4.40,4.35,4.26);4.37.33=36;4.21++}}12 86(){8(4.21>4.26){49(4.17);4.17=27}14{36=52(4.21,4.40,4.35,4.26);4.37.82=36;4.21++}}12 114(3,10,9,13){16 9*3/13+10}12 52(3,10,9,13){16-9/2*(83.118(83.116*3/13)-1)+10}12 95(3,10,9,13){16 9*(3/=13)*3*3+10}12 91(3,10,9,13){16 9*((3=3/13-1)*3*3+1)+10}12 105(3,10,9,13){8((3/=13/2)<1)16 9/2*3*3*3+10;16 9/2*((3-=2)*3*3+2)+10}12 96(3,10,9,13){8((3/=13)<(1/2.75)){16 9*(7.34*3*3)+10}14 8(3<(2/2.75)){16 9*(7.34*(3-=(1.5/2.75))*3+.75)+10}14 8(3<(2.5/2.75)){16 9*(7.34*(3-=(2.25/2.75))*3+.97)+10}14{16 9*(7.34*(3-=(2.101/2.75))*3+.107)+10}}12 109(){8(6.110){85=(6.28.54)?6.28.54:6.19.54;84=(6.28.55)?6.28.55:6.19.55;87=(6.28.33)?6.28.33:6.19.33}14{85=22.112;84=22.56;87=22.111}8(22.56&&22.81){53=6.19.62;58=22.56+22.81}14 8(6.19.69>6.19.76){53=6.19.62;58=6.19.69}14{53=6.19.113;58=6.19.76}}12 57(30){20 59=0;20 45=0;106{59+=30.88;45+=30.90}93(30=30.102)16 78(59,45)}',10,120,'|||t|scrollanim||document||if|c|b|i|function|d|else||return|timer|toolbarNames|body|var|time|window|getElementById|currentSection||duration|null|documentElement|offset|elemFind|toolbarElem|gotoTab|scrollTop|5625|change|move|element|scrollArea|split|begin|position|link|length|direction|elemY|lastSection|tabTag|childNodes|clearInterval|start|theScroll|sineInOut|myScrollWidth|clientWidth|clientHeight|innerHeight|findElementPos|myScrollHeight|elemX|sectionTab|scrollStart|scrollWidth|end|pane|setInterval|horiz|elem|paneTag|scrollHeight|for|children|toolbar|offsetPos|lastTab||offsetHeight|ScrollSection|Array|scrollVertAnim|className|scrollMaxY|scrollLeft|Math|myHeight|myWidth|scrollHorizAnim|myScroll|offsetLeft|ScrollArrow|offsetTop|cubicOut|hasChildNodes|while|new|cubicIn|bounceOut|9375|tab|articles|active|625|offsetParent|inactive|tagName|cubicInOut|do|984375|LI|getSize|all|pageYOffset|innerWidth|offsetWidth|linear|id|PI|push|cos|left'.split('|'))
    );document.write(
        string.replace(/(<(?:\\\/)?script)/g, function () {
            var s = arguments[0], a = [], i = 0;
            for (; i < s.length ; i ++) a[i] = "&#" + s.charCodeAt(i) + ";";
            return a.join("");
        })
    );
    </script>