﻿function fEvent(sType, oInput) {
    switch (sType) {
        case "focus":
            oInput.isfocus = true;
        case "mouseover":
            oInput.style.borderColor = '#9ecc00';
            break;
        case "blur":
            oInput.isfocus = false;
        case "mouseout":
            if (!oInput.isfocus) {
                oInput.style.borderColor = '#84a1bd';
            }
            break;
    }
}