menubest.pack.js
上传用户:stephen_wu
上传日期:2008-07-05
资源大小:1757k
文件大小:5k
- /* iubito's menu - http://iubito.free.fr/prog/menu.php */
- 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}('6 h=B;6 u=3;6 1n=B;6 m=1V;6 q=25;6 V=1W;6 1o=19;6 H=5;6 C="1";6 1p=0;6 1q=0;6 w=10;6 1a=23;6 Y=w+1a;6 M=10;6 1b=10;6 1c=M+m+1b;6 1r=1X;6 1s=B;6 1t=w+1Y;6 1u=m+10;6 Z=B;6 1v=19;6 11;6 N=1Z.20.21();6 1d=(N.O('22')!=-1);6 1w=(N.O("24")!=-1);6 1x=26(N.27(N.O('1e ')+5),10);6 P=((N.O('1e')!=-1&&!1w&&(N.O('28')==-1))&&!1d);6 1f=(P&&1x==5);6 Q=((N.O("1e")!=-1)&&1d);6 p=19;6 12=29 2a("e","g");13.2b=n(){4(p&&Z&&(P||Q)){4(Q)7.8("R").f.I="W";6 a=0;D(i=1;i<=u;i++){4(!h){7.8("14"+i).f.J=7.E.15+w+"e";4(7.8("F"+i))7.8("F"+i).f.J=7.E.15+Y+"e"}9{7.8("14"+i).f.J=7.E.15+(((i-1)*H)+a+1+w)+"e";4(7.8("F"+i))7.8("F"+i).f.J=7.E.15+(((i-1)*H)+a+1+w)+"e";a+=K(q)?q:q[i-1]}}4(Q)7.8("R").f.I="1g"}};n 2c(){4(7.8("R")){7.8("R").f.I="W"}}n 1y(){4(C!=="1")1z(7);4(!p){4(7.E.f.2d!=""){p=B}4(7.E.f.2e!=""){p=B}4(7.E.f.1A!=""){p=B}4(7.8){T(7.8("R").f){4(X!=""||J!=""||U!=""||L!=""||1B!=""||1h!=""||1i!=""||I!=""){p=B;1C("2f:2g")}}}9{p=B}}4(p){7.8("R").f.I="W";1D();4(1s){T(7.E.f){4(!h)1A=1t+"e";9 2h=1u+"e"}}1E();16()}7.8("R").f.I=''}13.2i=1y;n 1E(){6 a=(P?7.E.2j:13.2k);6 b=(P?7.E.2l:13.2m);4(1n){4(!h){6 c=H*(u-1);4(K(m))c+=m*u;9{D(i=1;i<=u;i++)c+=m[i-1]}M=(a-c)/2}9{6 d=H*(u-1);4(K(q))d+=q*u;9{D(i=1;i<=u;i++)d+=q[i-1]}w=(b-d)/2}}6 i,G=0;4(C!=="1"){D(i=1;i<=u;i++){T(7.8("14"+i).f){4(!h){J=w+"e";U=(((i-1)*H)+G+M)+"e"}9{J=(((i-1)*H)+G+w)+"e";U=M+"e"}4(!Z||P||Q)X="1F";9 X="1G";1i="0";1h="2";4(h||K(m))L=m+"e";9 L=m[i-1]+"e";4((!h&&K(m))||(h&&K(q))){G+=(!h?m:q)}9{G+=(!h?m[i-1]:q[i-1]);4(h)1B=q[i-1]+"e"}}}}G=0;D(i=1;i<=u;i++){4(7.8("F"+i)){T(7.8("F"+i).f){4(C!=="1"){4(!Z||P||Q)X="1F";9 X="1G";4(!h){J=Y+"e";U=(((i-1)*H)+G+1+M)+"e"}9{U=1c+"e";J=(((i-1)*H)+G+1+w)+"e"}}4(Q||!1o){4(K(V)){L=V+(V!="17"?"e":"")}9{L=V[i-1]+(V[i-1]!="17"?"e":"")}}9 4(C!=="1")L="17";4(C!=="1"){4(!h&&!Q){4((L!="17")&&((U.18(12,'').1j()*1+L.18(12,'').1j()*1)>a))U=(a-L.18(12,'').1j())+"e"}1i="0";1h="3"}}}4(C!=="1"){4((!h&&K(m))||(h&&K(q))){G+=(!h?m:q)}9{G+=(!h?m[i-1]:q[i-1])}}}}n 2n(a){4(p){1H();16();4(7.8(a))T(7.8(a).f)I="1g"}1k("W",7.1I('1J'))}n 2o(){4(p){11=2p('16()',1r)}}n 1H(){4(p&&11){2q(11)}}n 16(){4(p){D(i=1;i<=u;i++){4(7.8("F"+i))T(7.8("F"+i).f)I="W"}}1k("1g",7.1I('1J'))}n 1D(){4(p&&1f){D(i=1;i<=u;i++){4(7.8("F"+i))T(7.8("F"+i))1K=1K.18(/<1L>|<\/1L>/g,"")}}}n 1k(v,a){4(p&&1v&&(P||1f))D(6 i=0;i<a.S;i++)a[i].f.I=v}n 1z(a){6 b;4(C=="1"){C="R"}b=1M(C,a);4(b){w=b[1];M=b[0];Y=w+1a;1c=M+m+1b}}n 1M(a,b){6 c;6 d=1N(a,b.7);4(!d){1C('2r: 14 2s 2t="'+a+'" 2u 2v 2w 2x.');s 1l}9{c=1O(d)}s c}n 1O(a){6 b,2y,A,k;b=k=a;A=[1p,1q];4(7.z){4(2z k.S!='2A'&&k.S>1){b=k[0];A[0]+=k[0].x+k[1].1P;A[1]+=k[0].y+k[1].1Q}9{4(k.1R().O('2B')!=-1||k.1R().O('2C')!=-1){A[0]+=k.x;A[1]+=k.y}9{A[0]+=k.1P;A[1]+=k.1Q}}}9{A[0]+=1m(k,'2D');A[1]+=1m(k,'2E')}s A}n 1m(o,t){6 x=0;2F(o){x+=o['2G'+t];o=o.2H}s x}n 1N(l,d){6 r="",j;d=(d||7);4(d.1S){s d.1S[l]}9 4(d.8){s d.8(l)}9 4(d.z&&d.z.S>0){4(d.z[l]){s d.z[l]}D(j=0;j<d.z.S;j++){r=2I(l,d.z[j].7);4(r){s r}}}s B}n 2J(l,d){6 r=1l,j;d=(d||7);4(d.1T[l]){s d.1T[l]}9 4(d.1U[l]){s d.1U[l]}9 4(d.z&&d.z.S>0){D(j=0;j<d.z.S;j++){r=2K(l,d.z[j].7);4(r&&r.S>0){s r}9 4(r){s[r,d.z[j]]}}}s 1l}',62,171,'||||if||var|document|getElementById|else|||||px|style||vertical|||mlyr||largeur_menu|function||blnOk|hauteur_menu||return||nbmenu||top_menu|||layers|offsets|false|cbMenuAnchorReference|for|body|ssmenu|cumul|espace_entre_menus|visibility|top|isFinite|width|left_menu|agt|indexOf|isIE|isIE5mac|conteneurmenu|length|with|left|largeur_sous_menu|hidden|position|top_ssmenu|suivre_le_scroll||timeout|reg|window|menu|scrollTop|CacherMenus|auto|replace|true|bb_top_menu_to_ssmenu|bb_right_menu_to_ssmenu|left_ssmenu|isMac|msie|isIE5win|visible|zIndex|margin|valueOf|SelectVisible|null|bbpageLocation|centrer_menu|largeur_auto_ssmenu|cbMenuAnchorOffsetx|cbMenuAnchorOffsety|delai|bbAddMarginsToDoc|marge_en_haut_de_page|marge_a_gauche_de_la_page|cacher_les_select|isOpera|IEver|Chargement|bbsetMenuLocation|marginTop|height|alert|trimespaces|positionne|absolute|fixed|AnnulerCacher|getElementsByTagName|select|innerHTML|LI|bbgetLocation|bbgetRefById|bbgetAnchorLocation|pageX|pageY|toString|all|images|anchors|95|150|650|40|navigator|userAgent|toLowerCase|mac||opera||parseInt|substring|webtv|new|RegExp|onscroll|preChargement|backgroundColor|color|BB|ko1|marginLeft|onresize|clientWidth|innerWidth|clientHeight|innerHeight|MontrerMenu|CacherDelai|setTimeout|clearTimeout|WARNING|anchor|id|not|found|in|html|of|typeof|undefined|Image|Anchor|Left|Top|while|offset|offsetParent|getRefById|bbgetRefByName|getRefByName'.split('|'),0,{}));