rem: top: Element.getStyle(element, 'top'), left: Element.getStyle(element, '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) { 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(); effect.element.setStyle(oldStyle); }}) }}) }}) }}) }}) }}); 
context: Effect.Shake = function(element) {  element = $(element);  var oldStyle = {    top: Element.getStyle(element, 'top'),    left: Element.getStyle(element, '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) { with(Element) {        undoPositioned(effect.element);        setStyle(effect.element, oldStyle);  }}}) }}) }}) }}) }}) }});}
meta: 1782	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1782/a458ebb30ee90b66048c7fd858f5f39957a9be68/effects.js/clean/webapp/sandbox/scripts/effects.js