function HtmlControl(html,options){this.html=html;this.isVisible=true;this.isPrintable=false;this.isSelectable=false;if(options){this.isVisible=(options.visible===false)?false:true;this.isPrintable=(options.printable===true)?true:false;this.isSelectable=(options.selectable===true)?true:false}}HtmlControl.prototype=new GControl();HtmlControl.prototype.initialize=function(map){this.div=document.createElement('div');this.div.innerHTML=this.html;this.setVisible(this.isVisible);map.getContainer().appendChild(this.div);return this.div};HtmlControl.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_TOP_LEFT,new GSize(7,7))};HtmlControl.prototype.selectable=function(){return this.isSelectable};HtmlControl.prototype.printable=function(){return this.isPrintable};HtmlControl.prototype.setVisible=function(bool){this.div.style.display=bool?'':'none';this.isVisible=bool};HtmlControl.prototype.visible=function(){return this.isVisible}	
