	var onCom = function()
	{
		$('text').value = ''
		$('text').focus()
	}

	var onComEn = function()
	{
		$('enes').style.display = ''
		onCom()
	}

	var onComEs = function()
	{
		$('esen').style.display = ''
		onCom()
	}
	function sendForm(thisElem)
	{	
		new ajax ('httpTrans.php', {
			postBody: 'q='+thisElem.text.value+'&lp=enes', 
			update: $('enes'),onComplete: onComEn
		});

		new ajax ('httpTrans.php', {
			postBody: 'q='+thisElem.text.value+'&lp=esen', 
			update: $('esen'),onComplete: onComEs
		});

		thisElem.text.value = 'Processing "'+thisElem.text.value+'"...'
		$('esen').style.display = 'none'
		$('enes').style.display = 'none'
		
		return false;
	}