if(typeof MooTools=="undefined"){throw"Unable to load Shadowbox, MooTools library not found."}var Shadowbox={};Shadowbox.lib={getStyle:function(B,A){return $(B).getStyle(A)},setStyle:function(D,C,E){D=$(D);if(typeof C!="object"){var A={};A[C]=E;C=A}for(var B in C){D.setStyle(B,C[B])}},get:function(A){return $(A)},remove:function(A){A.parentNode.removeChild(A)},getTarget:function(A){return A.target},preventDefault:function(A){new Event(A).preventDefault()},addEvent:function(C,A,B){$(C).addEvent(A,B)},removeEvent:function(C,A,B){$(C).removeEvent(A,B)},animate:function(B,F,E,H){var A={duration:(E*1000)};if(typeof H=="function"){A.onComplete=H}var C=new Fx.Styles(B,A);var G={};for(var D in F){G[D]=String(F[D].to);if(D!="opacity"){G[D]+="px"}}C.start(G)}};Element.extend({setOpacity:function(A){var B=this.style;if(window.ie){B.zoom=1;B.filter=(B.filter||"").replace(/alpha\([^\)]*\)/gi,"")+(A==1?"":" alpha(opacity="+A*100+")")}else{B.opacity=A}}})