// insert JavaScript source code here

function PGCounter(ReleaseID){
	// create a date for the querystring
	var tDate = new Date();
	// The variable that makes Ajax possible!
	var ajaxRequest;  

	try{
		// Opera 8.0+, Firefox, Safari
		ajaxRequest = new XMLHttpRequest();
	} catch (e){
		// Internet Explorer Browsers
		try{
			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try{
				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e){
				// Something went wrong
				alert("Your browser broke!");
				return false;
			}
		}
	}
	// check the status of the request
	ajaxRequest.onreadystatechange = function(){
		if(ajaxRequest.readyState == 4){
		}
	}
	// run the ajax, we give it a quick date stamp, this will make sure the data is always loaded fresh
	ajaxRequest.open("GET", "http://www.peterbush.co.uk/__counter.aspx?mm=" + tDate.getTime() + "&r=" + ReleaseID, true);
	ajaxRequest.send(null);

}