function abrirDocumento(url) {
	window.open(url,"documentacion","scrollbars=yes,status=yes,width=600,height=400,resizable=1");
}
/*
function idioma(){
	var aux=window.location.href;
	if (aux.indexOf("?")==-1){
		window.location.href=aux + "?idIdioma=" + document.getElementById("idIdioma").value;
	} else {
		window.location.href = aux.substr(0,aux.indexOf("?")) + "?idIdioma=" + document.getElementById("idIdioma").value;
	}
	
}
*/

function idioma(){
	var aux=window.location.href;
	if (aux.indexOf("?")==-1){
		window.location.href=aux + "?idIdioma=" + document.getElementById("idIdioma").value;
	} else {
		if (aux.indexOf("idIdioma")==-1){
			window.location.href = aux + "&idIdioma=" + document.getElementById("idIdioma").value;
		} else
		//window.location.href = aux.substr(0,aux.indexOf("?")) + "?idIdioma=" + document.getElementById("idIdioma").value;
		window.location.href = aux.substr(0,aux.indexOf("idIdioma")) + "idIdioma=" + document.getElementById("idIdioma").value;
	}
	
}