function loadRadio() {
	var xmlhttp = getXmlHttp();
	xmlhttp.open('GET', '/currentsong/?'+Math.random(), false);
	xmlhttp.send(null);
	if(xmlhttp.status == 200) {
		try {
			var str = xmlhttp.responseXML.documentElement.childNodes[0].nodeValue;
			document.getElementById('nowstring').innerHTML = str;
		} catch (e) { }
	}
	setTimeout(loadRadio, 10000);
}
function getXmlHttp() {
	var xmlhttp;
	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;
}

