rem: var title = document.createTextNode(layers[i].getAttribute('title')); 
add:  var title = Builder.node('p',{},layers[i].getAttribute('title'));   
context: function im_buildLayerList(req) {	var layers = req.responseXML.getElementsByTagName('layer');		// delete all layers from the list	var ul = $('im_layersDiv').getElementsByTagName('ul')[0];	deleteChildNodes(ul);		// add each layer to the list	for (var i = 0; i < layers.length; i++)	{		var title = document.createTextNode(layers[i].getAttribute('title'));		var id = layers[i].getAttribute('id');		var transp = layers[i].getAttribute('transparency');				var addup = i>0;		var adddown = (i<layers.length-1)&&(layers.length>1);				appendToLayerList(ul, title, id, transp,addup, adddown);	}		// activate the first layer if none active	if (!activeLayerId)		activateMapLayer(layers[0].getAttribute('id'));}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/d860963afcc23077a988cf109abe62a0edcdd6ac/im_layers.js/clean/web/intermap/scripts/im_layers.js