
function Widget_Base(htmlId,serverId){this.serverId=serverId;if(htmlId!=-99){if(htmlId instanceof Array){this.containerObjs=new Array();this.containerIds=htmlId;for(i=0;i<htmlId.length;i++){this.containerObjs[i]=document.getElementById(htmlId[i]);if(!this.containerObjs[i]){alert("Failed to find "+htmlId[i]);}}}else{this.containerId=htmlId;this.containerObj=document.getElementById(this.containerId);if(!this.containerObj){alert("Failed to find "+htmlId);}}}
this.htmlObj=null;var me=this;this.saveState=function(){return null;}}