/**
 * Check if the given bod is valid (in relation with the startprice)
 * @since 2010 09 28
 * @param String start price
 * @param String bod price
 */
function checkForGeldigBod( start, bod, meldingstekst )
{
	isGeldigBod = false;
	
	// het nieuwe bod moet minimaal 80% zijn van het startbod.
	var startBod = 0.8 * parseFloat( start.replace(',', '.'));
	var nieuwBod = parseFloat( bod.replace(',', '.'));
	
	if ( nieuwBod < startBod ) 
	  alert( meldingstekst );
	else
	  isGeldigBod = true;
	
	return isGeldigBod;
}
