<!--
// update kiss and punch total
var xmlHttp = false;
try {
	xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
	try {
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	} catch (e2) {
		xmlHttp = false;
	}
}

if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
	xmlHttp = new XMLHttpRequest();
}

function callServer(obj, host) {
	with(obj) {
		if ((host == null) || (host == "") || !isNaN(host)) {
			alert('URL is invalid');
			return false;
		}

		/* host_url : server url,  eg. http://localhost/bandspacesnyc */
		host_url = host.substring(0, host.indexOf('/includes/getname.php'));

		xmlHttp.open("GET", host, true);
		xmlHttp.onreadystatechange = updatePage;
		xmlHttp.send(null);
	}
}

function updatePage() {
	if (xmlHttp.readyState == 4) {
		var html_str, regempty    = /^\s*$/;
		var response = xmlHttp.responseText;
		if ( response == null || regempty.test(response) ) {
			html_str = 'Nothing found';
		} else {
			html_str = response;
		}
		document.getElementById("renters_dis").innerHTML = html_str;
	}
}

-->
