function cambiar_idioma(idioma) {
if (arguments.length > 0) {
x = new XMLHttpRequest();
x.open('POST', '/backend/idioma.php', true);
x.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
x.send('idioma=' + idioma);
x.onreadystatechange = function() {
if (x.readyState == 4 && x.status == 200) {
location.href='/equipo/equipo.php';
}
}
}
}