// JavaScript Document
/************************************************************************************/
	function ParamURL() {
		url = window.location.href;
		var PremierParam=new RegExp("[&?]+","g");
		var DeuxiemeParam=new RegExp("[=]+","g");
		var tabNom=url.split(PremierParam);
		var	tabParam=new Array();
		if (tabNom!=null) {
			for (var i=1;i<tabNom.length;i++){
				var ArrayParam=tabNom[i].split(DeuxiemeParam);
				tabParam[ArrayParam[0]]=ArrayParam[1];
											}
					}
		return tabParam;

	}
	// Appel de la fonction et création du tableau des paramètres
	var urlParam = ParamURL();

/************************************************************************************/
RefSite=70000;
RefPage=2;
LServeur=document;
Heure = new Date();
HeureMinuteSeconde= '&heure=' + Heure.getHours() + '&Minute=' + Heure.getMinutes() + '&seconde=' + Heure.getSeconds();

var code = '';
if(parseFloat(navigator.appVersion)>=4)
{

Ecran=screen;
code += 'resolution=' + Ecran.width + 'x' + Ecran.height + '&couleur=' +Ecran.colorDepth;
code += '&provenance=' + escape(document.referrer.replace('&', '$'));
code += '&domaine=' + location.hostname;
code += '&refproduit='+urlParam["RefArticleInterne"];
code +=HeureMinuteSeconde;
code +='&refsite='+RefSite+'&refpage='+RefPage+'&location='+location.pathname;
document.write('<img width=1 height=1 align=right src="/visite/add_visite.asp?'+code+'">');

}

