function timerPage(){
	http=null;
	pageTimerHandle = setInterval('fetchData()', 1000);
}

function getHTTPObject() {
	var xmlhttp;
	if(window.XMLHttpRequest){
		// code for IE7+, Firefox, Chrome, Opera, Safari
		xmlhttp=new XMLHttpRequest();
	}else if(window.ActiveXObject){
		// code for IE6, IE5
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}else{
		alert("Your browser does not support XMLHTTP!");
	}
	return xmlhttp;
}

function fetchData() {
	http = getHTTPObject();
	http.open('get', "../ff.php?xhttp=true", true);
	http.onreadystatechange = function() {
		if (http != null && http.readyState == 4) {
			//document.getElementById('displayCount').src = http.responseText;
			document.getElementById('displayCount').innerHTML = http.responseText;
		}
	}
	http.send(null);
}