add: if (!objects.length) { document.getElementById('objectList').innerHTML = ''; return; }  
context: function renderObjectList(result) {    var objects = result.getElementsByTagName('object');        var href = objects.item(0).getElementsByTagName('href');    var data = new Array();    for (var i=0; i<objects.length; i++) {	var obj = objects[i];	var item = new Array();	for (var j=0; j<obj.childNodes.length; j++) {	    item[obj.childNodes[j]['tagName']] = obj.childNodes[j]['textContent'];	}	data[i] = item;    }    var content = '';    for (var i=0; i<data.length; i++) {	var item = data[i];	content += '<div class="freetagObject">';	content += '  <div class="freetagObjectName">';	content += '    <a href="'+item['href']+'">'+item['name']+'</a>';	content += '  </div>';	content += '  <div class="freetagObjectType">'+item['type']+'</div>';	content += '  <div class="freetagObjectDescription">'+item['description']+'</div>';	content += '</div>';    }    document.getElementById('objectList').innerHTML = content;    }
meta: 1064	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1064/c81f31ab10f92ac945c12ff6de2d3478cde4b0b2/freetag_ajax.js/clean/tiki/lib/freetag/freetag_ajax.js