├── index.html
└── transformers.js
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 百度知道 变形金刚 js特效
6 |
7 |
8 |
9 | 百度知道 变形金刚 js特效
10 |
11 |
12 |
17 |
18 |
19 |
20 |
21 |
22 | | 数千万年前,宇宙中的智慧生命五面怪在宇宙中建造了一个星球——赛伯坦(Cybertron),在这个星球上,五面怪建造了方便自己制造的星球核心计算机--魔力神球。并在这个星球上制造了两条生产线--军用和民用。这两条生产线上出产的机器人就是后来变形金刚的祖先。魔力神球在五面怪的程序下是个没有思想,没有正邪的设备,同样的它的能力无法超过五面怪,不能自己制造机器人,但可以运行五面怪的程序赋予完整的机体以自主意识程序。《五面怪》《魔力神球》《魔力神球续集--飞行太保》
23 | |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | | 同一时期 宇宙中另一智慧的有机生命——至尊太君,创造了宇宙大帝(Unicon)。这是一个不断吞吃星球的机械生命。它变形为一个巨大的星球,它同魔力神球一样只拥有改造的能力,没有创造能力。只能在原有机体上改造。《至尊太君》《变形金刚大电影》
33 | 1100万年前 赛博特恩上的机器人奴隶在A3(钛师傅)的率领下,军用和民用机器人联合起来赶走了五面怪,推翻了五面怪的统治赢得了自由。之前五面怪迫使他们带的奴隶符号,成为汽车人的标志。迎来了赛博特恩的第一个黄金时期。《岁月之窗》《五面怪》
34 | 1000万年前 赛博特恩上的军用机器人联合起来,为争夺赛博特恩的领导权而同民用机器人发生了冲突。赛博特恩内战开始。战争双方都付出了惨重的代价。新的变形能力开发出来,同其他先进技术一样,率先运用到战争中,汽车人的领袖连续阵亡了多名。霸天虎制造出了第一个有威力的战士--威震天。它摧毁了最后一个汽车人领袖,矩阵(能源宝)传到钛师傅手中,直到交给擎天柱时为止。威震天制造了改装机开始建立它的军队,并抢占赛博特恩上的能源。《五面怪》《大力金刚的秘密》
35 | |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | 900万年前 飞行太保救了一个被威震天打伤的叫奥立安?派克斯的机器人和他的女友--爱瑞尔,这两个机器人被钛师傅改造为擎天柱(最著名的汽车人领袖),爱丽达(女汽车人的首领)。《回到过去》
46 |
47 | 400万年前 赛伯坦的能源枯竭了,汽车人打算到宇宙中寻找能量对付霸天虎。霸天虎追踪汽车人飞离赛伯坦。双方在一颗行星附近激战,霸天虎在威震天的率领下攻入汽车人的飞船--方舟。激战中双方飞船坠毁在地球上。《第一天》
48 | 350万年前 地球行星轨道上又出现了两只飞船,飞船的主人被称为巨无霸(汽车人的后代)和原始兽(霸天虎的后代),双方在地球上空又一次重演了祖先的经历。双方飞船坠毁在地球上失去了返回家园--电子星(赛伯特恩)的能力。这些人扫描地球上生物的形态,以适应地球环境。《太空遭遇》
49 |
50 | 350万年间 拥有不灭的灵魂的霸天虎红蜘蛛再次登场。《阴谋》
51 |
52 | 350万年间 原始兽的领袖霸王龙勇士根据金盘的秘密,找到圣希尔火山,并按照金盘的图片制造了历史,并且妄图摧毁大峡谷中的猿人。弃暗投明的原始兽战士恐龙勇士用自己的生命做代价挽救了整个峡谷里的生命,摧毁了金盘。《英雄本色》
53 |
54 | 350万年间 重新改写程序为原始兽的霸天虎机器狗,在听到金盘中自己领袖——威震天的声音后决定帮助霸王龙勇士。激战后,战死于地球上。《电子星人》
55 | |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 | 350万年间 霸王龙勇士找到了方舟,摧毁了擎天柱的头颅。引起时空聚变,几乎毁灭巨无霸。原始兽蜘蛛勇士在爱的感召下,启动修复机器,修复擎天柱。《方舟》《最高危机》
66 |
67 | 350万年间 霸王龙勇士找到了坠毁在海地霸天虎的战舰--暴影号,并用此来摧毁方舟。在克隆恐龙勇士的帮助下巨无霸战胜了霸王龙勇士,将一切归位后,带霸王龙勇士返回电子星。《正义的大结局》
68 |
69 | 公元532年 霸天虎中的红蜘蛛,轰隆隆,机器狗,喷气机通过时光隧道入侵到亚瑟王朝。《霸天虎入侵亚瑟王朝》
70 |
71 | 公元1984年 圣希尔火山爆发,方舟的计算机显像一号启动并根据地球上的车辆和武器为原型,修复了汽车人和霸天虎。双方为保卫新家和夺取能源而在地球上再次展开战争。《第一天》
72 | |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 | 公元2005年 汽车人和霸天虎展开决战。擎天柱战死,通天晓继任汽车人的领袖。红蜘蛛将重伤的威震天抛弃。重伤的威震天被宇宙大帝改造为惊破天。通天晓没有做领袖的能力。霸天虎中的二号人物红蜘蛛篡权成功,但被惊破天杀死。惊破天重掌霸天虎。领导霸天虎继续完成他们重新征服和占领Cybertron并消灭汽车人的目标。最终,热破从惊破天手中夺回矩阵(能源宝)摧毁了宇宙大帝,成为新的汽车人领袖——补天士。宇宙大帝的头成为赛博特恩的卫星。《变形金刚大电影》
83 | 公元2006年,一队汽车人遭到霸天虎袭击,躲进了汽车人的陵墓。在里面,丹尼尔掉队了,于是在陵墓里四处乱逛,却意外发现擎天柱复活了,原来是五面怪使擎天柱复活,让他去摧毁他的汽车人伙伴。陵墓遭到霸天虎袭击,他们被迫离开陵墓,陵墓撞到了太阳上。擎天柱等人中了五面怪的计,带动全部力量去攻打五面怪的星球中央星,可是那个星球是个巨型炸弹。补天士和擎天柱开始抢夺矩阵(能源宝)。在飞船即将撞到中央星时,擎天柱终于醒悟过来,让同伴们乘小飞船逃离,自己则撞上了那颗星球。临死前擎天柱说:“我知道,大家,都……”《五面怪的诡计》
84 |
85 | |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 | |
95 |
96 |
97 | |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | |
107 | 公元2006年 由于地球乃至整个宇宙都感染了仇恨疯狂症,所有人都在乱打一气。汽车人领袖擎天柱又一次被五面怪复活,使用矩阵(领导模块)将世界从仇恨疯狂症中解救出来,用光了矩阵(领导模块)的能量。此战后惊破天说:“我很佩服你,擎天柱大哥,以后不会再有战争了。”变形金刚的故事至此应说完美的结束。可是,真的结束了吗?《擎天柱复活》
108 | |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 | |
118 | 公元2006年 惊破天重新带领霸天虎攻击汽车人基地,抢夺了五面怪用来制造机器人的能量室的钥匙,在塞伯坦地底下找到了能量室并将其打开,汽车人的一个小队乘坐飞船来到地底下及时阻止,夺回钥匙。而能量室喷发的能量把汽车人小队乘坐的飞船的引擎超载,冲到了星云星上,被星云星人当作星云星上的敌人妖蜂派的机器人,捉住他们。随其而来的一队霸天虎找到了他们,斯派克与丹尼尔及时劝说,星云星人放了汽车人小队,可有一些汽车人被抓走了,丹尼尔也摔成重伤。为了丹尼尔的性命,以及与星云星人们并肩作战,剩下汽车人将它们的头部改造成变形外套,让丹尼尔以及星云星人们穿上,与剩下汽车人合成一体,成为头领战士,救回被抓的汽车人。被打败的霸天虎被妖蜂派逮住,妖蜂派首领撒克逼迫它们与其合作,把两个霸天虎的头改造成外套,成为头领战士,其它人的武器改造成外套,成为目标战士,并袭击了汽车人小队,可效果适得其反,不仅被打败,还送给了汽车人一个科技:目标战士。马上,汽车人打到了妖蜂派老家:地底下,没想到妖蜂派基地本身就是一个变形金刚:撒克巨人,并让其进攻塞伯坦,打败了汽车人大军。在星云星,留下斯派克和另一个汽车人,其他人返回塞伯坦。霸天虎在塞伯坦上设了一个推进器,想让其撞上地球,并在那时打开能量室。斯派克与另一个汽车人制造了福特巨人(巨无霸福特),打败了萨克巨人。擎天柱从魔力神球那儿得知,钥匙不能被破坏。可星星云星人们想:干掉了钥匙,能量室就不起作用了,幸好被斯派克阻止,并脱下变形外套,关掉能量室,并把推进器的磁极放反,收回放射的能量,迎来了塞伯坦的第二个黄金时代。霸天虎们则在乘坐撒克巨人逃跑时被能量室的能量冲飞了。《再生》
119 | |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 | |
129 | 注:《太空遭遇》、《阴谋》、《英雄本色》、《电子星人》、《方舟》、《最高危机》、《正义的大结局》 这几集是超能勇士中的集名,其余为G1。(但并非按集数顺序)[1]
130 | |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
145 |
146 |
--------------------------------------------------------------------------------
/transformers.js:
--------------------------------------------------------------------------------
1 |
2 | var T,baidu=T=baidu||{version:"1.3.9"};baidu.guid="$BAIDU$";window[baidu.guid]=window[baidu.guid]||{};baidu.dom=baidu.dom||{};baidu.browser=baidu.browser||{};if(/msie (\d+\.\d)/i.test(navigator.userAgent)){baidu.browser.ie=baidu.ie=document.documentMode||+RegExp["\x241"]}baidu.dom.opacity=function(b,a){b=baidu.dom.g(b);if(!baidu.browser.ie){b.style.opacity=a;b.style.KHTMLOpacity=a}else{b.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity:"+Math.floor(a*100)+")"}};baidu.dom.scale=function(c,g,b){if(!(c=baidu.dom.g(c))||typeof g!="number"){return null}b=b||{};var e=c.style,a=b.transformOrigin||"0px 0px";if(baidu.browser.ie){e.zoom=g}else{var d="ransform",f=d+"Origin";e["WebkitT"+f]=e["MozT"+f]=e["OT"+f]=e["t"+f]=a;e["WebkitT"+d]=e["MozT"+d]=e["OT"+d]=e["t"+d]="scale("+g+")"}};baidu.event=baidu.event||{};baidu.event._listeners=baidu.event._listeners||[];baidu.lang=baidu.lang||{};baidu.lang.isString=function(a){return"[object String]"==Object.prototype.toString.call(a)};baidu.isString=baidu.lang.isString;baidu.dom._g=function(a){if(baidu.lang.isString(a)){return document.getElementById(a)}return a};baidu._g=baidu.dom._g;baidu.event.on=function(b,e,g){e=e.replace(/^on/i,"");b=baidu.dom._g(b);var f=function(i){g.call(b,i)},a=baidu.event._listeners,d=baidu.event._eventFilter,h,c=e;e=e.toLowerCase();if(d&&d[e]){h=d[e](b,e,f);c=h.type;f=h.listener}if(b.addEventListener){b.addEventListener(c,f,false)}else{if(b.attachEvent){b.attachEvent("on"+c,f)}}a[a.length]=[b,e,g,f,c];return b};baidu.on=baidu.event.on;baidu.dom.g=function(a){if("string"==typeof a||a instanceof String){return document.getElementById(a)}else{if(a&&a.nodeName&&(a.nodeType==1||a.nodeType==9)){return a}}return null};baidu.g=baidu.G=baidu.dom.g;baidu.dom.insertHTML=function(d,a,c){d=baidu.dom.g(d);var b,e;if(d.insertAdjacentHTML){d.insertAdjacentHTML(a,c)}else{b=d.ownerDocument.createRange();a=a.toUpperCase();if(a=="AFTERBEGIN"||a=="BEFOREEND"){b.selectNodeContents(d);b.collapse(a=="AFTERBEGIN")}else{e=a=="BEFOREBEGIN";b[e?"setStartBefore":"setEndAfter"](d);b.collapse(e)}b.insertNode(b.createContextualFragment(c))}return d};baidu.insertHTML=baidu.dom.insertHTML;baidu.dom.getDocument=function(a){a=baidu.dom.g(a);return a.nodeType==9?a:a.ownerDocument||a.document};baidu.dom.getComputedStyle=function(b,a){b=baidu.dom._g(b);var d=baidu.dom.getDocument(b),c;if(d.defaultView&&d.defaultView.getComputedStyle){c=d.defaultView.getComputedStyle(b,null);if(c){return c[a]||c.getPropertyValue(a)}}return""};baidu.dom._styleFixer=baidu.dom._styleFixer||{};baidu.dom._styleFilter=baidu.dom._styleFilter||[];baidu.dom._styleFilter.filter=function(b,e,f){for(var a=0,d=baidu.dom._styleFilter,c;c=d[a];a++){if(c=c[f]){e=c(b,e)}}return e};baidu.string=baidu.string||{};baidu.string.toCamelCase=function(a){if(a.indexOf("-")<0&&a.indexOf("_")<0){return a}return a.replace(/[-_][^-_]/g,function(b){return b.charAt(1).toUpperCase()})};baidu.dom.getStyle=function(c,b){var e=baidu.dom;c=e.g(c);b=baidu.string.toCamelCase(b);var d=c.style[b]||(c.currentStyle?c.currentStyle[b]:"")||e.getComputedStyle(c,b);if(!d){var a=e._styleFixer[b];if(a){d=a.get?a.get(c):baidu.dom.getStyle(c,a)}}if(a=e._styleFilter){d=a.filter(b,d,"get")}return d};baidu.getStyle=baidu.dom.getStyle;if(/opera\/(\d+\.\d)/i.test(navigator.userAgent)){baidu.browser.opera=+RegExp["\x241"]}baidu.browser.isWebkit=/webkit/i.test(navigator.userAgent);baidu.browser.isGecko=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);baidu.browser.isStrict=document.compatMode=="CSS1Compat";baidu.dom.getPosition=function(a){a=baidu.dom.g(a);var j=baidu.dom.getDocument(a),d=baidu.browser,g=baidu.dom.getStyle,c=d.isGecko>0&&j.getBoxObjectFor&&g(a,"position")=="absolute"&&(a.style.top===""||a.style.left===""),h={left:0,top:0},f=(d.ie&&!d.isStrict)?j.body:j.documentElement,k,b;if(a==f){return h}if(a.getBoundingClientRect){b=a.getBoundingClientRect();h.left=Math.floor(b.left)+Math.max(j.documentElement.scrollLeft,j.body.scrollLeft);h.top=Math.floor(b.top)+Math.max(j.documentElement.scrollTop,j.body.scrollTop);h.left-=j.documentElement.clientLeft;h.top-=j.documentElement.clientTop;var i=j.body,l=parseInt(g(i,"borderLeftWidth")),e=parseInt(g(i,"borderTopWidth"));if(d.ie&&!d.isStrict){h.left-=isNaN(l)?2:l;h.top-=isNaN(e)?2:e}}else{k=a;do{h.left+=k.offsetLeft;h.top+=k.offsetTop;if(d.isWebkit>0&&g(k,"position")=="fixed"){h.left+=j.body.scrollLeft;h.top+=j.body.scrollTop;break}k=k.offsetParent}while(k&&k!=a);if(d.opera>0||(d.isWebkit>0&&g(a,"position")=="absolute")){h.top-=j.body.offsetTop}k=a.offsetParent;while(k&&k!=j.body){h.left-=k.scrollLeft;if(!d.opera||k.tagName!="TR"){h.top-=k.scrollTop}k=k.offsetParent}}return h};baidu.page=baidu.page||{};baidu.page.getViewHeight=function(){var b=document,a=b.compatMode=="BackCompat"?b.body:b.documentElement;return a.clientHeight};baidu.fx=baidu.fx||{};baidu.dom.show=function(a){a=baidu.dom.g(a);a.style.display="";return a};baidu.show=baidu.dom.show;baidu.object=baidu.object||{};baidu.extend=baidu.object.extend=function(c,a){for(var b in a){if(a.hasOwnProperty(b)){c[b]=a[b]}}return c};(function(){var a=window[baidu.guid];baidu.lang.guid=function(){return"TANGRAM__"+(a._counter++).toString(36)};a._counter=a._counter||1})();window[baidu.guid]._instances=window[baidu.guid]._instances||{};baidu.lang.isFunction=function(a){return"[object Function]"==Object.prototype.toString.call(a)};baidu.lang.Class=function(a){this.guid=a||baidu.lang.guid();window[baidu.guid]._instances[this.guid]=this};window[baidu.guid]._instances=window[baidu.guid]._instances||{};baidu.lang.Class.prototype.dispose=function(){delete window[baidu.guid]._instances[this.guid];for(var a in this){if(!baidu.lang.isFunction(this[a])){delete this[a]}}this.disposed=true};baidu.lang.Class.prototype.toString=function(){return"[object "+(this._className||"Object")+"]"};baidu.lang.Event=function(a,b){this.type=a;this.returnValue=true;this.target=b||null;this.currentTarget=null};baidu.lang.Class.prototype.addEventListener=function(d,c,b){if(!baidu.lang.isFunction(c)){return}!this.__listeners&&(this.__listeners={});var a=this.__listeners,e;if(typeof b=="string"&&b){if(/[^\w\-]/.test(b)){throw ("nonstandard key:"+b)}else{c.hashCode=b;e=b}}d.indexOf("on")!=0&&(d="on"+d);typeof a[d]!="object"&&(a[d]={});e=e||baidu.lang.guid();c.hashCode=e;a[d][e]=c};baidu.lang.Class.prototype.removeEventListener=function(d,c){if(typeof c!="undefined"){if((baidu.lang.isFunction(c)&&!(c=c.hashCode))||(!baidu.lang.isString(c))){return}}!this.__listeners&&(this.__listeners={});d.indexOf("on")!=0&&(d="on"+d);var b=this.__listeners;if(!b[d]){return}if(typeof c!="undefined"){b[d][c]&&delete b[d][c]}else{for(var a in b[d]){delete b[d][a]}}};baidu.lang.Class.prototype.dispatchEvent=function(d,a){if(baidu.lang.isString(d)){d=new baidu.lang.Event(d)}!this.__listeners&&(this.__listeners={});a=a||{};for(var c in a){d[c]=a[c]}var c,b=this.__listeners,e=d.type;d.target=d.target||this;d.currentTarget=this;e.indexOf("on")!=0&&(e="on"+e);baidu.lang.isFunction(this[e])&&this[e].apply(this,arguments);if(typeof b[e]=="object"){for(c in b[e]){b[e][c].apply(this,arguments)}}return d.returnValue};baidu.global=baidu.global||{};(function(){var a=window[baidu.guid];baidu.global.get=function(b){return a[b]}})();baidu.lang.createClass=function(f,b){b=b||{};var e=b.superClass||baidu.lang.Class;var d=function(){if(e!=baidu.lang.Class){e.apply(this,arguments)}else{e.call(this)}f.apply(this,arguments)};d.options=b.options||{};var h=function(){},g=f.prototype;h.prototype=e.prototype;var a=d.prototype=new h();for(var c in g){a[c]=g[c]}typeof b.className=="string"&&(a._className=b.className);a.constructor=g.constructor;d.extend=function(k){for(var j in k){d.prototype[j]=k[j]}return d};return d};baidu.fx.Timeline=baidu.lang.createClass(function(a){baidu.object.extend(this,baidu.fx.Timeline.options);baidu.object.extend(this,a)},{className:"baidu.fx.Timeline",options:{interval:16,duration:500,dynamic:true}}).extend({launch:function(){var a=this;a.dispatchEvent("onbeforestart");typeof a.initialize=="function"&&a.initialize();a["\x06btime"]=new Date().getTime();a["\x06etime"]=a["\x06btime"]+(a.dynamic?a.duration:0);a["\x06pulsed"]();return a},"\x06pulsed":function(){var b=this;var a=new Date().getTime();b.percent=(a-b["\x06btime"])/b.duration;b.dispatchEvent("onbeforeupdate");if(a>=b["\x06etime"]){typeof b.render=="function"&&b.render(b.transition(b.percent=1));typeof b.finish=="function"&&b.finish();b.dispatchEvent("onafterfinish");b.dispose();return}typeof b.render=="function"&&b.render(b.transition(b.percent));b.dispatchEvent("onafterupdate");b["\x06timer"]=setTimeout(function(){b["\x06pulsed"]()},b.interval)},transition:function(a){return a},cancel:function(){this["\x06timer"]&&clearTimeout(this["\x06timer"]);this["\x06etime"]=this["\x06btime"];typeof this.restore=="function"&&this.restore();this.dispatchEvent("oncancel");this.dispose()},end:function(){this["\x06timer"]&&clearTimeout(this["\x06timer"]);this["\x06etime"]=this["\x06btime"];this["\x06pulsed"]()}});baidu.fx.create=function(d,b,c){var e=new baidu.fx.Timeline(b);e.element=d;e._className=c||e._className;e["\x06original"]={};var a="baidu_current_effect";e.addEventListener("onbeforestart",function(){var g=this,f;g.attribName="att_"+g._className.replace(/\W/g,"_");f=g.element.getAttribute(a);g.element.setAttribute(a,(f||"")+"|"+g.guid+"|",0);if(!g.overlapping){(f=g.element.getAttribute(g.attribName))&&window[baidu.guid]._instances[f].cancel();g.element.setAttribute(g.attribName,g.guid,0)}});e["\x06clean"]=function(h){var g=this,f;if(h=g.element){h.removeAttribute(g.attribName);f=h.getAttribute(a);f=f.replace("|"+g.guid+"|","");if(!f){h.removeAttribute(a)}else{h.setAttribute(a,f,0)}}};e.addEventListener("oncancel",function(){this["\x06clean"]();this["\x06restore"]()});e.addEventListener("onafterfinish",function(){this["\x06clean"]();this.restoreAfterFinish&&this["\x06restore"]()});e.protect=function(f){this["\x06original"][f]=this.element.style[f]};e["\x06restore"]=function(){var j=this["\x06original"],h=this.element.style,f;for(var g in j){f=j[g];if(typeof f=="undefined"){continue}h[g]=f;if(!f&&h.removeAttribute){h.removeAttribute(g)}else{if(!f&&h.removeProperty){h.removeProperty(g)}}}};return e};baidu.fx.scale=function(c,a){if(!(c=baidu.dom.g(c))){return null}a=baidu.object.extend({from:0.1,to:1},a||{});var e=/^(-?\d+px|\d?\d(\.\d+)?%|100%|left|center|right)(\s+(-?\d+px|\d?\d(\.\d+)?%|100%|top|center|bottom))?/i;!e.test(a.transformOrigin)&&(a.transformOrigin="0px 0px");var b={},d=baidu.fx.create(c,baidu.object.extend({fade:true,initialize:function(){baidu.dom.show(c);var k=this,f=b,p=c.style,j=function(o){k.protect(o)};if(baidu.browser.ie){j("top");j("left");j("position");j("zoom");j("filter");this.offsetX=parseInt(baidu.dom.getStyle(c,"left"))||0;this.offsetY=parseInt(baidu.dom.getStyle(c,"top"))||0;if(baidu.dom.getStyle(c,"position")=="static"){p.position="relative"}e.test(this.transformOrigin);var i=RegExp["\x241"].toLowerCase(),h=RegExp["\x244"].toLowerCase(),l=this.element.offsetWidth,g=this.element.offsetHeight,n,m;if(/\d+%/.test(i)){n=parseInt(i,10)/100*l}else{if(/\d+px/.test(i)){n=parseInt(i)}else{if(i=="left"){n=0}else{if(i=="center"){n=l/2}else{if(i=="right"){n=l}}}}}if(!h){m=g/2}else{if(/\d+%/.test(h)){m=parseInt(h,10)/100*g}else{if(/\d+px/.test(h)){m=parseInt(h)}else{if(h=="top"){m=0}else{if(h=="center"){m=g/2}else{if(h=="bottom"){m=g}}}}}}p.zoom=this.from;f.cx=n;f.cy=m}else{j("WebkitTransform");j("WebkitTransformOrigin");j("MozTransform");j("MozTransformOrigin");j("OTransform");j("OTransformOrigin");j("transform");j("transformOrigin");j("opacity");j("KHTMLOpacity");p.WebkitTransform=p.MozTransform=p.OTransform=p.transform="scale("+this.from+")";p.WebkitTransformOrigin=p.MozTransformOrigin=p.OTransformOrigin=p.transformOrigin=this.transformOrigin}},render:function(i){var g=c.style,f=this.to==1,f=typeof this.opacityTrend=="boolean"?this.opacityTrend:f,h=f?this.percent:1-this.percent,j=this.to*i+this.from*(1-i);if(baidu.browser.ie){g.zoom=j;if(this.fade){g.filter="progid:DXImageTransform.Microsoft.Alpha(opacity:"+Math.floor(h*100)+")"}g.top=this.offsetY+b.cy*(1-j);g.left=this.offsetX+b.cx*(1-j)}else{g.WebkitTransform=g.MozTransform=g.OTransform=g.transform="scale("+j+")";if(this.fade){g.KHTMLOpacity=g.opacity=h}}}},a),"baidu.fx.scale");return d.launch()};baidu.fx.move=function(b,a){if(!(b=baidu.dom.g(b))||baidu.dom.getStyle(b,"position")=="static"){return null}a=baidu.object.extend({x:0,y:0},a||{});if(a.x==0&&a.y==0){return null}var c=baidu.fx.create(b,baidu.object.extend({initialize:function(){this.protect("top");this.protect("left");this.originX=parseInt(baidu.dom.getStyle(b,"left"))||0;this.originY=parseInt(baidu.dom.getStyle(b,"top"))||0},transition:function(d){return 1-Math.pow(1-d,2)},render:function(d){b.style.top=(this.y*d+this.originY)+"px";b.style.left=(this.x*d+this.originX)+"px"}},a),"baidu.fx.move");return c.launch()};baidu.fx.moveTo=function(d,b,c){if(!(d=baidu.dom.g(d))||baidu.dom.getStyle(d,"position")=="static"||typeof b!="object"){return null}var f=[b[0]||b.x||0,b[1]||b.y||0];var a=parseInt(baidu.dom.getStyle(d,"left"))||0;var g=parseInt(baidu.dom.getStyle(d,"top"))||0;var e=baidu.fx.move(d,baidu.object.extend({x:f[0]-a,y:f[1]-g},c||{}));return e};(function(){if(location.search.match(/pn=/)&&!location.search.match(/pn=0/)){return}var f=document.getElementById("main").getElementsByTagName("div")[0].getElementsByTagName("td")[0];if(!f){f=document.createElement("div");f.style.marginTop="10px";document.getElementById("main").insertBefore(f,document.getElementById("main").firstChild)}f.innerHTML='';var b=document.getElementById("center").getElementsByTagName("div")[0];if(b&&b.style.width=="85%"){b.style.display="none";b.innerHTML=""}var e=document.getElementById("right").getElementsByTagName("div");if(e&&e.length){for(var c=0;c";this.arena=this.field.firstChild;baidu.event.on(window,"onresize",function(){h.width=baidu.dom.g("center").offsetWidth;h.field&&(h.field.style.width=h.width+"px")});var m=this.source.getElementsByTagName("TABLE");var f=this.ts=[];this.max=m.length-1;for(var e=0;e190){var c=f[e].cloneNode(true);this.field.appendChild(c);c.style.position="absolute";c.style.top=(k.top-this.position.top)+"px";c.style.left=(k.left-this.position.left)+"px";this.otiose.push(c)}else{for(var j=0;j-1;a--){this.ts[a].style.visibility=""}document.body.style.overflow=this.bodyOverflow;baidu.lang.Class.prototype.dispose.call(this)},draw:function(d,g){for(var f=0,b=0;f0;a--){var e=Math.pow(2,a-1);if(d[f]&e){var c=this.pixels[b];if(!c.busy){this.arena.appendChild(c.element);c.busy=true;c.show()}c.setPosTop(this.pxheight*f);c.setPosLeft(this.pxwidth*((g||this.pxh)-a));b++}}}for(;b0;p--){var f=Math.pow(2,p-1);if(o[0][m]&f){b.push([g.pxwidth*(g.pxh-p),g.pxheight*m])}}}function d(){var i=new baidu.fx.Timeline();i.interval=50;i.duration=160;i.render=function(r){var q=document.body.style;var t=Math.ceil(r/0.25);q.paddingTop=q.paddingLeft=[7,4,2,1,0][t]+"px"};i.launch()}function l(v,u){baidu.browser.ie&&(u-=100);for(var s=0;s-1;n--){!g.pixels[n].busy&&(g.pixels[n].element.style.backgroundColor=g.bgcolor)&&g.pixels[n].hide()}}],[500,function(){for(var q=0;q=b.length){break}}}}],[700,function(){var i=baidu.page.getViewHeight()-g.position.top-10;var r=g.scaleTo=parseFloat((i/(g.pxheight*g.pxv)).toFixed(2));var q=g.width-g.pxwidth*g.pxh*r;baidu.fx.scale(g.arena,{transformOrigin:"right top",duration:200,interval:40,from:1,to:r,fade:false})}],[1600,function(){g.draw(o[1]);k(30)}],[1700,function(){g.draw(o[2]);k(40)}],[1800,function(){g.draw(o[3]);k(50)}],[1900,function(){g.draw(o[4]);k(60)}],[2000,function(){g.draw(o[5]);k(70)}],[2100,function(){g.draw(o[6]);k(80)}],[2200,function(){g.draw(o[7]);k(90)}],[2300,function(){g.draw(o[8]);k(100)}],[2400,function(){g.draw(o[9]);k(120);d()}],[2800,function(){g.draw(o[10]);k(130)}],[2900,function(){g.draw(o[11]);k(140)}],[3000,function(){g.draw(o[12]);k(150)}],[3100,function(){g.draw(o[13]);k(160)}],[3200,function(){g.draw(o[14]);k(170)}],[3300,function(){g.draw(o[15]);k(180)}],[3400,function(){g.draw(o[16]);k(190)}],[3500,function(){g.draw(o[17]);k(200);d()}],[3900,function(){g.draw(o[18]);k(180)}],[3900,function(){g.draw(o[19])}],[4000,function(){g.draw(o[20])}],[4100,function(){g.draw(o[21])}],[4200,function(){g.draw(o[22])}],[4600,function(){g.field.style.left=g.zhong+"px";g.arenaMarginLeft+=g.zhong;g.arena.style.marginLeft=-g.arenaMarginLeft+"px";l(2,200)}],[4700,function(){l(5,200)}],[4800,function(){l(10,200)}],[4900,function(){l(16,200)}],[5000,function(){l(32,200)}],[5200,function(){g.field.style.top=g.position.top+"px";for(var q=0;q-1;q--){var n=g.pixels[q];if(h(n)>0){g.arena.appendChild(n.element)}}g.field.parentNode.insertBefore(g.arena,g.field);g.arena.style.left=g.zhong+"px";g.arena.style.top=g.position.top+"px";baidu.fx.moveTo(g.field,[g.pxwidth*(g.dis/2)+g.zhong,g.position.top],{duration:600,transition:function(i){return 1-(Math.cos(i*4.5*Math.PI)*Math.exp(-i*6))}});baidu.fx.moveTo(g.arena,[g.pxwidth*(-g.dis/2)+g.zhong,g.position.top],{duration:600,transition:function(i){return 1-(Math.cos(i*4.5*Math.PI)*Math.exp(-i*6))}})}],[6600,function(){for(var q=0;q-1;q--){var n=g.pixels[q];if(h(n)>0){g.field.appendChild(n.element);n.element.style.left=n.left-g.position.left+"px"}}g.field.appendChild(g.arena)}],[6700,function(){baidu.fx.moveTo(g.field,[g.position.left,g.position.top],{duration:600,onafterfinish:function(){g.dismiss()},transition:function(i){return 1-(Math.cos(i*4.5*Math.PI)*Math.exp(-i*6))}})}]];for(var j=0;j