﻿function funCerca(form) {
    try {
        var stringa = form.str.value;

        if (stringa == "" || stringa == "undefined") {

            form.str.style.border = '1px solid red';
            form.str.focus();
            return false;
        } else {

            form.str.style.border = '1px solid #c4c4c4;';
            form.submit();
            return true;
        }
    } catch (e) {

    }
}
