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,h,g,i){var e=new YAHOO.util.Anim(c,h,g,YAHOO.util.Easing.easeOut);if(typeof i=="function"){var d=function(){e.onComplete.unsubscribe(d);i.call(e,e)};e.onComplete.subscribe(d,e,true)}e.animate()}}}();