function addField(fieldValue, ordre){
    if (document.getElementById) {
      //  
        var ni = document.getElementById('ajout' + fieldValue);
		ni.innerHTML='';

                //alert("rep" + fieldValue);
        if (ni) {
        
            eDIV = document.createElement("div");
            
            //document.getElementById("rep"+fieldValue).style.display='none';
            
            //use the setAttribute method to assign it an id
            eDIV.setAttribute('id', 'myDiv' + fieldValue);
            eDIV.className = 'formulaire';
            eDIV.innerHTML = '';
            eDIV.innerHTML = '<form action="' + location.href + '" method="post" enctype="multipart\/form-data" name="forme"> <label>Your Name:<\/label><input name="ident" type="text" size="30" \/><br><br /><label>Message:<\/label><textarea name="contenu" cols="50" rows="3"><\/textarea><br /><label>please copy back the text of the image in the box<\/label><img src="antispam.php?name=livreor&strlen=4" alt="anti-flood" \/><input type="hidden" name="ordre" value="' + ordre + '"> <input name="spam" type="text" size="6" \/><br><label>&nbsp;<\/label><input type="submit" name="submit" value="send" class="sub"><\/form>';
            ni.appendChild(eDIV);
        }
		
        
    }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function suppression_element() {
for(i=1;i<20;i++){
	var ni = document.getElementById('ajout'+i).firstChild;
	disp=document.getElementById('ajout'+i).removeChild(ni);
	alert(disp.firstChild.nodeValue);
	}
}