var asked=new Array();
function connect(){
	var xmlhttp=false;
	try{xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");}catch(e){
	try{xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");}catch(e){xmlhttp = false;}}
	if(!xmlhttp && typeof XMLHttpRequest!='undefined')xmlhttp = new XMLHttpRequest();
	return xmlhttp;
}
function getStations(mth,slct){
	var doit=true;
	for(var i=0;i<asked.length;i++)if(asked[i]==mth){doit=false;break;}
	stl=getObject(slct);
	if(doit){
	asked[asked.length]=mth;
	xmlhttp=connect();
	if(!xmlhttp) return;
	try{
	xmlhttp.onreadystatechange=ProcessStations;
	xmlhttp.open('GET',mth,true);
	xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');
	xmlhttp.send(null);
	}catch(Exception){}}
}
function ProcessStations(){
if(xmlhttp.readyState==4){
if(xmlhttp.status==200 && xmlhttp.responseText.length>0){
var stations=(xmlhttp.responseText).split(';');
if(stations!=null)for(var i=0;i<stations.length;i++){var opt;opt=new Option(stations[i]);stl.options[i]=opt;}}}}