function stickerForm(e,cursorInteractif,oRef, imagePosition, mouseCursorPosition, objMAP, newCX, newCY) {

  //objMAP.stopEventListener();

  var popupStickerFormSize = new Size(300, 280);

  var popupStickerForm = document.createElement("div");
  popupStickerForm.id = cursorInteractif + "_StickerForm";
  popupStickerForm.style.position = "absolute";
  popupStickerForm.style.width = popupStickerFormSize.width + "px";
  popupStickerForm.style.height = popupStickerFormSize.height + "px";
  popupStickerForm.style.border = "1px solid #456543";
  popupStickerForm.style.background = "#fff";
  popupStickerForm.style.zIndex = 1000;

  // position
	var popupStickerPositionX = mouseCursorPosition.x + parseInt(imagePosition.x/2) - parseInt(popupStickerFormSize.width/2);
  var popupStickerPositionY = mouseCursorPosition.y + imagePosition.y - popupStickerFormSize.height;

  popupStickerForm.style.left = popupStickerPositionX + "px";
  popupStickerForm.style.top  = popupStickerPositionY + "px";

/////////////////////////////////////////////////////////////////
// METHODE AVEC YUI
/////////////////////////////////////////////////////////////////
  popupStickerForm.innerHTML = "<FORM METHOD=\"POST\" id=\"formTOTO\" enctype=\"multipart/form-data\" action=\"http://palinux03:8080/cityneo/CGS/CGSMgtPOI\"\"><table><tr><td colspan=\"2\">" +
"<input type=\"hidden\" name=\"sessionid\" id=\"sessionid\" value=\"" + objMAP.getSessionId() + "\">" +
"<input type=\"hidden\" name=\"action\" id=\"action\" value=\"insert\">" +
"<input type=\"hidden\" name=\"sandbox\" id=\"sandbox\" value=\"GEOSTICKER\">" +
"<input type=\"hidden\" name=\"status\" id=\"status\" value=\"2\">" +
"<input type=\"hidden\" name=\"country\" id=\"country\" value=\"FR\">" +
"<input type=\"hidden\" name=\"cx\" id=\"cx\" value=\"" + newCX + "\">" +
"<input type=\"hidden\" name=\"cy\" id=\"cy\" value=\"" + newCY + "\">" +
"<input type=\"hidden\" name=\"pscale\" id=\"pscale\" value=\"1\">" +
"Title:<br/><input type=\"text\" name=\"fld.TITLE\" id=\"fld.TITLE\"/></td></tr><td colspan=\"2\">" +
"Content:<br/><textarea name=\"fld.CONTENT\" id=\"fld.CONTENT\" cols=\"30\"  rows=\"3\"></textarea></td></tr>" +
"<tr><td colspan=\"2\">Type:<br/><select name=\"cri.TYPE\" id=\"cri.TYPE\">" +
"<option value=\"0\"/>Car</option><option value=\"1\"/>Cycle</option><option value=\"2\"/>Rollerblade</option><option value=\"3\"/>Segway</option>" +
"</select></td></tr><tr><td colspan=\"2\">" +
"Image:<br/><input type=\"file\" name=\"photo.IMAGE\" id=\"photo.IMAGE\"></td></tr>" +
"<tr><td>User:<br/><input type=\"text\" name=\"cri.USER\" id=\"cri.USER\" value=\"FMA\"></td>" +
"<td>Date:<br/><input type=\"text\" name=\"cri.DATE\" id=\"cri.DATE\" value=\"todo calendar\"></td></tr>" +
"<tr><td colspan=\"2\"><INPUT TYPE=\"button\" id=\"cancelButton\" value=\"Cancel\">" +
"<INPUT TYPE=\"button\" id=\"uploadButton\" value=\"Upload\"></td></tr>" +
"</table></FORM>";
  oRef.appendChild(popupStickerForm);

	var onUploadButtonClick = function(e){
    //the second argument of setForm is crucial,
    //which tells Connection Manager this is a file upload form
    YAHOO.util.Connect.setForm('formTOTO', true);

    var uploadHandler = {
      upload: function(o) {
      	//alert (o.responseText);
      	var xmlDoc=o.responseXML;
      	var nodeSTATUS=xmlDoc.getElementsByTagName("STATUS")[0];
      	var statusCODE=nodeSTATUS.getElementsByTagName("STATUS")[0].firstChild.data;
      	var statusMSG=nodeSTATUS.getElementsByTagName("STATUS.MSG")[0].firstChild.data;

      	//alert("Bingo :"+statusCODE+":"+statusMSG);
				if ( statusCODE == "KO" ) {
				  alert("Unknown file format.");
				}
				else if ( statusCODE == "INVALID" ) {
				  alert("Session not valid, try to refresh your navigator.");
				}
      	// Remove popup
      	var popupStickerForm = document.getElementById(_internal_shared_v2_forsticker + "_StickerForm");
      	popupStickerForm.parentNode.removeChild(popupStickerForm);
      	
      	_internal_shared_v6_forsticker.uploadedPinpoint();
      	/*
      	// Play mouse event
      	_internal_shared_v6_forsticker.playEventListener();
      	// Refresh Content Manager
      	_internal_shared_v6_forsticker.refreshMain();
      	*/
      }
    };

    YAHOO.util.Connect.asyncRequest('POST', 'http://palinux03:8080/cityneo/CGS/CGSMgtPOI', uploadHandler);
  };
  
  var onCancelButtonClick = function(e){
    // Remove popup
   	var popupStickerForm = document.getElementById(_internal_shared_v2_forsticker + "_StickerForm");
   	popupStickerForm.parentNode.removeChild(popupStickerForm);
   	// Remove cursor 
   	//_internal_shared_v6_forsticker.removeCursorInteractif();
   	_internal_shared_v6_forsticker.canceledPinpoint(e);
   	// Play mouse event
   	//_internal_shared_v6_forsticker.playEventListener();
  };

  var onPopupFormMouseOver = function(e) {
    //alert("onPopupFormMouseOut");
    _internal_shared_v6_forsticker.stopEventListener();
  }

  var onPopupFormMouseOut = function(e) {
    //alert("onPopupFormMouseOver");
    _internal_shared_v6_forsticker.playEventListener();
  }

  YAHOO.util.Event.on('uploadButton', 'click', onUploadButtonClick);
  YAHOO.util.Event.on('cancelButton', 'click', onCancelButtonClick);
  YAHOO.util.Event.on(cursorInteractif + '_StickerForm', 'mouseover', onPopupFormMouseOver);
  YAHOO.util.Event.on(cursorInteractif + '_StickerForm', 'mouseout', onPopupFormMouseOut);
}

function stickerFormEdition(PoiId) {
  alert("stickerFormEdition PoiId = " + PoiId);

}