Effect.Transitions.pulse = function(pos) { return (Math.floor(pos*10) % 2 == 0 ? (pos*10-Math.floor(pos*10)) : 1-(pos*10-Math.floor(pos*10))); } 
pulse: function(pos, pulses) { pulses = pulses || 5; return ( Math.round((pos % (1/pulses)) * pulses) == 0 ? ((pos * pulses * 2) - Math.floor(pos * pulses * 2)) : 1 - ((pos * pulses * 2) - Math.floor(pos * pulses * 2)) ); }, 
Effect.Transitions.pulse = function(pos) {  return (Math.floor(pos*10) % 2 == 0 ?     (pos*10-Math.floor(pos*10)) : 1-(pos*10-Math.floor(pos*10)));}
6445	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6445/81ea0800bc8ad92d491743716cd489cad7333723/effects.js/buggy/vendor/rails/railties/html/javascripts/effects.js