function getSgIndex()
{
	if (window.XMLHttpRequest)
	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp=new XMLHttpRequest();
	  }
	else
	  {// code for IE6, IE5
	  xmlhttp=new ActiveXObject("Microsoft.XMLHttp");
	  }
	xmlhttp.onreadystatechange=function()
	  {
	  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	    {
	    document.getElementById("sgindex").innerHTML=xmlhttp.responseText;
	    }
	  }
	xmlhttp.open("GET","get-index.php?t="+ Math.random(),true);
	xmlhttp.send();
}

function getInterIndex()
{
	if (window.XMLHttpRequest)
	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp2=new XMLHttpRequest();
	  }
	else
	  {// code for IE6, IE5
	  xmlhttp2=new ActiveXObject("Microsoft.XMLHttp");
	  }
	xmlhttp2.onreadystatechange=function()
	  {
	  if (xmlhttp2.readyState==4 && xmlhttp2.status==200)
	    {
	    document.getElementById("interindex").innerHTML=xmlhttp2.responseText;
	    }
	  }
	xmlhttp2.open("GET","get-inter-index.php?t="+ Math.random(),true);
	xmlhttp2.send();
}