function formCallback(result, form) {
if (result == true) {
show('processingArea');
hide('submitArea');
}
}
var valid = new Validation('formtest', {immediate : true, useTitles : true, onFormValidate : formCallback}); 
Validation.addAllThese([
	['validate-password-confirm', 'Your confirmation password does not match your first password, please try again.', {
		equalToField : 'Pass2',
	}]
]);
