function payPalSubmit()
{
	var amountValue = document.getElementById('payPalAmount').value;
	var newAmountValue = '';
	var char;
	var seperatorSet = false;

	for (var i = --amountValue.length; i >= 0; i--)
	{
		char = amountValue.charAt(i);
		if (char >= '0' && char <= '9')
		{
			newAmountValue = char + newAmountValue;
		}
		else if (amountValue.charCodeAt(i) < 48 && seperatorSet == false)
		{
			newAmountValue = '.' + newAmountValue;
			seperatorSet = true;
		}
	}

	document.getElementById('payPalAmount').value = newAmountValue;

	

	return true;
}

function moneyBookersSubmit()
{
	var amountValue = document.getElementById('moneyBookersAmount').value;
	var newAmountValue = '';
	var char;
	var seperatorSet = false;

	for (var i = --amountValue.length; i >= 0; i--)
	{
		char = amountValue.charAt(i);
		if (char >= '0' && char <= '9')
		{
			newAmountValue = char + newAmountValue;
		}
		else if (amountValue.charCodeAt(i) < 48 && seperatorSet == false)
		{
			newAmountValue = '.' + newAmountValue;
			seperatorSet = true;
		}
	}

	document.getElementById('moneyBookersAmount').value = newAmountValue;

	return true;
}
