if(typeof Ext=="undefined"){throw"Unable to load Shadowbox, core Ext framework not found"}var Shadowbox={};Shadowbox.lib=function(){var A=Ext.lib.Event;return{adapter:"ext",getStyle:function(C,B){return Ext.get(C).getStyle(B)},setStyle:function(C,B,D){Ext.get(C).setStyle(B,D)},get:function(B){return Ext.getDom(B)},remove:function(B){Ext.get(B).remove()},getTarget:function(B){return A.getTarget(B)},getPageXY:function(B){return[A.getPageX(B),A.getPageY(B)]},preventDefault:function(B){A.preventDefault(B)},keyCode:function(B){return A.getCharCode(B)},addEvent:function(D,B,C){A.addListener(D,B,C)},removeEvent:function(D,B,C){A.removeListener(D,B,C)},append:function(C,B){Ext.DomHelper.append(C,B)}}}();