function ajaxread()
				{
				var ajaxread = new XHConn();
				var Done = function (response)
				{
					//alert("dsfsdfsd"+response.responseText);
					if(document.getElementById("counter"))
						document.getElementById("counter").innerHTML=response.responseText;
				};
				//alert(dirname(__FILE__));
				ajaxread.connect(myDirectory+"video/countTotals", "GET", "", Done);
				}
				
function readalways()
		{
			setTimeout("ajaxread()",5000); //the lengh of time it takes to update the division
			setTimeout("readalways()",5000);
		}
ajaxread();
readalways();