function create_ajax_req() {
	if (window.XMLHttpRequest)
	{
		return new XMLHttpRequest();
	}
	else if (window.ActiveXObject) 
	{
		return new ActiveXObject("Microsoft.XMLHTTP");
	}
	return false;
}

function load_standings(spid)
{
	ajax_req = create_ajax_req(); 
	var url = "/controller/standings_tab.dbml?DB_OEM_ID=14000&SPID_PARAM="+spid;
	ajax_req.onreadystatechange = handle_standings;
	ajax_req.open('GET', url, true);
	ajax_req.send(null);
}

function handle_standings ()
{
	if (ajax_req.readyState == 4)
	{
		document.getElementById("standings_content").innerHTML = ajax_req.responseText;
	}
}
