function sendRequest(url,returnValue)
{
	if (window.XMLHttpRequest)
	{
 		xmlHttp = new XMLHttpRequest();
		
  		try 
  		{
			if(returnValue)
			{
				 xmlHttp.onreadystatechange = processResponse;
			}
  			xmlHttp.open("GET", url, true); 
  		} 
  		catch (e) 
  		{
     		alert("Sorry Cannot connect to server");
  		}
		xmlHttp.send(null);
	} 
	else if (window.ActiveXObject) 
	{      
  		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
 		if (xmlHttp) 
 		{
			try 
	  		{
				if(returnValue)
				{
					 xmlHttp.onreadystatechange = processResponse;
				}
	  			xmlHttp.open("GET", url, true); 
	  		} 
	  		catch (e) 
	  		{
	     		alert("Sorry Cannot connect to server");
	  		}
	        xmlHttp.send();
    	}
    }
}







