if(typeof Prototype=="undefined"){throw"Unable to load Shadowbox, Prototype framework not found."}if(typeof Effect=="undefined"){throw"Unable to load Shadowbox, Scriptaculous effects framework not found."}var Shadowbox={};Shadowbox.lib={getStyle:function(B,A){return Element.getStyle(B,A)},setStyle:function(C,B,D){if(typeof B!="object"){var A={};A[B]=D;B=A}Element.setStyle(C,B)},get:function(A){return $(A)},remove:function(A){Element.remove(A)},getTarget:function(A){return Event.element(A)},preventDefault:function(A){Event.stop(A)},addEvent:function(C,A,B){Event.observe(C,A,B)},removeEvent:function(C,A,B){Event.stopObserving(C,A,B)},animate:function(A,D,C,F){var E={};for(var B in D){for(var B in D){E[B]=String(D[B].to);if(B!="opacity"){E[B]+="px"}}}return new Effect.Morph(A,{afterFinish:F,duration:C,style:E})}}