// main javascript include	
function registrationSubmit(this_obj) {
	if(this_obj.client_name.value == "") {
		alert("Please enter your name!");
		this_obj.client_name.focus();
		return false;
	}
	if(this_obj.login_name.value == "") {
		alert("Please enter a login name!");
		this_obj.login_name.focus();
		return false;
	}
	if(this_obj.client_email.value == "") {
		alert("Please enter your email address!");
		this_obj.client_email.focus();
		return false;
	}
	else {
        	if((this_obj.client_email.value.indexOf("@") < 1) 
        		|| 
        		(this_obj.client_email.value.indexOf(".", this_obj.client_email.value.indexOf("@")) < 1))
        	{
        		alert("Please enter a valid email address!");
        		this_obj.client_email.focus();
        		return false;
        	}
	}
	if(this_obj.login_password.value.length < 5) {
		alert("Please enter a longer password!\n(At least 5 characters.)");
		this_obj.login_password.focus();
		return false;
	}
	else {
        	if(this_obj.login_password.value != this_obj.login_password_verify.value) {
        		alert("Passwords do not match!");
        		this_obj.login_password.focus();
        		return false;
        	}
	}

}
