valuadder.runOnLoad(function() {
	valuadder.listenEvents(document.getElementById("factors-link"), "click", function(e) {
		var x, y, w, h;
		
		if (window.screenLeft)
			x = window.screenLeft;
		else if (window.screenX)
			x = window.screenX;
		else
			x = 0;
		
		if (window.screenTop)
			y = window.screenTop;
		else if (window.screenY)
			y = window.screenY;
		else
			y = 0;
		
		if (window.outerWidth)
			w = window.outerWidth;
		else if (document.documentElement.clientWidth)
			w = document.documentElement.clientWidth;
		else if (document.body.clientWidth)
			w = document.body.clientWidth;
		else
			w = 1024;
		
		if (window.outerHeight)
			h = window.outerHeight;
		else if (document.documentElement.clientHeight)
			h = document.documentElement.clientHeight;
		else if (document.body.clientHeight)
			h = document.body.clientHeight;
		else
			h = 768;
		
		window.open(document.getElementById("factors-link").href, "factors_link", "toolbar=no,menubar=no,location=no,width=500,height=350,scrollbars=yes,left=" + ((x + (w / 2)) - 250) + ",top=" + ((y + (h / 2)) - 175));
		
		if (e && e.preventDefault)
			e.preventDefault();
		else if (window.event)
			window.event.returnValue = false;
	});
});