/* ----------------------------------- Compteur de bas de page ----------------------------- 
  Retour vers index Ouest, carte de France(option) , compteur général, lien et vote Weborama 
*/
var Compteur='Defaut.txt';

function Compteur_visites (Niveau,Compteur)
{
 if ((Compteur=='')||(Compteur==undefined)) Compteur='Phil-Ouest.txt';
 
 /******** Weborama gold ********/
 var WEBO_ZONE=1;   // Variables 
 var WEBO_PAGE=1;   //
 var webogold_ok=0; //  Webo gold

 function webogold_zpi(_WEBOZONE,_WEBOPAGE,_WEBOID)
 {
  var wbs_da=new Date();
  wbs_da=wbs_da.getHours()+'h'+wbs_da.getMinutes()+'s'+wbs_da.getSeconds();
  var wbs_ref=''+escape(document.referrer);
  var wbs_ta='0x0';
  var wbs_co=0;
  var wbs_nav=navigator.appName;
  if (parseInt(navigator.appVersion)>=4)
  {
   wbs_ta=screen.width+"x"+screen.height;
   wbs_co=(wbs_nav!="Netscape")?screen.colorDepth:screen.pixelDepth;
  }
  var wbs_arg="http://gold.weborama.fr/fcgi-bin/gold_1.fcgi?ID="+_WEBOID;
  wbs_arg+="&ZONE="+_WEBOZONE+"&PAGE="+_WEBOPAGE;
  wbs_arg+="&da="+wbs_da+"&ref="+wbs_ref+"&ta="+wbs_ta+"&co="+wbs_co;
  var wbs_t= " border='0' height='1' width='1' alt=''>";
  if (parseInt(navigator.appVersion)>=3)
  {
   webo_compteur = new Image(1,1);
   webo_compteur.src=wbs_arg;
  }
  else
  {
   document.write('<IMG SRC='+wbs_arg+wbs_t);
  }
  var wbs_cgi = "http://pub1.weborama.fr/fcgi-bin/";
  var wbs_pubarg = "ID="+_WEBOID+"&da="+wbs_da;
  document.write('<A HREF="' + wbs_cgi + 'pub_click.fcgi?'+wbs_pubarg+'" TARGET="weborama" onMouseOver="window.status=\'Compteur de visites Weborama\'; return true" onMouseOut="window.status=Titre; return true"><IMG SRC="'+wbs_cgi+'pub_affiche.fcgi?'+wbs_pubarg+'" border=0 width="100" Height="31" ALT=" Compteur de visites Weborama " ismap></A>');
 }
 webogold_ok=1;
 /******** Fin compteur Weborama ********/

 var Rep1;
 var Rep2; 
 if (Niveau==0) 
 {
  Rep1='\'';
  Rep2='"';
 }
 else 
 { 
  if (Niveau==1) 
  {
   Rep1='\'../';
   Rep2='"../';
  }
  else // Niveau=2 : Rep TaD (timbres à date)
  {
   Rep1='\'../../';
   Rep2='"../../';
  }
 }
 document.writeln ('<DIV ALIGN="Center">');
 document.writeln ('<TABLE BORDER=0>');
 document.writeln (' <TR>');

 if (Niveau!=0) { 
  document.writeln ('  <TD>');//-- Choix sur carte de France --
  document.writeln ('   <A CLASS="C" HREF='+Rep2+'Choix_Timbres.html" TARGET="Gauche" onMouseOver="document.images.Ouest1.src='+Rep1+'Images/Carte_Ouest_R.gif\' ; window.status=\'Vers le choix des timbres de l’Ouest\'; return true" onMouseOut="document.images.Ouest1.src='+Rep1+'Images/Carte_Ouest.gif\' ; window.status=Titre; return true">');
  document.writeln ('   <IMG SRC='+Rep2+'Images/Carte_Ouest.gif" BORDER=0 WIDTH=28 HEIGHT=28 ALT="Vers le choix des timbres de l’Ouest" NAME="Ouest1"></A>');
  document.writeln ('  </TD>');
 }
 
 document.writeln ('  <TD>');//-- Choix sur carte de France --
 document.writeln ('   <A CLASS="C" HREF='+Rep2+'Choix_Carte.html" TARGET="Droite" onMouseOver="document.images.France1.src='+Rep1+'Images/Carte_FranceR.gif\' ; window.status=\'Vers le choix d’un autre timbre sur la carte de France\'; return true" onMouseOut="document.images.France1.src='+Rep1+'Images/Carte_France.gif\' ; window.status=Titre; return true">');
 document.writeln ('   <IMG SRC='+Rep2+'Images/Carte_France.gif" BORDER=0 WIDTH=28 HEIGHT=28 ALT="Vers le choix d’un autre timbre sur la carte de France" NAME="France1"></A>');
 document.writeln ('  </TD>');
 document.writeln ('  <TD>');//-- Compteur de visites personnel --
 document.writeln ('   <TABLE CELLSAPCING=0 CELLPADDING=0 BORDER=0>');
 document.writeln ('    <TR>');
 document.writeln ('     <TD ALIGN="Center">');
 document.writeln ('      <TABLE BGCOLOR=Blue BORDER=1 BORDERCOLORLIGHT="#626AFF" BORDERCOLOR="#0000C4" BORDERCOLORDARK="#000053">');
 document.writeln ('       <TR>');
 document.writeln ('        <TD>');
 document.writeln ('         <TABLE BGCOLOR=Blue BORDER=0>');
 document.writeln ('          <TR>');
 document.writeln ('           <TD VALIGN="Middle">');
 if (location.href.indexOf('BL_WWW')!=-1) // connexion locale
 document.writeln ('            <A CLASS="C" HREF="http://www.le-lann.com/cgi-bin/Stats_compteur.pl?Compteurs/'+Compteur+'" TARGET="Droite"><IMG SRC="http://www.le-lann.com/cgi-bin/Lecture_Compteur.pl?Compteurs/'+Compteur+'" BORDER="0" ALT=" Connexion en mode local " ALIGN="Middle"></A>');
 else
 document.writeln ('            <A CLASS="C" HREF="http://www.le-lann.com/cgi-bin/Stats_compteur.pl?Compteurs/'+Compteur+'" TARGET="Droite"><IMG SRC="http://www.le-lann.com/cgi-bin/Compteur.pl?Compteurs/'+Compteur+'" BORDER="0" ALIGN="Middle"></A>');
 document.writeln ('           </TD>');
 document.writeln ('           <TD VALIGN="Middle"><FONT COLOR=Black FACE="Arial" SIZE=2><B> visites&nbsp;</B></FONT></TD>');
 document.writeln ('          </TR>');
 document.writeln ('         </TABLE>');
 document.writeln ('        </TD>');
 document.writeln ('       </TR>');
 document.writeln ('      </TABLE>');
 document.writeln ('     </TD>');
 document.writeln ('    </TR>');
 document.writeln ('   </TABLE>');
 document.writeln ('  </TD>');
 document.writeln ('  <TD>');//-- Vote WebOrama --
 document.writeln ('   <A CLASS="C" HREF="http://vote.weborama.fr/fcgi-bin/vote.fcgi?1121" TARGET="Droite" onMouseOver="document.images.Vote.src='+Rep1+'Images/VoteR.gif\'; window.status=\'Si ce site vous plait votez pour lui !\'; return true" onMouseOut="document.images.Vote.src='+Rep1+'Images/Vote.gif\' ; window.status=document.title; return true">');
 document.writeln ('   <IMG SRC='+Rep2+'Images/Vote.gif" BORDER="0" WIDTH="30" HEIGHT="36" ALT=" Si ce site vous plait votez pour lui ! " NAME="Vote" ALIGN="Middle"></A>');
 document.writeln ('  </TD>');
 document.writeln (' </TR>');
 document.writeln ('</TABLE>');

 document.writeln ('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');

 // Weboralma Gold, hors connexion locale
 if((location.href.indexOf('BL_WWW')==-1)&(webogold_ok==1)){webogold_zpi(WEBO_ZONE,WEBO_PAGE,1121);}

 document.writeln ('</DIV>');
}
