+ var val = this.getAttribute('_last_val');
+ if (val != get_amount(this.name)) {
+ this.setAttribute('_last_val', get_amount(this.name));
+ price_format(this.name, get_amount(this.name), dec);
+ if (e.className.match(/\bactive\b/))
+ JsHttpRequest.request('_'+this.name+'_changed', this.form);
+ }