/*! * author: liujiaqi@cmcm.com * date: 2014-10-20 18:13:10 * include "createclass.js" * include "lazyload.js" * include "animation.js" * include "jpromise.js" * include "h5media.js" * include "jquery-1.11.1.min.js" * include "common.js" */ !function(e,u,q){function l(e,w){for(var s=0,n=e.length,r=[],b;s=n.wst&&b.top-l<=n.wst+n.wh&&b.left+r.offsetwidth+l>=n.wsl&&b.left-l<=n.wsl+n.ww?this.cb.call(this.splice(e,1)[0]):e++}return this},empty:function(){this.length=0;return this}};q.fn.init.prototype=q.fn;return e[u]=q})(window,"lazyload",function(e,u){return new arguments.callee.fn.init(e,u)});(function(e,u,q){var l=e.requestanimationframe||e.webkitrequestanimationframe||e.mozrequestanimationframe||e.msrequestanimationframe||function(e){return settimeout(e,30)},x=e.cancelanimationframe||e.webkitcancelanimationframe||e.webkitcancelrequestanimationframe||e.mozcancelrequestanimationframe||e.mscancelrequestanimationframe||cleartimeout;"function"!=typeof function.prototype.bind&&(function.prototype.bind=function(e){var s=this;return function(){return s.apply(e,arguments)}});"function"!=typeof array.prototype.foreach&& (array.prototype.foreach=function(e){for(var s=0,l=this.length,x;s=e&&(l=x,s.call(this))})},setduration:function(e){this.timeout=(this.duration?this.timeout/this.duration:0)*(this.duration=parsefloat(e)|| 0);return this},settween:function(e){this.easefunc="function"==typeof e?e:function(e,l,x,q){return x*e/q+l};return this}};["start","next","stop","finish"].foreach(function(e){u.prototype[e]=function(s){return"function"==typeof s?this.on(e,s):this["_"+e]()}});e.animation=u})(window,function(e,u){if(!(this instanceof arguments.callee))return new arguments.callee(e,u);this.setduration(e).settween(u).bindevent()});(function(e,u,q){"function"!=typeof function.prototype.bind&&(function.prototype.bind=function(e){var l=this;return function(){return l.apply(e,arguments)}});"function"!=typeof array.prototype.foreach&&(array.prototype.foreach=function(e){for(var l=0,x=this.length,q;lg;g++)d.event.add(c,f,e[f][g])}k.data&&(k.data=d.extend({},k.data))}}function bb(a,c){var f,g=d(c.createelement(a)).appendto(c.body),h=e.getdefaultcomputedstyle&&(f=e.getdefaultcomputedstyle(g[0]))?f.display:d.css(g[0],"display");return g.detach(),h}function xa(a){var c=z,f=cb[a];return f||(f=bb(a,c),"none"!==f&&f||(sa=(sa||d("