﻿function setToInvalid(divId) {
    document.getElementById(divId).setAttribute('class', 'error');
    document.getElementById(divId).setAttribute('className', 'error');
}

function setToValid(divId) {
    document.getElementById(divId).setAttribute('class', '');
    document.getElementById(divId).setAttribute('className', '');
}
