+ $(document).ready(
+ function() {
+ // Remove empty options in select (they were added only for HTML
+ // compatibility).
+ $('#to_contacts option[value=""]').remove();
+ $('#cc_contacts option[value=""]').remove();
+ });
+
+ $(document).ready(function() {
+ $("[name='to']").focus();
+ });