case 'center': 
case 'center': 
Effect.Shrink = function(element) {  element = $(element);  var options = Object.extend({    direction: 'center',    moveTransition: Effect.Transitions.sinoidal,    scaleTransition: Effect.Transitions.sinoidal,    opacityTransition: Effect.Transitions.none  }, arguments[1] || {});  var oldStyle = {    top: element.style.top,    left: element.style.left,    height: element.style.height,    width: element.style.width,    opacity: Element.getInlineOpacity(element) };  var dims = Element.getDimensions(element);  var moveX, moveY;    switch (options.direction) {    case 'top-left':      moveX = moveY = 0;      break;    case 'top-right':      moveX = dims.width;      moveY = 0;      break;    case 'bottom-left':      moveX = 0;      moveY = dims.height;      break;    case 'bottom-right':      moveX = dims.width;      moveY = dims.height;      break;    case 'center':        moveX = dims.width / 2;      moveY = dims.height / 2;      break;  }    return new Effect.Parallel(    [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: options.opacityTransition }),      new Effect.Scale(element, window.opera ? 1 : 0, { sync: true, transition: options.scaleTransition, restoreAfterFinish: true}),      new Effect.Move(element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition })    ], Object.extend({                     beforeStartInternal: function(effect) { with(Element) {           [makePositioned, makeClipping].call(effect.effects[0].element) }},         afterFinishInternal: function(effect) { with(Element) {           [hide, undoClipping, undoPositioned].call(effect.effects[0].element);           setStyle(effect.effects[0].element, oldStyle); }}       }, options)  );}
3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3727/f26de598115946c975d7d8c1f9a3c34da03381fa/effects.js/buggy/gallery/js/cropper/effects.js