
/* ---------------------------------------------------------------------
/
/     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('Please use a decimal point and not a comma to indicate the decimal place');

} else {
pField.style.backgroundColor = "white";
}
}