rem: function displayMessage(m, /* optional */ elemid) { var color = 'red'; if (m.type == 'ok') { color = 'green'; } else if (m.type == 'info') {  logDebug(m.message); return; 
add: function displayMessage(message, type) {  if (!type || (type != 'ok' && type != 'error')) { type = 'info'; 
context: function displayMessage(m, /* optional */ elemid) {    var color = 'red';    if (m.type == 'ok') {        color = 'green';    }    else if (m.type == 'info') {        //color = '#aa6;';        logDebug(m.message);        return;    }    if (typeof(elemid) == 'undefined') {        elemid = 'messages';    }    var message = DIV({'style':'color:'+color+';'},m.message);    appendChildNodes(elemid, message);    //callLater(2, function() {    //    removeElement(message);    //    //fade(message);    //});}
meta: 5659	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5659/41d6d2fae0bfd8fa7dc95a7f68afc350be1f9ff4/mahara.js/buggy/htdocs/js/mahara.js