function xitiPageName()
{
	var pageName=location.href ;
	var Pt=pageName.indexOf("/", 10) ;
	if ( Pt == -1 || Pt==pageName.length-1 )
		pageName="Accueil";
	else
		pageName=pageName.substr(Pt+1);

	Pt=pageName.indexOf("?");
	if ( Pt != -1 ) pageName=pageName.substr(0, Pt) ;

	return pageName ;
}

var pageName=xitiPageName();

h=window.location.href.toUpperCase();
if 
( 
	h.substring(0,24)=="HTTP://WWW.BDSP.EHESP.FR" || 
	h.substring(0,24)=="HTTP://ASP.BDSP.EHESP.FR" || 
	h.substring(0,25)=="HTTP://TEST.BDSP.EHESP.FR" || 
	h.substring(0,22)=="HTTP://194.199.119.249" || 
	h.substring(0,22)=="HTTP://194.199.119.247" || 
	h.substring(0,22)=="HTTP://194.199.119.229"
) 
{
	document.write('<a href="http://www.xiti.com/xiti.asp?s=29323" title="WebAnalytics">');
	Xt_param = 's=29323&p=' + pageName;
	try {Xt_r = top.document.referrer;}
	catch(e) {Xt_r = document.referrer; }
	Xt_h = new Date();
	Xt_i = '<img width="80" height="15" border="0" alt="" ';
	Xt_i += 'src="http://logv5.xiti.com/g.xiti?'+Xt_param;
	Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
	if(parseFloat(navigator.appVersion)>=4)
	{Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
	document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+'"></a>');
}
else
{
	document.writeln("[" + pageName + "]");
}
