2 highlight: function(element, color, timeout) {
4 if (typeof timeout === "undefined") {
7 current = element.getStyle('backgroundColor');
8 Element.setStyle(element, {'backgroundColor': color});
9 Element.setStyle.delay(timeout, element, {'backgroundColor': current});