/*******************************************************************************
**
**	$Id$
**
********************************************************************************
**    ____________________________________________________________________
**   /               _                       ____                         \
**  |     ____      | |_ ___  __ _ _ __ ___ | __ )  _____  __              | 
**  |    / _  \     | __/ _ \/ _` | '_ ` _ \|  _ \ / _ \ \/ /              |
**  |   / |_  /     | ||  __/ (_| | | | | | | |_) | (_) >  <               |
**  |   \____/       \__\___|\__,_|_| |_| |_|____/ \___/_/\_\              |
**  |                                                                      |
**  |   Copyright (c) 2009, TeamBox SARL             All rights reserved   |
**  |                                                                      |
**  |  Any use of this software - including reproduction, modification,    |
**  |  distribution, transmission - without the prior written permission   |
**  |  of the authors is strictly prohibited.                              |
**  |                                                                      |
**   \____________________________________________________________________/
**
********************************************************************************
**
**	Code de tracking
**
*******************************************************************************/

$(function()
{
	var url=MkUrl("tracking.php");

	if(!url)
	{
		return;
	}
	// Ne pas utiliser document.location directement !
	// (il faut caster en string)
	var me=""+document.location;
	var ref=""+document.referrer;
	jQuery.ajax(
		{
			type:		"GET",
			url:		url,
			data:		{ url: me, referrer: ref },
			async:		true,
			dataType:	"json"
		});
});

