var calendarxmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5) try {
   calendarxmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
   } catch (e) {
   try {
   calendarxmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
   } catch (E) {
   calendarxmlhttp = false;
   }
}
@end @*/
if (!calendarxmlhttp && typeof XMLHttpRequest != 'undefined') {
   calendarxmlhttp = new XMLHttpRequest();
}
function changeMonth(serverPage, divID) {
   //
   // If in mid-process, abort:
   //
   if(calendarxmlhttp.readyState!=4 && calendarxmlhttp.readyState!=0){
      calendarxmlhttp.abort();
   }
   var obj = document.getElementById(divID);
   var newTxt='<p>Loading...</p>';
   obj.innerHTML=newTxt;
   calendarxmlhttp.open("GET", serverPage, true);
   calendarxmlhttp.onreadystatechange = function() {
      if (calendarxmlhttp.readyState == 4 && calendarxmlhttp.status == 200) {
         obj.innerHTML = calendarxmlhttp.responseText;
      }
   }
   calendarxmlhttp.send(null);
}

