var custom_var = "";
Event.observe(window, "unload", function() {
	new Ajax.Request("/?ajaxReq=postVisualization&page=" + VIZ_PAGE + "&u=" + document.location + "&clickPoints=" + escape(clickPoints) + "&screenx=" + screen.width);
});

var clickPoints = "";
Event.observe(window, "click", function(e) {
	clickPoints += Event.pointerX(e)+ "," + Event.pointerY(e)+ ";";
});