     this["traitname"] = tname;
 
     var nta = new Object();
-    for (a in ta) {
+    for (var a in ta) {
         if (a != "name") nta[a] = ta[a];
     }
     this["attrs"] = nta;

    var interstitial = trait.interstitials[supername];
    
    if (interstitial == null) {
        var interstitialname = "__LZtrait$" + trait.name + "$" + _root.LzTrait.traitnum++;
        
        var initattrs = new Object();
        initattrs.__proto__ = trait.attrs;
        initattrs["trait"] = trait;

);

LzTrait.traits = {};

//------------------------------------------------------------------------------
// @keywords private
