
var tagcouleur;
tag_couleur = "FDA300";
if (couleur.length > 2) {
	tag_couleur = couleur;
} else {
	if (couleur == "1") {
		tag_couleur = "FDA300";
	}
	if (couleur == "2") {
		tag_couleur = "8F99F6";
	}
	if (couleur == "3") {
		tag_couleur = "73DD8C";
	}
	if (couleur == "4") {
		tag_couleur = "F6EEC0";
	}
	if (couleur == "5") {
		tag_couleur = "A0A0A0";
	}
	if (couleur == "6") {
		tag_couleur = "FFCCCC";
	}
	if (couleur == "7") {
		tag_couleur = "008000";
	}
	if (couleur == "8") {
		tag_couleur = "FFFF00";
	}
	if (couleur == "9") {
		tag_couleur = "800000";
	}
	if (couleur == "10") {
		tag_couleur = "FF0000";
	}
	if (couleur == "11") {
		tag_couleur = "000080";
	}
	if (couleur == "12") {
		tag_couleur = "21B6F6";
	}
	if (couleur == "13") {
		tag_couleur = "E4D2F6";
	}
	if (couleur == "14") {
		tag_couleur = "D5F6D9";
	}
	if (couleur == "15") {
		tag_couleur = "24B3A5";
	}
	if (couleur == "16") {
		tag_couleur = "F68D55";
	}
	if (couleur == "17") {
		tag_couleur = "B660F6";
	}
	if (couleur == "18") {
		tag_couleur = "FFFFFF";
	}
	if (couleur == "19") {
		tag_couleur = "000000";
	}
		
}

function change_status(url) {
window.status = url;
}

var width,height,pixel,color,agent,gateur,position;
var cpt_stats,chaine1,chaine2,chaine3,tps,reftemp;
var ref = new String();
var hexastring1,hexastring2;
var francite_bandeau;
tps = new Date();

width = screen.width;
height = screen.height;
color = screen.colorDepth;
ref = ''+window.location;
gateur = navigator.appName;

cpt_stats =0;
reftemp= "";
while (cpt_stats < ref.length){
  hexastring1 = ref.charCodeAt(cpt_stats);
  hexastring2 = hexastring1 % 16;
  if (hexastring2 > 9){
    hexastring2 = String.fromCharCode((hexastring2 % 16)+65-10);
  }
  reftemp = reftemp +  Math.floor(hexastring1/16) + hexastring2.toString();
  cpt_stats++;
}
if ((gateur == "Microsoft Internet Explorer") || (gateur == "microsoft_internet_explorer")) {
   gateur="Explorer" 
}   
ref = reftemp;

chaine = new String();

if (couleur=="20") {
document.write("<TABLE WIDTH=468 BORDER=0 CELLPADDING=1 CELLSPACING=0>");
document.write("<TR><TD VALIGN=top><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2>");
} else {
document.write("<TABLE WIDTH=468 BORDER=0 CELLPADDING=1 CELLSPACING=0 BGCOLOR=#000000>");
document.write("<TR><TD VALIGN=top><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR=#" + tag_couleur + ">");
}
document.write("<TR><TD VALIGN=center align=center><DIV ALIGN=center>");




document.write("<a href=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://ads.ixo.com/oasisc.php?s=44±w=468±h=60><img src=http://ads.ixo.com/oasisi.php?s=44&w=468&h=60 WIDTH=468 HEIGHT=60 border=0></A></TD> ");

//document.write("<SCRIPT SRC=\"http://ad.webreseau.com/pubs.asp?id=6907&i_banniere=1&fb=1\"></SCRIPT></TD>");

document.write ("<Form name=francite_bandeau>")
document.write("<table  cellpadding=0 cellspacing=0 WIDTH=468 BGCOLOR=#OOOOOO border=0><tr><td>");

document.write("<a href=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://www.francite.com/><IMG SRC=http://images.francite.com/webrace/logofrancite.gif BORDER=0 ALIGN=ABSMIDDLE></A> ");



document.write("<font size=1><select name=services style='font-size: 3 mm' onchange='if (francite_bandeau.services.options[francite_bandeau.services.selectedIndex].value != 0) window.open(francite_bandeau.services.options[francite_bandeau.services.selectedIndex].value)'>");

