(function($) {

	$.isString = function($str) {
		if ($str.length!="") { return true; } else { return false;}
	}
	
	$.isEmail = function($str) {
		var regex=new RegExp("^[\\w-_\.]*[\\w-_\.]\@[\\w]\.+[\\w]+[\\w]$");
		return regex.test($str);
	}

	$.isInteger = function($str) {
		return ($str.toString().search(/^-?[0-9]+$/) == 0);
	}
	
})(jQuery)
