﻿function formMessageBlur(input, blurOrFocus, message) {
    switch (blurOrFocus) {
        case "focus":
            if ((input.value) == message) { input.value = ''; }
            break
        case "blur":
            if ((input.value) == '') {
                input.value = message;
                input.style.color = '#000';
                input.style.fontWeight = 'bold';
            }
            break
    }
}

function inputOnClick(input, value) {
    if (input.value == value) {
        input.value = '';
        input.style.color = '#000';
        input.style.fontWeight = 'bold';
    }
}

