window.addEvent("domready", function() {
	var hostname = window.location.hostname;
	var pathname = window.location.pathname;
	var search = window.location.search;
	new Request({
		method: 'post',
		url: '/page-visit'
	}).send('hostname=' + encodeURIComponent(hostname) +
	        '&pathname=' + encodeURIComponent(pathname) +
	        '&search=' + encodeURIComponent(search));
});
