    
    var xmlhttp;
    
    xmlhttp = null;

    function getData(dest,myFunctionHandler)
	{
		
//		alert(dest);

		xmlhttp=null;

		xmlhttp = GetXmlHttpObject();

		xmlhttp.onreadystatechange = myFunctionHandler;
		xmlhttp.open("GET", dest, true);
		xmlhttp.send();
		return;

	}
	
	function responsHandle()
	{
		if(xmlhttp.readyState == 1)
		{
		    
		}
		else if(xmlhttp.readyState == 4 && xmlhttp.status == 200)
		{
			document.getElementById('RatingDiv').innerHTML=xmlhttp.responseText;
		}
	}
	
function GetXmlHttpObject()
{
var myxmlHttp=null;
try
  {
	
  // Firefox, Opera 8.0+, Safari
  myxmlHttp=new XMLHttpRequest();
//	alert("FireFox Ajax Object 3");
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    myxmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    myxmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return myxmlHttp;
}
	