        function formatPrice(fieldObject) {
            var currentPrice = fieldObject.value;
            var priceArray;
            
            if (currentPrice.substr(0, 2) == '€ ') {
                currentPrice = currentPrice.substr(2);    
            }
                
            priceArray = currentPrice.split(',');
            
            if (priceArray.length == 1 && currentPrice.length == 0) {
                fieldObject.value = '€ 0,00';
            } else if (priceArray.length == 1) {
                fieldObject.value = '€ ' + currentPrice + ',00';    
            } else if (priceArray.length == 2) {
                fieldObject.value = '€ ' + currentPrice;
            }    
        }