diff -ur imp-h3-4.0.4-rc2/templates/compose/compose_expand.js imp/templates/compose/compose_expand.js
--- imp-h3-4.0.4-rc2/templates/compose/compose_expand.js	2005-05-17 14:07:47.000000000 +0400
+++ imp/templates/compose/compose_expand.js	2005-09-19 10:32:23.000000000 +0400
@@ -46,6 +46,7 @@
     url += '&form_name=' + _escape(field.form.name);
 
     var status = document.getElementById('expanding' + field.name);
+    status.innerHTML = '<?php echo _("Expanding") ?>'+'&hellip;';
     status.style.visibility = "visible";
 
     doc.location.replace(url);
diff -ur imp-h3-4.0.4-rc2/templates/compose/expand.inc imp/templates/compose/expand.inc
--- imp-h3-4.0.4-rc2/templates/compose/expand.inc	2005-08-24 17:15:22.000000000 +0400
+++ imp/templates/compose/expand.inc	2005-09-19 10:27:12.000000000 +0400
@@ -6,11 +6,9 @@
 <!--
 <?php if (isset($address)): ?>
 <?php if (is_a($address, 'PEAR_Error')): ?>
-alert('<?php echo addslashes(sprintf(_("The field \"%s\" can't be expanded."), htmlspecialchars($field_name))) ?>');
-window.setTimeout('var status = window.parent.document.getElementById(\'expanding<?php echo htmlspecialchars($field_name) ?>\'); status.style.visibility = \'hidden\'', 10);
+window.parent.document.getElementById('expanding<?php echo htmlspecialchars($field_name) ?>').innerText='<?php echo addslashes(sprintf(_("The field \"%s\" can't be expanded."), htmlspecialchars($field_name))) ?>';
 <?php elseif (is_array($address)): ?>
-alert('<?php echo addslashes(sprintf(_("More than one address found for field \"%s\"."), htmlspecialchars($field_name))) ?>');
-window.setTimeout('var status = window.parent.document.getElementById(\'expanding<?php echo htmlspecialchars($field_name) ?>\'); status.style.visibility = \'hidden\'', 10);
+window.parent.document.getElementById('expanding<?php echo htmlspecialchars($field_name) ?>').innerText='<?php echo addslashes(sprintf(_("More than one address found for field \"%s\"."), htmlspecialchars($field_name))) ?>';
 <?php else: ?>
 window.setTimeout('var status = window.parent.document.getElementById(\'expanding<?php echo htmlspecialchars($field_name) ?>\'); status.style.visibility = \'hidden\';window.parent.document.<?php echo htmlspecialchars($form_name . '.' . $field_name) ?>.value = \'<?php echo addslashes(addslashes($address)) ?>\';', 10);
 <?php endif; ?>
