if(typeof YAHOO=="undefined"){throw"Unable to load Shadowbox, core YUI utilities (yahoo, dom, event, anim) not found."}var Shadowbox={};Shadowbox.lib=function(){var A=YAHOO.util.Event;var B=YAHOO.util.Dom;return{getStyle:function(D,C){return B.getStyle(D,C)},setStyle:function(F,E,G){if(typeof E!="object"){var C={};C[E]=G;E=C}for(var D in E){B.setStyle(F,D,E[D])}},get:function(C){return B.get(C)},remove:function(C){C.parentNode.removeChild(C)},getTarget:function(C){return A.getTarget(C.browserEvent||C)},preventDefault:function(C){A.preventDefault(C.browserEvent||C)},addEvent:function(E,C,D){A.addListener(E,C,D)},removeEvent:function(E,C,D){A.removeListener(E,C,D)},animate:function(C,G,F,H){var E=new YAHOO.util.Anim(C,G,F,YAHOO.util.Easing.easeOut);if(typeof H=="function"){var D=function(){E.onComplete.unsubscribe(D);H.call(E,E)};E.onComplete.subscribe(D,E,true)}E.animate()}}}()