rem: cBox.onclick = new Function( "return BoxClick( " + cBoxIndex + ")"); 
context: function CreateField( name, index, on, cBoxIndex){	var item = document.createElement('treeitem');	var row = document.createElement('treerow');	var cell = document.createElement('treecell');	cell.setAttribute('value', name);	item.setAttribute('field-index', index);		var cCell = document.createElement( 'treecell');	var cBox = document.createElement( 'html:input');	cBox.setAttribute( 'type', "checkbox");	if (on == true)		cBox.setAttribute( 'checked', "true");	cBox.onclick = new Function( "return BoxClick( " + cBoxIndex + ")");	cCell.appendChild( cBox);	cCell.setAttribute( 'allowevents', "true");		row.appendChild( cCell);	row.appendChild(cell);	cell = document.createElement( 'treecell');	cell.setAttribute( "class", "importsampledata");	cell.setAttribute( 'value', " ");	cell.setAttribute( 'noDrag', "true");		// cell.setAttribute( 'style', "border-left: 5px grey ridge; padding-left: 10px;");			row.appendChild( cell);	item.appendChild(row);	// cBox.setAttribute( 'onclick', "return BoxClick( event.target);");	return( item);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7d7d90be2debe17fa89396154dcb369b5a39c217/fieldMapImport.js/clean/mailnews/import/resources/content/fieldMapImport.js