function addOption(selectId, val, txt) {
	var objOption = new Option(txt, val);
	document.getElementById(selectId).options.add(objOption);
}
//keep around the old call function
xajax.realCall = xajax.call;
//override the call function to bend to our wicked ways
xajax.call = function(sFunction, aArgs, sRequestType)
{
	//show the spinner
	this.$('spinner').style.display = 'inline';
	//call the old call function
	return this.realCall(sFunction, aArgs, sRequestType);
}
//save the old processResponse function for later
xajax.realProcessResponse = xajax.processResponse;
//override the processResponse function
xajax.processResponse = function(xml)
{
	//hide the spinner
	this.$('spinner').style.display = 'none';
	//call the real processResponse function
	return this.realProcessResponse(xml);
}
function getServers()
{
	xajax.$('servers').disabled=true;
	xajax.$('subservers').disabled=true;
	xajax.$('Submit').disabled=true;
	xajax_addServers('servers', document.quicksearch.game.value);
	return false;
}
function getSubservers()
{
	xajax.$('subservers').disabled=true;
	xajax.$('Submit').disabled=true;
	xajax_addSubservers('subservers', document.quicksearch.game.value, document.quicksearch.servers.value);
	return false;
}
