
var LangRL=new Object();LangRL.noajax='Sorry, Ajax not available!';LangRL.servererror='Sorry, unspecified server error!';var AjaxRL=new Object();AjaxRL.VERSION=0.41;AjaxRL.CreateObject=function(){var request=null;try{request=new XMLHttpRequest();}
catch(e){try{request=new ActiveXObject("MSXML2.XMLHTTP");}
catch(e){try{request=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e){}}}
return request;};AjaxRL.SendRequest=function(uri,callback,timeout,AlertOnError){var http=AjaxRL.CreateObject();if(http==null){if(AlertOnError){alert(LangRL.noajax);}
return false;}
http.open('get',uri,true);http.onreadystatechange=AjaxRL.HandleResponse(http,callback);try{http.timeout=timeout||5000;http.timeoutID=window.setTimeout(function(){http.abort();},http.timeout);}catch(e){}
http.send(null);};AjaxRL.HandleResponse=function(http,callback){return function(){var response='';if(http.readyState==4){try{window.clearTimeout(http.timeoutID);}catch(e){};if(http.status==200){response=http.responseText;callback(response);}
else{return false;}}};};