function isAlphaOnly(_str)
{
	if(_str.match(/[^a-zA-Z]/))
	{
		return false;
	}
	else
	{
		return true;
	}
}
function isNumericOnly(_str)
{
	if(_str.match(/[^0-9]/))
	{
		return false;
	}
	else
	{
		return true;
	}
}
function isAlphaNumeric(_str)
{
	if(_str.match(/[^a-zA-Z0-9]/))
	{
		return false;
	}
	else
	{
		return true;
	}
}
function isEmail(_emailStr)
{
	_a = _emailStr.indexOf(".");
	_b = _emailStr.indexOf("@");
	_c = _emailStr.lastIndexOf(".");
	_d = _emailStr.indexOf(" ");
	_e = _emailStr.length;
	if ( (_a == -1) || (_b == -1) || (_d != -1) || (_c < _b) || (_c == _e-1) )
	{
		return false;
	}
	else
	{
		return true;
	}
}

