rem: element.style.overflow = 'hidden'; Element.show(element); 
add: var oldTop = element.style.top; var oldLeft = element.style.left; var oldHeight = element.style.height; var oldWidth = element.style.width; var oldOpacity = Element.getInlineOpacity(element); 
context: Effect.Shrink = function(element) {  element = $(element);  var options = arguments[1] || {};    var originalWidth = element.clientWidth;  var originalHeight = element.clientHeight;  element.style.overflow = 'hidden';  Element.show(element);  var direction = options.direction || 'center';  var moveTransition = options.moveTransition || Effect.Transitions.sinoidal;  var scaleTransition = options.scaleTransition || Effect.Transitions.sinoidal;  var opacityTransition = options.opacityTransition || Effect.Transitions.none;    var moveX, moveY;    switch (direction) {    case 'top-left':      moveX = moveY = 0;      break;    case 'top-right':      moveX = originalWidth;      moveY = 0;      break;    case 'bottom-left':      moveX = 0;      moveY = originalHeight;      break;    case 'bottom-right':      moveX = originalWidth;      moveY = originalHeight;      break;    case 'center':        moveX = originalWidth / 2;      moveY = originalHeight / 2;      break;  }    new Effect.Parallel(    [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: opacityTransition }),      new Effect.Scale(element, 0, { sync: true, transition: moveTransition }),      new Effect.MoveBy(element, moveY, moveX, { sync: true, transition: scaleTransition }) ],    options);}
meta: 863	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/863/3f913f897829fb026ef98df2d57f8da94ee5339d/effects.js/clean/public/javascripts/effects.js