	
	function updateDownload()
	{
		var ajaxRequest;  // The variable that makes Ajax possible!
		var servermainfolder = 'live';// THE SERVER MAIN FOLDER NAME
		//var serverhost = 'localhost';// THE SERVER IP ADDRESS
		var serverhost = window.location.host;// THE SERVER IP ADDRESS
			
		try
		{
			// Opera 8.0+, Firefox, Safari
			ajaxRequest = new XMLHttpRequest();
		} 
		catch (e)
		{
			
			// Internet Explorer Browsers
			try
			{
				ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
			} 
			catch (e) 
			{
				try
				{
					ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
				} 
				catch (e)
				{
					// Something went wrong
					alert("Your browser doesn't support ajax!");
					return false;
				}
			}
		}
		
		
		// Create a function that will receive data sent from the server
		ajaxRequest.onreadystatechange = function()
		{
			var expiredays = 1;//NO OF DAY THE COOKIE WILL BE EXPIRED
		}
		
		//NEED TO SPECIFY WHICH PHP PAGE TO CALL OUT FOR

		//ajaxRequest.open("REQUEST", "http://"+serverhost+"/"+servermainfolder+"/game_trx.php?game_point="+game_point+"&game_tree="+game_tree, true);
		ajaxRequest.open("GET", "http://"+serverhost+"/"+servermainfolder+"/download_widget.php", true);
		ajaxRequest.send(null); 
		
		return true;
		
	}
	
	