/*
 * EasyGUI XP 1.0.293
 * Copyright(c) 2006-2008 Gaetan Lauff <glauff@plansoft.de>.
 * 
 * This code is licensed under BSD license. Use it as you wish, 
 * but keep the copyright intact.
 * 
 * ========================================================
 * 
 * Prototype JavaScript framework, version 1.6.0.2
 * (c) 2005-2008 Sam Stephenson
 * 
 * ========================================================
 * 
 * script.aculo.us scriptaculous.js v1.8.1
 * Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
 * 
 * ========================================================
 */

var EasyGUI_EmailValidator = Class.create();

EasyGUI_EmailValidator.messages = 
{
	invalid: '%d is not a valid email adress !'
}

Object.extend( Object.extend ( EasyGUI_EmailValidator.prototype, EasyGUI_Validator.prototype ),
{
	isvalid: function()
	{
		return (!this.value.match(/.*\@.*\..*/));
	}
});