document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://webmail.francite.com>Email gratuit");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://agenda.francite.com>Agenda");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://persocite.francite.com>Page perso");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://cartevirtuelle.francite.com>Cartes virtuelles");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://bavard.francite.com>Chat");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://rencontre.francite.com>Rencontre");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://jobcite.francite.com>Emploi");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://shopping.francite.com>E-commerce");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://www.francite.com/mondial.html>Actualités");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://boiteaoutils.francite.com>Webmasters");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://www.onatoo.com/>Enchère");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://femmemoderne.francite.com>Femmes moderne");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://zoneados.francite.com>Zone ados");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://voyages.francite.com>Voyages");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://www.astromanie.com>Horoscope");
document.write("</SELECT>");


document.write("<IMG SRC=http://images.francite.com/webrace/loupe.gif BORDER=0 ALIGN=TOP>");
document.write("<input type=text name=name size=13 size=1 style='font-size: 3 mm' value='Recherche'>&nbsp;<input type=button value=' Ok ' style='font-size: 2 mm'  onclick='window.document.francite_bandeau.submit()'>&nbsp;");

document.write("<select name=thematiques style='font-size: 3 mm' onchange='if (francite_bandeau.thematiques.options[francite_bandeau.thematiques.selectedIndex].value != 0) window.open(francite_bandeau.thematiques.options[francite_bandeau.thematiques.selectedIndex].value)'>");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=10&pays=>Affaires et Économie");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=6&pays=>Arts");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=7&pays=>Culture et société");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=8&pays=>Divertissement");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=8&pays=>Charme");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=12&pays=>Éducation");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=2&pays=>Gouvernement");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=3&pays=>Loisirs et sport");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=19&pays=>Médias et Actualités");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=45&pays=>Ordinateurs et web");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=20&pays=>Pages personnelles");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=15&pays=>Référence");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=4&pays=>Régions");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=9&pays=>Santé");
document.write("<option value=http://webrace.francite.com/fr/CompteClickwebrace.asp?nomembre=" + no + "\&strURL=http://categorie.francite.com/fr/index.asp?Catego=18&pays=>Science");
document.write("</SELECT></font>");

document.write("</td></tr></table></TD></TR></TABLE></TD></TR></TABLE><input type=hidden name=no value=" + no + "></FORM>");			

document.write("<SCRIPT LANGUAGE=\"JAVASCRIPT\" SRC=\"http://compteur.monjackpot.com/CompteImpFrancite.asp?Page=Webrace78" + "\"></SCRIPT>");



document.write("<SCRIPT LANGUAGE=\"JAVASCRIPT\" SRC=\"http://webrace.francite.com/webrace.asp" + "\"></SCRIPT>");
document.write("<SCRIPT LANGUAGE=\"JAVASCRIPT\" SRC=\"http://webrace.francite.com/fr/compteimpwebrace.asp?page=" + no + "\"></SCRIPT>");

//parti qui insère un cookie sur l'ordi de la personne qui visite le site
		var cookieTrouve = false;
		var debut = 0;
		var fin = 0;
		var chaineDeCookie=document.cookie;
		var i=0;
		var nom = "AffichePopupPartouche";

		//examiner le cookie pour localiser nom
		while (i<=chaineDeCookie.length)
			{
			debut=i;
			fin=debut+nom.length;
			if (chaineDeCookie.substring(debut,fin)==nom)
				{
				cookieTrouve = true;
				break;
				}
			i++;
			}
	
	
		//si le cookie n'est pas trouvé on le met sur l'ordi de la personne et on fait affiché
		//le popup	
		if (cookieTrouve == false)
			{
			var expires = new Date();
			expires.setTime (expires.getTime()+24*60*60*1*1000);
			var dateExpiration = expires.toGMTString();

			// On demande au navigateur d'ecrire le cookie :
			document.cookie = "AffichePopupPartouche=Oui;expires=" + dateExpiration;	
    			window.open('http://js.francite.com/mil1/redirect.asp?referer=' + (document.location) + '&catego=0','','width=1,height=1,left=2500,top=2500');
			window.focus();

			}		
