
function ajaxFunction(x,y)
{
	document.getElementById(x).innerHTML='<span class="lnk">Loading...</span>';
	var ajaxReady=0;
var xmlhttp;
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)
  {
	ajaxReady=1;
	document.getElementById(x).innerHTML=xmlhttp.responseText
	//eval(xmlhttp.responseText);
  
  }
if(xmlhttp.readyState==4 && xmlhttp.status != 200)
  {
	ajaxReady=1;
	document.getElementById(x).innerHTML='Unable to get Update'
	
  
  }
}
y=y+'&sid='+Math.random()
xmlhttp.open("GET",y,true);
xmlhttp.send(null);
}

