function getHTTPObject() {
  var xmlHttp = false;
  /*@cc_on @*/
  /*@if (@_jscript_version >= 5)
	try {
	  xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
	  try {
	    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	  } catch (e2) {
	    xmlHttp = false;
	  }
	}
	@end @*/
	
	if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
	  xmlHttp = new XMLHttpRequest();
	}
	return xmlHttp;
}
var http = getHTTPObject(); // We create the HTTP Object

var calHTMLElementIDName = 'calendar';

function calendarShowResponse() {
  if (http.readyState == 4) {
    document.getElementById(calHTMLElementIDName).innerHTML = http.responseText;
  } // END IF;
} // END calendarShowResponse;

function calendarShow(link) {
  http.open("GET", link, true);
  http.onreadystatechange = calendarShowResponse;
  http.send(null);
} // END calendarShow;
