// started on May 6 of 2005 by Rene Lopez Caballero
// i decided to write it in inglish because the internationalitacion, what can i do, sorry :-)

function isEmpty( value ) {
	if( /^\s*$/.test( value ) )
		return true;
	else
		return false;
}

function isEmail( value ) {
	if( /@/.test( value ) )
		return true;
	else
		return false;	
}

function inArray( value, array ) {	
	for( var i=0; i<array.length; i++ ) {
		if( array[i] == value )
			return true;
	}
	return false;
}


