﻿function showErrorMsg(errorMsg, controlID) {
    alert(errorMsg);
    if (controlID.length > 0) {
        var targetControl = document.getElementById(controlID);
        targetControl.select();
        targetControl.focus();
    }
}
