function updateFieldValue(update,to,timeout)
    {
    document.getElementById(update).value=document.getElementById(to).value;
    if (timeout>0)
        {
        setTimeout("updateFieldValue('"+update+"','"+to+"',"+timeout+")");
        }
    }