function appImage(pre_id,image, attribute){	if(!document.getElementById(attribute)){
	  var pElement=document.getElementById(pre_id);

	  var Absatz = document.createElement("div");
	  Absatz.setAttribute("id",attribute);
	 
	  
	   var imageo = document.createElement("img");
	  imageo.setAttribute("src", image);
	  Absatz.appendChild(imageo);
	    
	  
	   var linebreak = document.createElement("br");
	  Absatz.appendChild(linebreak);
	  
	    var span = document.createElement("span");
	  span.appendChild(document.createTextNode("entfernen"));
	   span.onclick=function(){return removeImage(pre_id, attribute);};
	    span.className = "link";
	  Absatz.appendChild(span);
	  
	  
	  
	  pElement.appendChild(Absatz);
	    }
	
}
function removeImage(pre_id, attribute){
		if(document.getElementById(attribute)){
		var Absatz = document.getElementById(attribute);
		var pElement=document.getElementById(pre_id);
		pElement.removeChild(Absatz);
  		 	}
  	
}
