YUI.add("history-hash-ie",function(e,a){var n,t,o,r,i;e.UA.ie&&!e.HistoryBase.nativeHashChange&&(n=e.Do,t=YUI.namespace("Env.HistoryHash"),o=e.HistoryHash,r=t._iframe,i=e.config.win,o.getIframeHash=function(){if(!r||!r.contentWindow)return"";var e=o.hashPrefix,a=r.contentWindow.location.hash.substr(1);return e&&0===a.indexOf(e)?a.replace(e,""):a},o._updateIframe=function(e,a){var n=r&&r.contentWindow&&r.contentWindow.document,t=n&&n.location;n&&t&&(a?t.replace("#"===e.charAt(0)?e:"#"+e):(n.open().close(),t.hash=e))},n.before(o._updateIframe,o,"replaceHash",o,!0),r||e.on("domready",function(){var a=o.getHash();r=t._iframe=e.Node.getDOMNode(e.Node.create('<iframe src="javascript:0" style="display:none" height="0" width="0" tabindex="-1" title="empty"/>')),e.config.doc.documentElement.appendChild(r),o._updateIframe(a||"#"),e.on("hashchange",function(e){a=e.newHash,o.getIframeHash()!==a&&o._updateIframe(a)},i),e.later(50,null,function(){var e=o.getIframeHash();e!==a&&o.setHash(e)},null,!0)}))},"patched-v3.18.3",{requires:["history-hash","node-base"]});