function getLocations(state, city, id)
{
	var xmlhttp;
	if(window.XMLHttpRequest)
		xmlhttp=new XMLHttpRequest();	 		// for IE7+, Firefox, Chrome, Opera, Safari
	else
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); // for IE6, IE5


	xmlhttp.onreadystatechange=function() {
		if(xmlhttp.readyState==4 && xmlhttp.status==200)
			document.getElementById("states_list").innerHTML=xmlhttp.responseText;
		
	}
	xmlhttp.open("GET",window.location.pathname+"wp-content/themes/simple-simons/locations_list.php?s="+state+"&c="+city+"&id="+id,true);
	xmlhttp.send();
}

