function errorColoring(xIconPath) {
	// turn error-msg red
	var reError=/\.errors$/;
	jq('span').each(function(i, o) {
		if (reError.test(o.id)) {
			var html=jq(o).html();
			if (xIconPath) {
				jq(o).html("<img src='"+xIconPath+"' align='absmiddle'/> "+html);
			}
			//jq(o).addClass('error');
			//jq(o).cssStyle('{color:red;padding-left:20px}');
			jq(o).css({color:'red', 'padding-left': '20px'});
		}

	});
}