(function(e,t){"use strict";varn=e.History=e.History||{},r=e.MooTools,i=e.Element;if(typeofn.Adapter!="undefined")thrownewError("History.js Adapter has already been loaded...");Object.append(i.NativeEvents,{popstate:2,hashchange:2}),n.Adapter={bind:function(e,t,n){varr=typeofe=="string"?document.id(e):e;r.addEvent(t,n)},trigger:function(e,t,n){varr=typeofe=="string"?document.id(e):e;r.fireEvent(t,n)},extractEventData:function(e,n){varr=n&&n.event&&n.event[e]||n&&n[e]||t;returnr},onDomLoad:function(t){e.addEvent("domready",t)}},typeofn.init!="undefined"&&n.init()})(window)