/*
	# Do not manually modify the SVN values below
	$LastChangedDate: 2008-04-24 14:15:50 -0500 (Thu, 24 Apr 2008) $
	$LastChangedRevision: 253 $
	$LastChangedBy: david $
	$HeadURL: http://dev24.peritusdesign.com:880/svn/cmsdev/branches/version_2.1/_pdwms/media/support/shadowbox/adapter/shadowbox-mootools.js $
	$Id: shadowbox-mootools.js 253 2008-04-24 19:15:50Z david $
*/
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}}})