/* * history API JavaScript Library v3.2.1 * * Support: IE8+, FF3+, Opera 9+, Safari, Chrome * * Copyright 2011-2012, Dmitriy Pakhtinov ( spb.piksel@gmail.com ) * * http://spb-piksel.ru/ * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Update: 17-11-2012 */ (function(d,t,i,l,B){function C(a,f,b){var e=2===a?d.onhashchange:d.onpopstate,c=2===a?"hashchange":"popstate",h=u[c];o.createEvent?(a=o.createEvent("Events"),a.initEvent(c,i,i)):(a=o.createEventObject(),a.type=c);a.state=k.state;a.oldURL=f;a.newURL=b;e&&e.call(d,a);f=0;for(b=h.length;f