Function.prototype.bind=function (object) { var __method=this; return function () { __method.apply(object,arguments); }; };
//绑定事件 Function.prototype.bindAsEventListener=function (object) { var __method=this; return function (event){__method.call(object,event||window.event);}; };