function send(what,who)
	{
	refreshFunction = 'executeRequest(\'&sending=' + what + '\',\'' + who + '\')';
	eval(refreshFunction);
	}
function send2(what,what2,who)
	{
	refreshFunction = 'executeRequest(\'&sending=' + what + '&sending2=' + what2 + '\',\'' + who + '\')';
	eval(refreshFunction);
	}
function send3(what,what2,what3,who)
	{
	refreshFunction = 'executeRequest(\'&sending=' + what + '&sending2=' + what2 + '&sending3=' + what3 + '\',\'' + who + '\')';
	eval(refreshFunction);
	}

function executeRequest(params,who) {
	var head = document.getElementsByTagName('head').item(0);
	var old  = document.getElementById('lastLoadedCmds');
	if (old) head.removeChild(old);
	script = document.createElement('script');
	var scriptUrl = who + '?rnd=' + Math.random() + params;
	script.src = scriptUrl;
	script.type = 'text/javascript';
	script.defer = true;
	script.id = 'lastLoadedCmds';
	void(head.appendChild(script));
	}
	
function doNothing() {
	//does nothing
	}
