var span_name;
function get_feature(feature, key, span) {
	http.open("GET", "../welcome/get_feature.php?f=" + feature + "&u=" + key);
	http.onreadystatechange = get_full_mp_response; 
	http.send(null);
	span_name = span;
}
function get_full_mp_response() {
	if (http.readyState == 4) {
		var response = http.responseText;
		alert(response);
		if (response == '0') {
			document.getElementById(span_name).innerHTML = "<br><b>Sorry, you need to <a href='../dots/index.php'>get more dots</a> to do this.</b>";
		} else {
		alert("hoho");
			document.getElementById(span_name + "_shell").innerHTML = response;
		}
	}
}
