rendered paste body<script language="javascript">
function add_alias(destination) {
var p = document.createElement('div');
var del = document.createElement('img');
del.src = 'img/del.png';
del.style.verticalAlign = 'middle';
del.onclick = function () {
this.parentNode.parentNode.removeChild(this.parentNode);
};
p.appendChild(del);
//p.appendChild(window.top.accountchooser(destination));
txt = document.createElement('input');
txt.setAttribute('type', 'text');
txt.setAttribute('name','maildrop[]');
txt.setAttribute('autocomplete','off');
if(destination != null)
txt.value = destination;
p.appendChild(txt);
pane = document.getElementById('aliases');
pane.insertBefore(p, pane.firstChild);
}
</script>