Event.observe(window, 'load', initStyle, false);
function initStyle() {
	allSuccessNodes = document.getElementsByClassName('success');
	for (i = 0; i < allSuccessNodes.length; i++)  {
		new Effect.Highlight(allSuccessNodes[i],{startcolor:'#009900', endcolor:'#FFFFFF', duration:1.5});
	}
	allWarningNodes = document.getElementsByClassName('warning');
	for (i = 0; i < allWarningNodes.length; i++) {
		new Effect.Highlight(allWarningNodes[i],{startcolor:'#821517', endcolor:'#FFFFFF', duration:1.5});
	}
	allErrorNodes = document.getElementsByClassName('error');
	for (i = 0; i < allErrorNodes.length; i++) {
		new Effect.Highlight(allErrorNodes[i],{startcolor:'#821517', endcolor:'#FFFFFF', duration:1.5});
	}
	return false;
}
