function sendRequest(theURL) {
	new Ajax.Request(theURL, 
		{ 
		method: 'post', 
		postBody: 'number='+ $F('number')+'&lang='+$F('lang'),
		onComplete: showResponse 
		});
	}

function showResponse(req){
	$('show').innerHTML= req.responseText;
}



function ajaxread() 
{ 
var ajaxread; 
try 
{ ajaxread=new XMLHttpRequest(); } 
catch (e) 
{ 
try 
{ ajaxread=new ActiveXObject("Msxml2.XMLHTTP"); } 
catch (e) 
{ 
try 
{ ajaxread=new ActiveXObject("Microsoft.XMLHTTP"); } 
catch (e) 
{ 
document.write("This page needs AJAX to run"); 
return false; 
} 
} 
} 
ajaxread.onreadystatechange=function() 
{ if(ajaxread.readyState==4) { 
//document.getElementById("clock").innerHTML=ajaxread.responseText; //clock is the name of te division that needs to be refreshed
} 
} 
//ajaxread.open("GET","clock.php",true); //the name of the file that needs to be inserted into the division in this case its clock.php
//ajaxread.send(null); 
} 

function readalways() 
{ 
setTimeout("ajaxread()",500); //the lengh of time it takes to update the division
setTimeout("readalways()",500); 
} 
readalways();
