function validoFormulario(valores,form){
	var i;
	for(i=0;i<valores.length;i++){
		if(!valores[i][0].value){
			alert(valores[i][1]);
			if(valores[i][0].type=='text' || valores[i][0].type=='select-one' || valores[i][0].type=='textarea'){
				valores[i][0].focus();
			}
			return false;
		}
	}
	return true;
}

function switchLang(idioma){
	href=document.location.href;
	href_arr=href.split("/");
	pag=href_arr.pop();
	document.location.href='../'+idioma+'/'+pag;
}
