function updateBufferEditLayer(target)
{
	frames['bufferEditLayer'].location.href=target+"&PORT=" + szPort; 
}


function updateListPoint()
{
 	frames['bufferResultat'].location.href=szHttpServeur+"&ACTION=Geocode!GetNewShapesBack" +"!LOCATION=" + loc+ "&PORT=" + szPort; 

}


function askEmptyInfo(idGeo,couche,update)
{

		var chaine = szHttpServeur +
                "&ACTION=GetInfo!EMPRISE=ALL" +
								"!IDGEO=" + idGeo +
								"!COUCHE="+couche+
								"!UPDATEINFO="+update+
								"!LOCATION=" + loc ;
	updateBufferInfo(chaine);
}


function loadEditableLayer() 
{
	hideObject("divProgress");
	hideObject("divBubble");
    //var divMap = document.getElementById('divMap');
	var divEditLayer = document.getElementById('divEditLayer');
	
	if(needNewMap == true)
	{
		//divMap.innerHTML=frames['bufferEditLayer'].document.body.innerHTML;
		divEditLayer.innerHTML=frames['bufferEditLayer'].document.body.innerHTML;
		document.onmousemove = null;
		GetEchelleMap();
	}
	else
		alert("Pas d'objet cartographique");
						
}

function emptyEditLayerDiv()
{
		var div = document.getElementById('divEditLayer');
		div.innerHTML="";
}