function actualize()
{
	var xmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
 try {
  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
 } catch (e) {
  try {
   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (E) {
   xmlhttp = false;
  }
 }
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!="undefined") {
	try {
		xmlhttp = new XMLHttpRequest();
	} catch (e) {
		xmlhttp=false;
	}
}
if (!xmlhttp && window.createRequest) {
	try {
		xmlhttp = window.createRequest();
	} catch (e) {
		xmlhttp=false;
	}
}
 xmlhttp.open("GET", "/onlineRequest.php",true);
 xmlhttp.onreadystatechange=function() {
  if (xmlhttp.readyState==4) {
	  var totalonline=0;
if(document.getElementById("online"))
{
	document.getElementById("online").innerHTML=xmlhttp.responseText.split("|")[0];
	totalonline+=parseInt(xmlhttp.responseText.split("|")[0]);
}
if(document.getElementById("othersonline"))
{
	document.getElementById("othersonline").innerHTML=xmlhttp.responseText.split("|")[1];
	totalonline+=parseInt(xmlhttp.responseText.split("|")[1]);
}
if(document.getElementById("ytonline"))
{
	document.getElementById("ytonline").innerHTML=xmlhttp.responseText.split("|")[2];
	totalonline+=parseInt(xmlhttp.responseText.split("|")[2]);
}
if(document.getElementById("totalonline"))
{
	  document.getElementById("totalonline").innerHTML=totalonline;
}
  }
 }
 xmlhttp.send(null)


}
setInterval("actualize()", 60000);
