function tomGbuch() { } tomGbuch.prototype.gbuch_form_doneSubmit = function(ret) { setVisible("gbuchForm",false); this.load("Vielen Dank für Ihren Eintrag! Gästebuch wird neu geladen .."); } tomGbuch.prototype.init = function() { this.load(); } tomGbuch.prototype.load = function(msg) { setVisible("gbuchInh",true); if(getWert(msg)=="") msg = "Gästebuch wird geladen .."; setContent("gbuchInh", web.sandclock+" "+msg); var data = "web="+web.webname+"&lang="+web.lang+"&cmd=load" var url = "/_gui/_ components/_ anzeige/gbuch/xGbuch.asp"; xmlhttp(url,data,this.doneLoad,"",this); } tomGbuch.prototype.doneLoad = function(ret) { dodebug(ret); setContent("gbuchInh", ret); } tomGbuch.prototype.enter = function() { this.gbuch_form.reset(); setVisible("gbuchInh",false); setVisible("gbuchForm",true); } tomGbuch.prototype.reset = function() { setVisible("gbuchInh",true); setVisible("gbuchForm",false); }