function isEmail(subject){
	if (subject.match(/^\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b$/i)) {
		return true;
	}
	return false;
}

function isBlank(subject){
	if(subject==""){
		return true;
	}
	return false;
}