function validateEmail(inputobject) {
	if ( (inputobject == '') || 
		( (inputobject.indexOf('@', 0) <= 0) || (inputobject.indexOf('.', 0) == -1) )) {
		return 1;
	} else {
		return 0;
	}
}