rem: effect.element.undoPositioned(); effect.element.setStyle(oldStyle); 
add: effect.element.undoPositioned().setStyle(oldStyle); 
context: Effect.Shake = function(element) {  element = $(element);  var oldStyle = {    top: element.getStyle('top'),    left: element.getStyle('left') };    return new Effect.Move(element,       { x:  20, y: 0, duration: 0.05, afterFinishInternal: function(effect) {    new Effect.Move(effect.element,      { x: -40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {    new Effect.Move(effect.element,      { x:  40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {    new Effect.Move(effect.element,      { x: -40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {    new Effect.Move(effect.element,      { x:  40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {    new Effect.Move(effect.element,      { x: -20, y: 0, duration: 0.05, afterFinishInternal: function(effect) {        effect.element.undoPositioned();        effect.element.setStyle(oldStyle);  }}) }}) }}) }}) }}) }});}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/effects.js/clean/www/resources/scriptaculous/effects.js