$( function()
{
	/////////////////////////////////////////////////////////////////////////////////////////////
	var requireds = {
		amount : {
			validators	: {
				1	: {
					type		: 'text',
					errorMsg	: 'You haven\'t indicated the Amount you wish to donate.<br />Please, fill in the Amount field.',
					errorClass	: 'borderRed',
					valorOmision: 'Your donation',
					regEx		: null
				},
				2	: {
					type		: 'text',
					errorMsg	: 'You haven’t indicated the Amount you wish to donate.<br />Please, fill in the Amount field.',
					errorClass	: 'borderRed',
					valorOmision: 'Your donation',
					regEx		: /^\d+(\.\d+)?$/
				}
			}
		},
		currency : {
			validators	: {
				1	: {
					type		: 'select',
					errorMsg	: 'You haven’t selected a currency for this operation.<br />Please, choose your preferred Currency. ',
					errorClass	: 'borderRed',
					valorOmision: '',
					regEx		: null
				}
			}
		}
	};

	var formVip = new formValidator({
		jSONrequired	: requireds,
		sendingMsg		: 'Sending data...',
		okMsg			: 'Thank you for your donation.',
		formID			: 'form-donate',
		errorClass		: 'borderRed',
		errorLabel		: $('.errorMsg p'),
		prefixID		: 'ID_'
	});

	$('input').focus( function(){$(this).select()} );
	$('input').click( function(){$(this).select()} );
});