rem: top: Element.getStyle(element, 'top'), left: Element.getStyle(element, 'left') }; return new Effect.MoveBy(element, 0, 20, { duration: 0.05, afterFinishInternal: function(effect) { new Effect.MoveBy(effect.element, 0, -40, { duration: 0.1, afterFinishInternal: function(effect) { new Effect.MoveBy(effect.element, 0, 40, { duration: 0.1, afterFinishInternal: function(effect) { new Effect.MoveBy(effect.element, 0, -40, { duration: 0.1, afterFinishInternal: function(effect) { new Effect.MoveBy(effect.element, 0, 40, { duration: 0.1, afterFinishInternal: function(effect) { new Effect.MoveBy(effect.element, 0, -20, { duration: 0.05, afterFinishInternal: function(effect) { with(Element) { undoPositioned(effect.element); setStyle(effect.element, oldStyle); }}}) }}) }}) }}) }}) }}); 
add: 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().setStyle(oldStyle); }}) }}) }}) }}) }}) }}); 
context: Effect.Shake = function(element) {  element = $(element);  var oldStyle = {    top: Element.getStyle(element, 'top'),    left: Element.getStyle(element, 'left') };  return new Effect.MoveBy(element, 0, 20,     { duration: 0.05, afterFinishInternal: function(effect) {  new Effect.MoveBy(effect.element, 0, -40,     { duration: 0.1, afterFinishInternal: function(effect) {  new Effect.MoveBy(effect.element, 0, 40,     { duration: 0.1, afterFinishInternal: function(effect) {  new Effect.MoveBy(effect.element, 0, -40,     { duration: 0.1, afterFinishInternal: function(effect) {  new Effect.MoveBy(effect.element, 0, 40,     { duration: 0.1, afterFinishInternal: function(effect) {  new Effect.MoveBy(effect.element, 0, -20,     { duration: 0.05, afterFinishInternal: function(effect) { with(Element) {        undoPositioned(effect.element);        setStyle(effect.element, oldStyle);  }}}) }}) }}) }}) }}) }});}
meta: 6359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6359/52d313976f72b3f30c833a7675d476a595bc284d/effects.js/clean/web/js/effects.js