/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
and is published under the AGPL license. */
/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
and is published under the AGPL license. */
function insertErrorBefore(elt, messageError) {
var message = new Element("div", {className: 'error'}).update(messageError);
elt.insert({before: message});
function insertErrorBefore(elt, messageError) {
var message = new Element("div", {className: 'error'}).update(messageError);
elt.insert({before: message});