function ajaxUpdatePage(URLstr,containerid){
	var xmlHttpReq = false;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    xmlHttpReq.open('GET', URLstr, true);
    xmlHttpReq.onreadystatechange = function() {
        if (xmlHttpReq.readyState == 4) {
            document.getElementById('' + containerid + '').innerHTML = xmlHttpReq.responseText;
        }
		else
		{
			document.getElementById('' + containerid + '').innerHTML = 'loading...';
		}
    }
	xmlHttpReq.send();
}

