//v201107131721
var _RTLTIU = "http://www.ge.ch/inc/stats/js/";

var _RTLTInDivF = "gaRTLTI";

function JSONscriptRequest(u) {
	this.fullUrl = u; 
	this.rIE = '&r=' + (new Date()).getTime();
	this.headTag = document.getElementsByTagName("head").item(0);
	this.scriptId = 'jsId' + JSONscriptRequest.scriptCounter++;
}

JSONscriptRequest.scriptCounter = 1;

JSONscriptRequest.prototype.buildScriptTag = function () {
	this.scriptO = document.createElement("script");
	this.scriptO.setAttribute("type", "text/javascript");
	this.scriptO.setAttribute("charset", "utf-8");
	this.scriptO.setAttribute("src", this.fullUrl + this.rIE);
	this.scriptO.setAttribute("id", this.scriptId);
}

JSONscriptRequest.prototype.removeScriptTag = function () {
	try	{
		this.headTag.removeChild(this.scriptO);  
	} catch (e) {
	}
}

JSONscriptRequest.prototype.addScriptTag = function () {
    this.headTag.appendChild(this.scriptO);
}

function removeAllChildNodes(n) {
	if (n && n.hasChildNodes && n.removeChild) {
		while (n.hasChildNodes()) {
			n.removeChild(n.firstChild);
		}
	}
}

function gaRTLTIFExec(u) {
	fO = new JSONscriptRequest(u);
	fO.buildScriptTag();
	fO.addScriptTag();
}

function gaRTLTIWriteGa(jsonD) {
	var RTLTIgaID = jsonD.ga;
	if (RTLTIgaID != "") {
		var RTLTIga = "var _gaq = _gaq || []; _gaq.push(['_setAccount', '"+RTLTIgaID+"']); _gaq.push(['_setDomainName', 'none']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_gat._anonymizeIp']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();"
		var RTLTIsO = document.createElement("script");
		RTLTIsO.setAttribute("type", "text/javascript");
		RTLTIsO.text = RTLTIga;

		var RTLTIh = document.getElementById(_RTLTInDivF);
		RTLTIh.appendChild(RTLTIsO);
	}
}

// Main
function s() {
	document.write('<div id="'+_RTLTInDivF+'"></div>')
	var RTLTIu = "key/get/?k="+_RTLTI_k;
	gaRTLTIFExec(_RTLTIU+RTLTIu);
}
s(); //Start the script
