// Attention KeyWords et Description doivent être en majuscule
// Paramètres à ajouter avant l'appel
//	<SCRIPT LANGUAGE="JavaScript">
//		Mode='DebugASP';				// Passe en mode débug ASP
//		Mode='DebugJS';				    // Passe en mode débug Javascript
//		Title='Autre Titre';            // Change le titre
//		DomainName='Autre Domaine';     // Change le nom de domaine
//		Url='AutreUrl';                 // Change l'url par défaut
//		Referrer='AutreReferrent';      // Change le référrent
//      RegisterIt='True'               // Enregistre le domaine sur le serveur même si l'IP est différent
//      Hidden='True'					// Rend invible le domaine 
//	</SCRIPT>

<!--
var Indic

	if (!window.DomainName) { Indic="DomainName="    +escape(window.document.domain);   } else { Indic="DomainName="   + escape(window.DomainName) }
	if (!window.Url)        { Indic+="&URL="         +escape(window.document.URL);      } else { Indic+="&Url="        + escape(window.Url)        }
	if (!window.Title)      { Indic+="&Title="       +escape(document.title);           } else { Indic+="&Title="      + escape(window.Title)      }
	if (!window.Referrer)   { Indic+="&Referrer="    +escape(window.document.referrer); } else { Indic+="&Referrer="   + escape(window.Referrer)   }
	if (window.RegisterIt)  { Indic+="&RegisterIt="  +escape(window.RegisterIt); }
	if (window.Hidden)  	{ Indic+="&Hidden="  	 +escape(window.Hidden); }
	Indic+="&AppName="+escape(navigator.appName);
	Indic+="&AppVersion="+escape(navigator.appVersion);
	Indic+="&Cookie="+(navigator.cookieEnabled?"True":"False");
	Indic+="&UserLanguage="+(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage);
	Indic+="&Platform="+navigator.platform;
	if(typeof(screen)=="object")
	{
		Indic+="&ScreenResolution="+screen.width+"x"+screen.height;
		Indic+="&ColorDepth="+screen.colorDepth;
	}
	if (navigator.userAgent.indexOf("MSIE") != -1) {
		if (document.all.keywords) { Indic+="&Keywords="+document.all.keywords.content; }
		if (document.all.Keywords) { Indic+="&Keywords="+document.all.Keywords.content; }
		if (document.all.description) { Indic+="&Description="+document.all.description.content; }
		if (document.all.Description) { Indic+="&Description="+document.all.Description.content; }
	}
	if (window.Param)  { Indic+="&" + Param; }
	
	if (!window.Mode) {
		document.write('<IMG WIDTH="0" HEIGHT="0" SRC="http://control.lesateliersduweb.com/logs.asp?'+Indic+'" style="display: none;">');
	} 
	else 
	{
		if (window.Mode =="DebugASP") { window.open("http://control.lesateliersduweb.com/logs.asp?"+Indic, "_blank"); }
		if (window.Mode =="DebugJS")  { var win = window.open("about:blank", "_blank"); with (win) { document.write(Indic); }}
	}
//-->
