rem: asset.div = document.getElementById(this.crumbtrail[i][0]); document.getElementById(this.crumbtrail[i][0]).asset = asset; 
add: if (this.displayCrumbTrail) { asset.div = document.getElementById(this.crumbtrail[i][0]); document.getElementById(this.crumbtrail[i][0]).asset = asset; } 
context: function AssetManager_buildCrumbTrail() {	var crumbtrail = document.getElementById("crumbtrail");	var contents = '<table><tr>';		var parentAssets = new Array();		for (i=0;i<this.crumbtrail.length;i++) {		contents += '<td id="' + this.crumbtrail[i][0] + '" class="am-crumbtrail">' + this.crumbtrail[i][2] + '</td>';				if (i != this.crumbtrail.length -1) {			contents += "<td>&nbsp;/&nbsp;</td>";		}		}		this.parentURL = "http://" + this.tools.getHostName(location.href) + this.crumbtrail[this.crumbtrail.length -1][1];		contents += '</tr></table>';			crumbtrail.innerHTML = contents;				//build assets attach the div properties	var lastAsset = null;	for (i=0; i< this.crumbtrail.length; i++ ) {		var asset = new CrumbTrailAsset();				asset.title = this.crumbtrail[i][2];		asset.url = this.crumbtrail[i][1];		asset.assetId = this.crumbtrail[i][0];		asset.parent = lastAsset;		lastAsset = asset;		asset.isParent = true;		asset.labels = this.labels;		asset.div = document.getElementById(this.crumbtrail[i][0]);		document.getElementById(this.crumbtrail[i][0]).asset = asset;		this.assets[this.assets.length] = asset;			}						return this.assets[this.assets.length -1];}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/349703173ecca3dde6079fc87ec12d2c96c28ac1/AssetManager.js/buggy/www/extras/assetManager/AssetManager.js