var ajax = false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
try {
  ajax = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
  try {
    ajax = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (e2) {
    ajax = false;
  }
}
@end @*/

if (!ajax && typeof XMLHttpRequest != 'undefined') {
  ajax = new XMLHttpRequest();
}

function ajax_req(method, url, func) {
	ajax.open(method, url, true);
  	ajax.onreadystatechange = eval(func);
  	ajax.send(null);
  
}