// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

function highlightMessage() {
	quickPane = $('quickmessage')
	if (quickPane) {
		
		new Effect.Highlight(quickPane, {startcolor: '#000000', 
																			endcolor: '#cccccc', 
																			duration: 2,
																			beforeStart: function(){quickPane.setStyle({color: '#000'})},
																			afterFinish: function(){quickPane.setStyle({color: '#ccc'})}
																		})
	}
}

Event.observe(window, 'load', highlightMessage)
