function replaceRecord(divId, stat){
    if (document.getElementById(divId) != undefined){
        document.getElementById(divId).innerHTML = stat;
    }
}
