/**
* #42 
* Lost password
* 
* did for v_member_password_reset.php
*
* @author Julia Kozyreva
* @packaqe worship_outlet
* This function checking, if entered email exists in DB, and creates a form for email validation
*
*/
	function verify(){
		alertMsg = '';	
		whiteDist(document.getElementById('Jemail'));
	if (!valid_required('Email',  document.getElementById('Jemail').value))
			redDist(document.getElementById('Jemail'));	


		
	else if (!isEmail(document.getElementById('Jemail').value)){		
			addError('Not a valid Email address.');
			redDist(document.getElementById('Jemail'));	
		}
		if (alertMsg != '')
			alert('Error:\r\n' + alertMsg);
		return alertMsg == '';		
	}



