Hedera.Items = new Class ({ Extends: Hedera.Form ,activate: function () { var set = this.$('set'); set.set ('warehouse', 7); set.set ('realm', null); } ,onShowClick: function () { var set = this.$('set'); set.set ('rate', this.$('rate').value); this.gui.openReport ('items-report', set.params); } });