
var googlecalendar=$.inherit(Module,{__constructor:function(div){this.__base(div);this.type="googlecalendar";var tmp=this;this.addEventListener("lightbox",function(e){tmp.onLightbox(e);});this.addEventListener("saveInfo",function(e){tmp.onSaveInfo(e);});},showSomething:function(msg){var obj={"message":msg,"id":"showMessage"};this.lyAjaxObj(obj,"lightbox");return false;},onLightbox:function(evt){var data=evt.lyResponse;if(data.error){Lycos.ui.lightbox.hide();alert(data.error);return;}
Lycos.ui.lightbox.populate(data.html);},saveInfo:function(form){this.lyAjaxForm(form);return false;},onSaveInfo:function(evt){if(evt.lyResponse.error){alert(evt.lyResponse.error);}}});
