function validar_forgot()
{
	if($('forgot_login').value !='' && $('forgot_mail').value != '')
	{
		document.getElementById('form_forgot').submit();
	}else
	{
		alert('It is compulsory to fill in login and email.');
	}
}


function validar_registro()
{
	if($('new_username').value=='' || $('e-mail').value=='')
	{
		alert('It is compulsory to fill in login and email.');
	}else
	{
		document.getElementById('form_new_user').submit();
	}
} 
