function ELabel(a,e,f,c,d,b){this.point=a;this.html=e;this.classname=f||"";this.pixelOffset=c||new GSize(0,0);if(d){if(d<0){d=0}if(d>100){d=100}}this.percentOpacity=d;this.overlap=b||false;this.hidden=false}ELabel.prototype=new GOverlay();ELabel.prototype.initialize=function(a){var c=document.createElement("div");c.style.position="absolute";c.innerHTML='<div class="'+this.classname+'">'+this.html+"</div>";a.getPane(G_MAP_FLOAT_SHADOW_PANE).appendChild(c);this.map_=a;this.div_=c;if(this.percentOpacity){if(typeof(c.style.filter)=="string"){c.style.filter="alpha(opacity:"+this.percentOpacity+")"}if(typeof(c.style.KHTMLOpacity)=="string"){c.style.KHTMLOpacity=this.percentOpacity/100}if(typeof(c.style.MozOpacity)=="string"){c.style.MozOpacity=this.percentOpacity/100}if(typeof(c.style.opacity)=="string"){c.style.opacity=this.percentOpacity/100}}if(this.overlap){var b=GOverlay.getZIndex(this.point.lat());this.div_.style.zIndex=b}if(this.hidden){this.hide()}};ELabel.prototype.remove=function(){this.div_.parentNode.removeChild(this.div_)};ELabel.prototype.copy=function(){return new ELabel(this.point,this.html,this.classname,this.pixelOffset,this.percentOpacity,this.overlap)};ELabel.prototype.redraw=function(b){var c=this.map_.fromLatLngToDivPixel(this.point);var a=parseInt(this.div_.clientHeight);this.div_.style.left=(c.x+this.pixelOffset.width)+"px";this.div_.style.top=(c.y+this.pixelOffset.height-a)+"px"};ELabel.prototype.show=function(){if(this.div_){this.div_.style.display="";this.redraw()}this.hidden=false};ELabel.prototype.hide=function(){if(this.div_){this.div_.style.display="none"}this.hidden=true};ELabel.prototype.isHidden=function(){return this.hidden};ELabel.prototype.supportsHide=function(){return true};ELabel.prototype.setContents=function(a){this.html=a;this.div_.innerHTML='<div class="'+this.classname+'">'+this.html+"</div>";this.redraw(true)};ELabel.prototype.setPoint=function(a){this.point=a;if(this.overlap){var b=GOverlay.getZIndex(this.point.lat());this.div_.style.zIndex=b}this.redraw(true)};ELabel.prototype.setOpacity=function(a){if(a){if(a<0){a=0}if(a>100){a=100}}this.percentOpacity=a;if(this.percentOpacity){if(typeof(this.div_.style.filter)=="string"){this.div_.style.filter="alpha(opacity:"+this.percentOpacity+")"}if(typeof(this.div_.style.KHTMLOpacity)=="string"){this.div_.style.KHTMLOpacity=this.percentOpacity/100}if(typeof(this.div_.style.MozOpacity)=="string"){this.div_.style.MozOpacity=this.percentOpacity/100}if(typeof(this.div_.style.opacity)=="string"){this.div_.style.opacity=this.percentOpacity/100}}};ELabel.prototype.getPoint=function(){return this.point};ELabel.prototype.U=function(){return this.point};ELabel.prototype.V=function(){return this.point};ELabel.prototype.W=function(){return this.point};ELabel.prototype.X=function(){return this.point};ELabel.prototype.Y=function(){return this.point};ELabel.prototype.Z=function(){return this.point};function classified_by_city_france_init(){try{if(GBrowserIsCompatible()){var h=new Object();h.Alsace=new Array(48.242918,7.543056,-20,0);h.Aquitaine=new Array(44.274445,-0.167916,-20,-5);h.Auvergne=new Array(45.69875,3.281945,-25,-5);h["Basse-Normandie"]=new Array(48.969027,-0.4975,-35,10);h.Bourgogne=new Array(47.269167,4.190139,-30,5);h.Bretagne=new Array(48.07,-3.064861,-20,0);h.Centre=new Array(47.645832,1.570833,-15,10);h["Champagne-Ardenne"]=new Array(48.875971,4.640417,-35,0);h.Corse=new Array(42.188096,9.04704,-15,10);h["Franche-Comté"]=new Array(47.122778,6.193472,-35,10);h["Haute-Normandie"]=new Array(49.368471,0.930833,-25,5);h["Île-de-France"]=new Array(48.67264,2.479861,-15,10);h["Languedoc-Roussillon"]=new Array(43.654583,3.2575,-20,20);h.Limousin=new Array(45.675694,1.626528,-20,5);h.Lorraine=new Array(48.721388,6.25,-25,5);h["Midi-Pyrénées"]=new Array(43.804026,1.541111,-30,0);h["Nord-Pas-de-Calais"]=new Array(50.53125,2.885555,-35,10);h["Pays de la Loire"]=new Array(47.429028,-0.840972,-10,10);h.Picardie=new Array(49.605694,2.805555,-20,0);h["Poitou-Charentes"]=new Array(46.128332,-0.192083,-20,10);h["Provence-Alpes-Côte d'Azur"]=new Array(44.06139,6.023611,-20,25);h["Rhône-Alpes"]=new Array(45.31625,5.396667,-25,0);var f=new GMap2(Dom.get("map_france"),{mapTypes:[G_PHYSICAL_MAP],size:new google.maps.Size("380","350")});var c=new GLatLng(46.5,2,5);f.setCenter(c,5);var g,b,a;for(g in h){a=new GLatLng(h[g][0],h[g][1]);b=new ELabel(a,g);b.pixelOffset=new GSize(h[g][2],h[g][3]);b.classname="tiny_text";f.addOverlay(b)}var d=new GGeoXml(EP.BASE_URL+"app/kml/regions");f.addOverlay(d);f.disableInfoWindow();GEvent.addListener(f,"click",function(j,k){if(j.name!="undefined"){var i=window.location.href;window.location.href="#"+j.name}})}else{alert("Votre navigateur ne permet pas l'utilisation de la recherche par carte.")}}catch(e){log_jse(e)}};
