function km_forgotPassword_6(theForm) {
var err='';
switch (theForm.userIdentifiedBy.value) {
	case 'email':
		if (trim(theForm.login_user.value).length == 0)
			err+='\n* Ofullst'+unescape('%E4')+'ndiga uppgifter E-postadress';
	break;
	case 'username':
		if (trim(theForm.login_user.value).length == 0)
			err+='\n* Ofullst'+unescape('%E4')+'ndiga uppgifter Användarnamn';
	break;
}
	if (err.length == 0) {
		theForm.sendPassword.value='true';
		theForm.submit();
	} else {
		alert('Ofullst'+unescape('%E4')+'ndiga uppgifter'+err);
	}
}
