/* * myFocus JavaScript Library v1.1.1 * Open source under the BSD & GPL License. * * @Author koen_lee@qq.com * @Blog http://hi.baidu.com/koen_li/ * * @Date 2010/12/20 */ eval(function(p,a,c,k,e,r){e=function(c){return(c35?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(){U={1W:{2L:\'1X\',1w:\'2M\',1i:14,E:14,2N:N},G:{},1x:6(){7 a=1Y,l=a.J,i=1,1j=a[0];8(l===1){i=0,1j=9.G}D(i;i\'+a.16+\'\'},2V:6(a,b){7 s=[],O=9.$$(\'O\',a)[0],B=9.$$1y(\'B\',O),C,n=B.J,1B=b.J;D(7 j=0;j<1B;j++){s.W(\'\');D(7 i=0;i\'+(b[j]==\'1B\'?(\'\'+(i+1)+\'\'):(b[j]==\'17\'&&C?B[i].16.15(/\\<\\/a\\>)/i,C.2W+\'\')+\'

\'+C.26("1m")+\'

\':(b[j]==\'27\'&&C?\'\':\'\')))+\'<1C>\')};s.W(\'
\')};a.16+=s.1D(\'\')}},28={y:6(o,a){7 v=(+[1,]?2X(o,1E):o.2Y)[a],1F=2Z(v);x 29(1F)?v:1F},2a:6(o,a){o.y.30="31(H="+a+")",o.y.H=a/N},2b:6(o,a){7 b=o.K,1l="/\\\\s*"+a+"\\\\b/g";o.K=b?b.15(2c(1l),\'\'):\'\'}},2d={1n:6(a,f,g,h,i,j){7 k=f===\'H\',F=9,H=F.2a,2e=1Z g===\'20\',2f=(1z 2g).2h();8(k&&F.y(a,\'1o\')===\'1G\')a.y.1o=\'32\',H(a,0);7 l=F.y(a,f),b=29(l)?1:l,c=2e?g/1:g-b,d=h||33,e=F.2i[i||\'2j\'],m=c>0?\'34\':\'2k\';8(a[f+\'19\'])1a(a[f+\'19\']);a[f+\'19\']=1H(6(){7 t=(1z 2g).2h()-2f;8(tn-1&&!R&&!1R) 10+=n;7 1g=10!==1c?10:u+1;8("+b+")("+b+")();u=1g;R=1R=1E;};I(u);8(1t&&1f.E)7 E=1H(6(){I()},1t);1e.1S=6(){8(E)1a(E)};1e.1T=6(){8(E)E=1H(6(){I()},1t)};D(7 i=0,1U=1d.$$(\'a\',1e),2E=1U.J;i<2E;i++) 1U[i].40=6(){9.41();}"},42:6(a,b,c){x"D (7 j=0;j=n?1g-n:1g,2I="+e+"||4b,2J=T*(n-"+d+"),1V=T*12+2H;8(1V>T*2G&&12!==n-1) 11["+b+"]=\'-\'+T;8(1V0?u-1:n-1);};"+b+".1u=6(){R=2;7 2K=u>=2*n-1?n-1:u;I(u==n-1&&!M?0:2K+1);}"},4d:6(o,a,b){7 c=9.$$(\'C\',o)[0];c.18=b?c.18.15(2c("/"+a+"\\\\.(?=[^\\\\.]+$)/g"),\'.\'):c.18.15(/\\.(?=[^\\.]+$)/g,a+\'.\')},1K:6(a,c,d){7 b=!(+[1,]),e=b?\'2s\':\'4e\',t=(b?\'4f\':\'\')+c;a[e](t,d,Q)}};U.1x(U,q,28,2d,2n,2D);U.2o.4g=6(a,p){U.G[a].2p=p}})();',62,265,'||||||function|var|if|this|||||||||||||||||||||index|||return|style||px|li|img|for|auto||pattern|opacity|run|length|className|height|less|100|ul|else|false|_tn||scDis|myFocus|document|push|width|oStyle|_dir|idx|scPar|scIdx||true|replace|innerHTML|txt|src|Timer|clearInterval|Math|undefined|_F|box|par|next|self|wrap|parent|in|reg|text|animate|display|id|ready|_dis|_wp|_t|onclick|_stop|txtHeight|extend|_|new|arr|num|span|join|null|pv|none|setInterval|linear|show|addEvent|position|overflow|hidden|left|loading|_ld|first|onmouseover|onmouseout|_lk|scD|defConfig|click|arguments|typeof|string|parentNode|break|createElement|insertBefore|class|getAttribute|thumb|CSS|isNaN|setOpa|removeClass|eval|Anim|am|st|Date|getTime|easing|easeOut|floor|400|slide|Init|set|cfg|initCSS|window|attachEvent|setTimeout|css|padding|relative|align|background|fff|center|important|styleSheet|Method|_ln|hover|scN|scDir|scDur|scMax|tIdx|trigger|default|delay|getElementById|getElementsByTagName|RegExp|test|div|appendChild|wrapIn|addList|alt|getComputedStyle|currentStyle|parseFloat|filter|alpha|block|800|ceil|call|fadeIn|fadeOut|stop|indexOf|swing|cos|PI|easeIn|easeInOut|try|catch|callee|DOMContentLoaded|load|offsetHeight|type|_wrap|margin|border|list|font|12px|Verdana|Geneva|sans|serif|absolute|9999|color|666|top|url|http|nethd|zhongsou|com|wtimg|i_41956|28236|gif|no|repeat|pic|bg|line|inline|cssText|head|firstChild|switchMF|right|pics|time|1000|removeChild|prev|onfocus|blur|bind|mouseover|clearTimeout|alert|Error|Setting|toggle|scroll|parseInt|500|turn|alterSRC|addEventListener|on|params'.split('|'),0,{})) myFocus.extend({ mF_fader: function(par, F) { var box = F.$(par.id); //焦点图盒子 F.addList(box, ['num']); //添加数字按钮列表 var pic = F.$li('pic', box), num = F.$li('num', box), n = pic.length; //找到图片列表、数字按钮列表和总数目 //CSS //这个风格不需要动态生成CSS //plAY eval(F.switchMF(function() { F.fadeOut(pic[index]); //前一幅图片的淡入 num[index].className = ''; //前一个按钮的变化 }, function() { F.fadeIn(pic[next]); //后一幅图片的淡出 num[next].className = 'current'; //后一个按钮的变化 })) eval(F.bind('num', 'par.trigger', par.delay)); //为按钮绑定与焦点图的交互事件 } }) myFocus.set({ id: 'myFocus', pattern: 'mF_fader', time: 3, width: 1002, height: 282 }); //下面是隐藏显示产品 function isShow(sid) { if(document.getElementById(sid).style.display == "none") { document.getElementById("div1").style.display = "none"; document.getElementById(sid).style.display = "inline"; } else { document.getElementById(sid).style.display = "none"; } }