rem: var tx = doc.getElementById("bxColorSwatch"); 
add: tx = doc.getElementById("bxColorSwatch"); 
context:   showColor: function(aColor)  {    var doc = this.mColorDialogWin.document;    var tx = doc.getElementById("txColor");    tx.setAttribute("value", aColor);    var tx = doc.getElementById("bxColorSwatch");    tx.setAttribute("style", "background-color: " + aColor);  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a7c48464e3280bcd1d3585d7cc0bc61c943ad5a5/boxModel.js/buggy/extensions/inspector/resources/content/viewers/boxModel/boxModel.js