if(typeof Prototype=="undefined"){throw"Unable to load Shadowbox adapter, Prototype not found"}if(typeof Shadowbox=="undefined"){throw"Unable to load Shadowbox adapter, Shadowbox not found"}(function(b){var c=Event,a=Element;b.lib={getStyle:function(e,d){return a.getStyle(e,d)},remove:function(d){a.remove(d)},getTarget:function(d){return c.element(d)},getPageXY:function(d){return[c.pointerX(d),c.pointerY(d)]},preventDefault:function(d){c.stop(d)},keyCode:function(d){return d.keyCode},addEvent:function(f,d,e){c.observe(f,d,e)},removeEvent:function(f,d,e){c.stopObserving(f,d,e)},append:function(e,d){a.insert(e,d)}}})(Shadowbox);