// Function for Category and Sub-Category 

function SelectCountry(auction_id){
	
		var xmlHttp;
		try
		{
			// Firefox, Opera 8.0+, Safari
			xmlHttp=new XMLHttpRequest();
		}
		catch (e)
		{
			// Internet Explorer
			try
			{
				xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch (e)
			{
				try
				{
					xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
				}
				catch (e)
				{
					alert("Your browser does not support AJAX!");
					return false;
				}
			}
		}
		xmlHttp.onreadystatechange=function()
		{
			if(xmlHttp.readyState==4)
			{
				
				n = xmlHttp.responseText;
				s= n.split(",");
				//s[0] is the minimum bid amount
				//s[1] is the current_bit amount
								
				document.getElementById('minimum_bid2').innerHTML = s[0];
				document.getElementById('current_bid1').innerHTML = s[1];
				
				document.getElementById('current_bid3').innerHTML = s[1];
				document.getElementById('high_bid').innerHTML = s[2];
				
				// Left side 10 min
				//document.getElementById('minimum_bid2').innerHTML = s[0];
				//document.getElementById('current_bid1').innerHTML = s[1];
				
				
			}
		}
		xmlHttp.open("GET","ajax_auction_details.php?auction_id="+auction_id,true);
		xmlHttp.send(null);
}
