(function(e){if(!e.u8){var t=n();if(t){e.u8=t.u8}if(!e.u8){if(typeof e.onNoFramework=="function"){e.onNoFramework()}else{e.location.replace("../default.htm")}return}}e.u8.ready(function(){u8.Base._Window.extend(e);return u8.create("Page",e)});function n(){var t=e;while(t){if(t.u8){return t}if(t==t.parent){break}t=t.parent}if(typeof e.opener!="undefined"&&e.opener&&typeof e.opener.u8=="object"){return e.opener}return null}if(typeof HTMLElement!="undefined"&&!HTMLElement.prototype.insertAdjacentElement){$.extend(HTMLElement.prototype,{insertAdjacentElement:function(e,t){switch(e){case"beforeBegin":this.parentNode.insertBefore(t,this);break;case"afterBegin":this.insertBefore(t,this.firstChild);break;case"beforeEnd":this.appendChild(t);break;case"afterEnd":if(this.nextSibling){this.parentNode.insertBefore(t,this.nextSibling)}else{this.parentNode.appendChild(t)}break}},insertAdjacentHTML:function(e,t){var n=this.ownerDocument.createRange();n.setStartBefore(this);var r=n.createContextualFragment(t);this.insertAdjacentElement(e,r)},insertAdjacentText:function(e,t){var n=document.createTextNode(t);this.insertAdjacentElement(e,n)},appendDataRow:function(){},moveToRow:function(){}})}})(window);$.window=function(){return window};