<script language="javascript"> function Filled() { nan=document.getElementById('name').value; document.getElementById('fin').value = nan; return false; } </script>