function LogoMapControl(){};LogoMapControl.prototype=new GControl();LogoMapControl.prototype.initialize=function(map){var logo=new Element("div",{'ID':'logo','STYLE':'z-index: 100'});GEvent.addDomListener(logo,"click",function(){});map.getContainer().appendChild(logo);return logo;};LogoMapControl.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_TOP_LEFT,new GSize(10,10));};function ContentMapControl(content){me=this;this.content=content;};ContentMapControl.prototype=new GControl();ContentMapControl.prototype.initialize=function(map){var div=new Element("div",{'ID':'page_content','STYLE':'z-index: 100; '});div.update(me.content);map.getContainer().appendChild(div);return div;};ContentMapControl.prototype.selectable=function(){return true;};ContentMapControl.prototype.printable=function(){return true;};ContentMapControl.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_TOP_RIGHT,new GSize(350,80));};function DivMapControl(ids,hideSlider){this.ids=ids;this.hideSlider=hideSlider;};DivMapControl.prototype=new GControl();DivMapControl.prototype.initialize=function(map){var div=new Element("div");this.ids.each(function(id){var box=new Element("div",{'CLASS':'boxRight','ID':'boxRight'+id.capitalize()});var inner=new Element("div",{'ID':id});if(this.hideSlider||true)var boxTop=new Element("div",{'CLASS':'boxTop'});else var boxTop=new Element("div",{'CLASS':'boxTopUp'});var boxBg=new Element("div",{'CLASS':'boxBg','ID':'boxContent'+id.capitalize()});var boxBottom=new Element("div",{'CLASS':'boxBottom'});boxBg.appendChild(inner);box.appendChild(boxTop);box.appendChild(boxBg);box.appendChild(boxBottom);div.appendChild(box);});map.getContainer().appendChild(div);return div;};DivMapControl.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_TOP_LEFT,new GSize(10,10));};function FooterMapControl(){};FooterMapControl.prototype=new GControl();FooterMapControl.prototype.initialize=function(map){var box=new Element("div",{'ID':'footer'});var mStart=new Element("div",{'CLASS':'start'});var mBlue=new Element("div",{'CLASS':'blue','ID':'footerBlue'});var mBreak=new Element("div",{'CLASS':'break'});var mGreen=new Element("div",{'CLASS':'green','ID':'footerGreen'});var mEnd=new Element("div",{'CLASS':'end'});box.appendChild(mStart);box.appendChild(mBlue);box.appendChild(mBreak);box.appendChild(mGreen);box.appendChild(mEnd);map.getContainer().appendChild(box);return box;};FooterMapControl.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_TOP_LEFT,new GSize(10,10));};function MenuMapControl(){};MenuMapControl.prototype=new GControl();MenuMapControl.prototype.initialize=function(map){var box=new Element("div",{'ID':'header'});var mStart=new Element("div",{'CLASS':'start'});var mBlue=new Element("div",{'CLASS':'blue','ID':'menuStart'});var mBreak=new Element("div",{'CLASS':'break'});var mGray=new Element("div",{'CLASS':'gray','ID':'menuNavi'});var mEnd=new Element("div",{'CLASS':'end'});box.appendChild(mStart);box.appendChild(mBlue);box.appendChild(mBreak);box.appendChild(mGray);box.appendChild(mEnd);map.getContainer().appendChild(box);return box;};MenuMapControl.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_TOP_RIGHT,new GSize(10,10));};function MessageMapControl(){};MessageMapControl.prototype=new GControl();MessageMapControl.prototype.initialize=function(map){var box=new Element("div",{'ID':'system_messages','STYLE':'z-index: 110; display:none;'});map.getContainer().appendChild(box);return box;};MessageMapControl.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_TOP_RIGHT,new GSize(10,10));}
