function loadTextFile(filename) {
	httpObj = createXMLHttpRequest();
	httpObj.onreadystatechange = displayData;
	httpObj.open("GET",filename,true);
	httpObj.send(null);
}

function displayData() {
	if ((httpObj.readyState == 4) && (httpObj.status == 200)) {
		document.getElementById("language-box").innerHTML = httpObj.responseText;
	}
}

function createXMLHttpRequest() {
	var XMLhttpObject = null;
	try{
		XMLhttpObject = new XMLHttpRequest();
	}catch(e){
		try{
			XMLhttpObject = new ActiveXObject("Msxml2.XMLHTTP");
		}catch(e){
			try{
				XMLhttpObject = new ActiveXObject("Microsoft.XMLHTTP");
			}catch(e){
				return null;
			}
		}
	}
	return XMLhttpObject;
}


function selLink(){
	selurl=document.myform.mysel.options[document.myform.mysel.selectedIndex].value;
	if (selurl != "" ) {
		location.href=selurl;
	}
}
