<!--
//------------------------------------------------------------------------------------------ 
// fonction qui affiche le tag Xiti pour le site 'Portraits de femmes, Portraits de fermes'
//------------------------------------------------------------------------------------------ 
function display_xiti(pSite, pSite_niv2, pPage)
{
	// pSite_niv2 : numéro du site de niveau 2
	// pPage : nom de la page (rappel : pas d'accent, pas d'espace, pas d'apostrophe)
	var hsh = new Date();
	var hsd = document;
	var hsi = '<img width="1" height="1" src="http://logi3.xiti.com/hit.xiti?s=' + pSite + '&s2=' + pSite_niv2;
	hsi += '&p=' + pPage;
	hsi += '&hl=' + hsh.getHours() + 'x' + hsh.getMinutes() + 'x' + hsh.getSeconds();
	if(parseFloat(navigator.appVersion) >= 4)
	{
		var Xiti_s = screen;
		hsi += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;
	}
	document.write(hsi + '&ref=' + document.referrer.replace('&', '$') + '" >');
}

//fonction qui sert pour le marquage de clic de destination
function xt_click(pSite, pSite_niv2, page, url, nvlle)
{
//alert('page='+page+'\nurl='+url+'\nnvelle='+nvlle);
hsh = new Date();
hsd = document;
xt_img = new Image();
hsi = 'http://logi3.xiti.com/hit.xiti?s=' + pSite + '&s2=' + pSite_niv2;
hsi += '&p='+page+'&hl=' + hsh.getHours() + 'x' + hsh.getMinutes() + 'x' + hsh.getSeconds();
if(parseFloat(navigator.appVersion)>=4)
{Xiti_s=screen;hsi += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;}
hsi += '&ref=' + parent.document.referrer.replace('&', '$');
xt_img.src = hsi;
if (url != null)
{
   if ((nvlle=='')||(nvlle==null)) { hsd.location = url;} else {xfen = window.open(url,'xfen',''); xfen.focus();}
}
else
{
   return;
}
}


// -->