var xmlHttp;

function createXMLHttpRequest() {
  if (window.ActiveXObject) {
  	xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
  }
  else if (window.XMLHttpRequest) {
  	xmlHttp = new XMLHttpRequest();

  }
}


function goToAnchor(anchorname) {
	location.href="#" + anchorname;
}


function showResponseMsg (id, msgHTML) {
	var e = document.getElementById(id);
	e.innerHTML = msgHTML;
}


function responseContents() {
    if (xmlHttp.readyState == 4) {
        if (xmlHttp.status == 200) {
            //do nothing
        } else {
            alert('There was a problem with the request.');
        }
    }
}

