/*
 * hitcount.js
 *
 * get the number of hits and display it
 */

function displayHits()
{
	s = "<p>Number of visitors to the new website: " +
		"<span id=\"count\">" + ajaxreq.responseText +
		"</span></p>";
		
	document.getElementById("hits").innerHTML = s;
}

ajaxCallback = displayHits;
ajaxRequest("script/hitcount.php?nocache=" + Math.random() * 1000000);

