var value;
var xmlHttp;
function ajaxTimer(url){
	
	 
	 if(document.all)
	  xmlHttp =  new ActiveXObject("Microsoft.XMLHTTP");
	else
          xmlHttp= new XMLHttpRequest();
         xmlHttp.open("GET", url, true);
         xmlHttp.onreadystatechange=function() {
              if (xmlHttp.readyState==4) {
                value = xmlHttp.responseText;
                display = document.getElementById("ajax-timer");
                display.innerHTML=xmlHttp.responseText;
              }
           }
         xmlHttp.send(null);
}

