function getXMLHttpRequestObject() {
	var ajax = false;
	if (window.XMLHttpRequest) {
		ajax = new XMLHttpRequest();
	}else if (window.ActiveXObject) {
		try { 
		ajax = new ActiveXObject("Msxml2.XMLHTTP"); 
		} catch(e) {
			try {
				ajax = new ActiveXObject("Microsoft.XMLHTTP");
			} catch(e) { }
		}
	}
	return ajax;
}
function addEventSimple(obj,evt,fn) {
	if (obj.addEventListener) { obj.addEventListener(evt,fn,false); }
	else if (obj.attachEvent) {	obj.attachEvent('on'+evt,fn); }
}