function createXMLHttpReqObj() {
	var xmlHttp = null;
	// Mozilla, Opera, Safari sowie Internet Explorer 7
	if (typeof XMLHttpRequest != 'undefined') {
		xmlHttp = new XMLHttpRequest();
	}
	if (!xmlHttp) {
		// Internet Explorer 6 und älter
		try {
			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {
				xmlHttp = null;
			}
		}
	}
	return xmlHttp;
}

function User(id, name, ignored, externalId, profileUrl, photoUrl, gender, age) {
	this.id = id;
	this.name = name;
	// this.active=active;
	this.ignored = ignored;

	// alert(this.id + " / " + this.name + " - " + this.ignored);
	this.externalId = externalId;
	if (profileUrl != "null") {
		this.profileUrl = profileUrl;
	}
	if (photoUrl != "null") {
		this.photoUrl = photoUrl;
	}
	this.gender = gender;
	this.age = age != "null" ? age : 0;
}

