//gracias a Dr.Yes.
//alert('utils file called');
function OnloadLibrary(){
    var t = this;
    t.docLoaded = false;
    t.event = [];
    t.addEvent = function(str){
        t.event[t.event.length] = str;
        return t.event.length;
    }
    t.loadEvents = function(){
        for(var i=0; i<t.event.length;i++) {
            eval(t.event[i]);
        }
        t.docLoaded = true;
    }
    window.onload = t.loadEvents;
}
var onloadLib = new OnloadLibrary();


function removeFocusOnAllLinks(){
	for(var i=0 ; i < document.links.length ; i++) 
	document.links[i].onfocus=blurLink; 
}

function blurLink() {
if (this.blur) this.blur(); 
}

function forrester_survey() {
	// do nothing
	/*
	s = GetCookie('ForresterSurvey');
	if (s != null) {
		return;
	}
	else {
		var newwin=window.open('/popups/forrester-survey.html','survey','left=100,top=100,width=618,height=580,scrollbars=1,resizable=1');
		var today = new Date();
		var expire = new Date();
		var nDays = 25;
		var cookieName = 'ForresterSurvey';
		var cookieValue = 'SurveyViewed';
		var path="/";
		if (nDays==null || nDays==0) nDays=1;
		expire.setTime(today.getTime() + 3600000*24*nDays);
		document.cookie = cookieName+"="+escape(cookieValue) + ";path="+path + ";expires="+expire.toGMTString();
	}
	*/
}