
/* ---------------------------------------------------------------------
/
/     toolbox kommacheck-js - /     
/     this file is to be localized for different countries
/     03.01.05 marion.koerner@kaeser.com
/
/  -------------------------------------------------------------------- */

function kommacheck(pField) {

if (pField.value.indexOf(',') > -1) {
pField.style.backgroundColor = "red";
                 alert('Utilize ponto e não vírgula para indicar os decimais');

} else {
pField.style.backgroundColor = "white";
}
}
