What's the best way to set up constraints on a javascript-created object? e.g. convert <LZClass height="40" width="${parent.width}" /> into javascript var obj = new LZClass(this, {height: 40}); ... then what? andrew