--- AgentBook.dtl.patch	2008-03-14 19:03:06.000000000 +0100
+++ AgentBook.dtl	2008-03-14 19:03:18.000000000 +0100
@@ -39,59 +39,25 @@
 <script language="JavaScript" type="text/javascript">
 <!--
 
-# Start Function By M.GUYARD ( NIS - OBS )
-function RecupAddress(x) {
-    var xhr_object = null;
-
-    if(window.XMLHttpRequest) // Firefox
-    	xhr_object = new XMLHttpRequest();
-    else if(window.ActiveXObject) // Internet Explorer
-    	xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
-    else { // XMLHttpRequest non supporte par le navigateur
-    	alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");
-	return;
-    }
-
-    var method   = "POST";
-    var filename = "otrs-web/get_mail.php";
-    var email    = x;
-    var data     = null;
-    if(email != "")
-    	data = "mail="+email;
-
-    xhr_object.open("POST", filename, false);
-    xhr_object.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
-    xhr_object.send(data);
-    if(xhr_object.readyState == 4) {
-		result_email = xhr_object.responseText;
-		if(typeof(result_email) == "string") {
-			return result_email;
-		} else {
-			alert("Le TypeOf "+typeof(result_email)+" est invalide");
-			return "";
-		}
-	}
-}
-# End Function By M.GUYARD ( NIS - OBS )
-
-
 function AddToAddress(x) {
     if (document.book.To.value) {
-	    document.book.To.value = document.book.To.value + ', ';
+        document.book.To.value = document.book.To.value + ', ';
     }
-    document.book.To.value = document.book.To.value + RecupAddress(x);
+    document.book.To.value = document.book.To.value + x;
 }
 
 function AddCcAddress(x) {
     if (document.book.Cc.value) {
         document.book.Cc.value = document.book.Cc.value + ', ';
     }
-    document.book.Cc.value = document.book.Cc.value + RecupAddress(x);
+    document.book.Cc.value = document.book.Cc.value + x;
 }
 
 function AddBccAddress(x) {
     if (document.book.Bcc.value) {
         document.book.Bcc.value = document.book.Bcc.value + ', ';
     }
-    document.book.Bcc.value = document.book.Bcc.value + RecupAddress(x);
+    document.book.Bcc.value = document.book.Bcc.value + x;
 }
 
 //-->
