Highlight and paste javascript problem

I have a script that can highlight words when moused-over. I then click inside a textarea and paste the words as needed.


<script language=javascript>

function selectNode (node)
{
var selection, range, doc, win;

if ((doc = node.ownerDocument) && (win = doc.defaultView) && typeof
win.getSelection != 'undefined' && typeof doc.createRange !=
'undefined' && (selection = window.getSelection()) && typeof
selection.removeAllRanges != 'undefined')
{
range = doc.createRange();
range.selectNode(node);
selection.removeAllRanges();
selection.addRange(range);
}
else if (document.body && typeof document.body.createTextRange !=
'undefined' && (range = document.body.createTextRange()))
{
range.moveToElementText(node);
range.select();
}

}


function clearSelection ()
{
if (document.selection)
document.selection.empty();
else if (window.getSelection)
window.getSelection().removeAllRanges();
}
</script>


<!--Script for Add/Replace Keywords-->
<script language="javascript" type="text/javascript">
function addtext() {
	var newtext = document.keywords.emailbox.value;
	if (document.keywords.placement[1].checked) {
		document.keywords.outputtext.value = "";
		}
	document.keywords.outputtext.value += "\
" + newtext;
}
</script>

<!--Script to Select All-->
<script type="text/javascript">
function selectAll(x) {
for(var i=0,l=x.form.length; i<l; i++)
if(x.form[i].type == 'checkbox' && x.form[i].name != 'sAll')
x.form[i].checked=x.form[i].checked?false:true
}
</script>


<span onmouseover="selectNode(this)";
OnMouseOut="clearSelection(this);">blah</span><br>
<span onmouseover="selectNode(this)";
OnMouseOut="clearSelection(this);">blah1</span><br>
<span onmouseover="selectNode(this)";
OnMouseOut="clearSelection(this);">blah2</span><br>
<span onmouseover="selectNode(this)";
OnMouseOut="clearSelection(this);">blah3</span><br>


<!--I paste my selections here-->
<textarea name="outputtext" cols="29" rows="20" style="margin-left:10px;"></textarea>

I use CTRL-C to copy the highlighted text and then CTRL-V to paste it inside my new textarea. The problem is that the user has to manually click outside the textarea before they can copy another selection (even though the highlight function still works). Is there a way that someone can help me to modify the script so that as soon as the text is pasted it’s not still in the focus within that textarea but rather outside it? This way they can go ahead and copy another field without having to ‘click’ outside the textarea every time.