if(typeof dojo=="undefined"){throw"Unable to load Shadowbox, Dojo Toolkit not found."}var Shadowbox={};Shadowbox.lib={getStyle:function(B,A){return dojo.style(B,A)},setStyle:function(C,B,D){if(typeof B=="object"){for(var A in B){dojo.style(C,A,B[A])}}else{dojo.style(C,B,D)}},get:function(A){return dojo.byId(A)},remove:function(A){dojo._destroyElement(A)},getTarget:function(A){return A.target},preventDefault:function(A){A.preventDefault()},addEvent:function(D,A,C){var B=dojo.connect(D,A,C);Shadowbox.lib._dojoEvents.push({el:D,name:A,handle:B})},_dojoEvents:[],removeEvent:function(C,A,B){dojo.forEach(Shadowbox.lib._dojoEvents,function(E,D){if(E&&E.el==C&&E.name==A){dojo.disconnect(E.handle);Shadowbox.lib._dojoEvents[D]=null}})},animate:function(C,E,D,F){var B={};for(var A in E){B[A]={end:E[A].to}}dojo.animateProperty({node:C,properties:B,duration:D*1000,onEnd:F}).play(1)}}