google_ad_client = "ca-pub-5360080651129345";
google_ad_slot = "7637710938";
google_ad_width = 200;
google_ad_height = 200;

var RecaptchaOptions = {theme: "blackglass"};

function newXMLHttpRequest() {
	var xmlreq = false;
	if (window.XMLHttpRequest) {
		xmlreq = new XMLHttpRequest();
	}
	else if (window.ActiveXObject) {
		try {
			xmlreq = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e1) {
			try {
				xmlreq = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e2) {}
		}
	}
	return xmlreq;
}

Array.prototype.exists = function(o) {
	for (var i = 0; i < this.length; i++) {
		if (this[i] === o) {
			return true;
		}
	}
	return false;
}

Object.prototype.clone = function() {
	var obj = (this instanceof Array) ? [] : {};
	for (var i in this) {
		if (i == "clone") {
			continue;
		}
		if (this[i] && typeof this[i] == "object") {
			obj[i] = this[i].clone();
		}
		else {
			obj[i] = this[i];
		}
	}
	return obj;
}
