function zimmerPreise() { } zimmerPreise.prototype.init = function() { var inh = gEL("zimmerPreise"); if(!inh) return; setVisible(inh,true); this.sstab.setMN(0); //this.sstab.resize(); if(this.ztyp1) this.ztyp1.setListindex(0); if(this.ztyp2) this.ztyp2.setListindex(0); if(this.ztyp4) this.ztyp4.setListindex(0); if(this.ztyp3) this.ztyp3.setListindex(0); if(this.ztyp5) this.ztyp5.setListindex(0); } zimmerPreise.prototype.lvZkat_Click = function(recID,items) { for(var i = 0; i < this.zk.length; i++) { var div = this.zk[i]; var cod = "none"; if(i==recID) var cod = "block"; div.style.display = cod; } } zimmerPreise.prototype.ztyp1_Click = function(recID,items) { for(var i = 0; i < this.ztyp1.listcount; i++) { var div = gEL("zk1_"+i); var cod = false; if(i==recID) cod=true; setVisible(div,cod); } } zimmerPreise.prototype.ztyp2_Click = function(recID,items) { for(var i = 0; i < this.ztyp2.listcount; i++) { var div = gEL("zk2_"+i); var cod = false; if(i==recID) cod=true; setVisible(div,cod); } } zimmerPreise.prototype.ztyp4_Click = function(recID,items) { for(var i = 0; i < this.ztyp4.listcount; i++) { var div = gEL("zk4_"+i); var cod = false; if(i==recID) cod=true; setVisible(div,cod); } } zimmerPreise.prototype.ztyp3_Click = function(recID,items) { for(var i = 0; i < this.ztyp3.listcount; i++) { var div = gEL("zk3_"+i); var cod = false; if(i==recID) cod=true; setVisible(div,cod); } } zimmerPreise.prototype.ztyp5_Click = function(recID,items) { for(var i = 0; i < this.ztyp5.listcount; i++) { var div = gEL("zk5_"+i); var cod = false; if(i==recID) cod=true; setVisible(div,cod); } }