add: _alert("boo");  var the_id = node.getAttribute('id'); if(the_id != null) { var hs = _eventHandlers[the_id]; for(eventName in hs) { function h(e) { _alert("an event!");  }   switch (eventName) { case 'onsubmit': _alert("Event handler: "+the_id+", "+eventName); node.onsubmit = h; break; default: _alert("Event not supported in jslib.js yet: "+eventName); }  } }  
context:   return function(tag, attrs, body) {    var node = document.createElement(tag);   for (name in attrs) {      node.setAttribute(name, attrs[name]);   }   for (var i = 0; i < body.length; i++) {     var child = body[i];     if (typeof(child) == 'string') {       node.appendChild(document.createTextNode(child));     } else {       for (var j = 0; j < child.length; j++) {          node.appendChild(child[j]);       }     }   }   kappa([node]);  }
meta: 3248	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3248/4865664fdacdbfcb332f462cec48375e80d68c8b/jslib.js/clean/jslib.js