
function cambioENG() {
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var url = location.href.substring(dir.length,location.href.length+1);
	window.open('../ENG/' + url, "_self" );
}
function cambioESP() {
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var url = location.href.substring(dir.length,location.href.length+1);
	window.open('../ESP/' + url, "_self" );
}


function cambioENG_home() {
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var url = location.href.substring(dir.length,location.href.length+1);
	window.open('home_ENG.html', "_self" );
}
function cambioESP_home() {
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var url = location.href.substring(dir.length,location.href.length+1);
	window.open('home_ESP.html', "_self" );
}
