var AJAX
function initAjax(){
try{
AJAX=new ActiveXObject('MSXML2.XMLHTTP.3.0')}
catch(e){
try{
AJAX=new ActiveXObject('MSXML2.XMLHTTP')}
catch(f){
try{
AJAX=new ActiveXObject('Microsoft.XMLHTTP')}
catch(g){
AJAX=null}}}
if(!AJAX&&typeof(XMLHttpRequest)!='undefined'){
AJAX=new XMLHttpRequest()}}
function doRequest(url,callback,method){
if(method !='POST'){
method='GET'}
if(typeof(callback)=='undefined'){
return}
try{
AJAX.open(method,url,true)
AJAX.onreadystatechange=eval(callback)
AJAX.send(null)}
catch(e){}}
window.onload=function(){
initAjax()}
