function CopyText(FieldID)
{
    document.getElementById(FieldID).focus();
    document.getElementById(FieldID).select();
 
    if(document.all)
    {
        Area = document.getElementById(FieldID).createTextRange();
        Area.execCommand("Copy");
    }
}
