//Intlock tracking code start

function ignoreca() { var s = document.getElementById("_cat_async_load"); s.parentNode.removeChild(s); try { console.info("ignore ca"); } catch (e) { }}
var iignoreca = setTimeout(ignoreca, 15000);
(function () {
		var ca = document.createElement('script'); ca.type = 'text/javascript'; ca.async = true;
		ca.src = 'http://stats.intlock.com/CardioLogAgent/ca.aspx?_random='+Math.random();
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ca, s);
})();

try {
	var _head = document.getElementsByTagName("head")[0];
	var _style = document.createElement("style");
	var _rule = document.createTextNode("body {visibility:none; background-image:none !important; background:none !important;}");
	_style.id = "_cat_async_load";
	_style.type = "text/css";
	if (_style.styleSheet) _style.styleSheet.cssText = _rule.nodeValue;
	else _style.appendChild(_rule);

	if ((_head.insertBefore) != "undefined" && typeof(_head.childNodes) != "undefined" && _head.childNodes.length > 0) _head.insertBefore(_style, _head.childNodes[0]);
	else _head.appendChild(_style);
} catch (e) {
}

function __initCardioLogAgent() {
    if (typeof(document.__cardiolog) == "undefined") {
        document.__cardiolog = true;
	    var script = document.createElement("script");
	    script.src = 'http://stats.intlock.com/CardioLogAgent/AgentEmbed.aspx?env=SP2010&r='+Math.random()*100000;
	    document.body.appendChild(script);
	} 
}
if (typeof(document.__jsloaderInterval) == "undefined") {
    if (navigator.userAgent.match(/Safari/i)) {
	    document.BrowserType = "safari";
	    document.__jsloaderInterval = window.setInterval(function() {
							    if(document.readyState == "loaded" || document.readyState == "complete") {
								    window.clearInterval(document.__jsloaderInterval);
								    __initCardioLogAgent();
							    }}, 10);
    } else if (document.addEventListener) {
	    document.BrowserType = "ff";
	    document.addEventListener("DOMContentLoaded", __initCardioLogAgent, false);
    } else if (document.all && !window.opera) {
	    document.BrowserType = "ie";
	    document.__jsloaderInterval = window.setInterval(function() {
							    if(document.readyState == "loaded" || document.readyState == "complete") {
								    window.clearInterval(document.__jsloaderInterval);
								    __initCardioLogAgent();
							    }}, 10);
    }  
}
//Intlock tracking code end
