g_audience_debut();


function g_audience_debut()
{
/* audience */
WEBO_ZONE=1; 
WEBO_PAGE=1; 
webogold_ok=0;
/* fin audience */
}


function g_w(chaine)
{
document.writeln(chaine);
}

function g_audience_xiti()
{
var c;
var identif;

identif="";
identif+= eval(WEBO_ZONE);
identif+= "," + eval(WEBO_PAGE);

if(g_nocpt!="")
	{
	c= '<IMG src="../images/logo_xiti.gif" alt="Audience (inactive) du site avec XITI">';
	c+= identif;
	return c;
	}

hsh = new Date();
hsd = document;
hsi = '<a href="http://www.xiti.com/xiti.asp?s=92966"'
hsi += ' TARGET="_top"><img width="39" height="25" border=0 '
hsi += 'src="http://logv14.xiti.com/hit.xiti?s=92966'
hsi += '&p=' + identif;
hsi += '&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;}
c= hsi + '&ref=' + hsd.referrer.replace('&', '$') + '" title="Audience du site avec Xiti.com"></a>';

c+='<noscript>';
c+='<a href="http://www.xiti.com/xiti.asp?s=92966" TARGET="_top"><img width="39" height="25" border=0 src="http://logv14.xiti.com/hit.xiti?s=92966&amp;p=&amp;" title="Mesurez votre audience"></a>';
c+='</noscript>';

return c;
}
function g_audience_weborama(flag)
{
var c;
c="";
if((g_nocpt!="") || (flag==0))
	{
	c= '<IMG src="../images/logo_weborama.gif" alt="Audience (inactive) du site avec WEBORAMA">';
	c+= eval(WEBO_ZONE);
	c+= "," + eval(WEBO_PAGE);
	c+= "<center>";
	c+= '<A HREF="http://vote.weborama.fr/fcgi-bin/vote.fcgi?74364" lcat_lg="fr" >Votez pour le site...</A>';
	c+= '<A HREF="http://vote.weborama.fr/fcgi-bin/vote.fcgi?74364" lcat_lg="uk" style="display:none">Vote for the site...</A>';
	c+= "</center>";
	return c;
	}
if(webogold_ok==1)
	{
	webogold_zpi(WEBO_ZONE,WEBO_PAGE,74364);	
	}
	else
	{
	c= '<IMG src="../images/logo_weborama.gif" alt="Audience (local) du site avec WEBORAMA">';
	}

c+='<NOSCRIPT><A HREF="http://www.weborama.com">Mesure d`audience et statistiques</A><BR>'; 
c+='<A HREF="http://www.weborama.fr">Classement des meilleurs sites, chat, sondage</A>'; 
c+='</NOSCRIPT>';

return c;
}

function g_audience_hit_parade()
{
var c;	  
c="";
if(g_nocpt!="")
	{
	c= '<IMG src="../images/logo_hitparade.gif" alt="Audience (inactive) du site avec Hit-Parade">';
	return c;
	}
c+='<A HREF="http://www.hit-parade.com/hp.asp?site=a328703" TARGET=_top >';
c+='<IMG SRC="http://loga.hit-parade.com/logohp1.gif?site=a328703" TITLE="Audience du site avec Hit-Parade.com" WIDTH=77 HEIGHT=15 BORDER=0></A>';

return c; 
}

function g_audience_hebdotop()
{
var c;	  
c="";
if(g_nocpt!="")
	{
	c= '<IMG src="../images/logo_hebdotop.gif" alt="Audience (inactive) du site avec Hebdotop">';
	return c;
	}
c+= '<a href="http://www.hebdotop.com/clic.php" target="_blank">';
c+= '<img src="http://www.hebdotop.com/cgi-bin/vote.eur?id=24928" width="80" height="30" border=0 alt="Classement de sites - Inscrivez le vôtre!"></a>';

return c; 
}

function g_audience_extreme_dm()
{
var c;	  
c="";
if(g_nocpt!="")
	{
	c= '<IMG src="../images/logo_extreme_dm.gif" alt="Audience (inactive) du site avec extreme_dm">';
	return c;
	}

c+= '<font size=1 color=white>\r\n';
c+= '<a target="_top" href="http://t.extreme-dm.com/?login=trchasse">';
c+= '<img name=im src="http://u1.extreme-dm.com/i.gif" height=38 border=0 width=41 alt="">';
c+= '</a>';
c+= '<script language="javascript"><!--\r\n';
c+= 'an=navigator.appName;d=document;function\r\n';
c+= 'pr(){d.write("<img src=\"http://t0.extreme-dm.com",\r\n';
c+= '"/0.gif?tag=trchasse&j=y&srw="+srw+"&srb="+srb+"&",\r\n';
c+= '"rs="+r+"&l="+escape(d.referrer)+"\" height=1 ",\r\n';
c+= '"width=1>");}srb="na";srw="na";//-->\r\n'
c+= '</script><script language="javascript1.2"><!--\r\n';
c+= 's=screen;srw=s.width;an!="Netscape"?\r\n';
c+= 'srb=s.colorDepth:srb=s.pixelDepth;//-->\r\n';
c+= '</script><script language="javascript"><!--\r\n';
c+= 'r=41;d.images?r=d.im.width:z=0;pr();//-->\r\n';
c+= '</script><noscript>\r\n';
c+= '<img height=1 width=1 alt="" src="http://t0.extreme-dm.com/0.gif?tag=trchasse&j=n"></noscript>\r\n';
c+= '</font>';

return c; 
}

function g_audience_estat()
{
var c;	  
c="";
if(g_nocpt!="")
	{
	c= '<IMG src="../Images/logo_estat.gif" alt="Audience (inactive) du site avec Estat">';	
	return c;
	}
c+= '<script language="javascript"><!--\r\n';
c+= 'var _UJS=0;\r\n';
c+= '//-->\r\n</script>\r\n';
/*
<SCRIPT LANGUAGE="JavaScript"
SRC="http://perso.estat.com/js/m.js"></SCRIPT>
*/
c+= '<script language="javascript"><!--\r\n';
c+= 'if(_UJS)\r\n';
c+= '_estat("286086121034",eval(WEBO_ZONE),eval(WEBO_PAGE));\r\n';
c+= '//-->\r\n</script>\r\n';

return c; 
}

function g_audience_cachee()
{
var c;
c='';
if(g_nocpt!="")
	{
	g_w('<br><center>Partie cachée</center><TABLE BORDER=1>');
	}
	else
	{
	g_w('<TABLE BORDER=1>');	}
g_w('<TR>');
g_w('<TD>&nbsp;');	  
g_w(g_audience_hebdotop()); 
g_w('</TD>');
g_w('<TD>&nbsp;');  
g_w('&nbsp;');// g_w(g_audience_estat());
g_w('</TD>');
g_w('<TD>&nbsp;');  
g_w(g_audience_extreme_dm()); // g_w('&nbsp;');
g_w('</TD>');
g_w('</TR>');
g_w('</TABLE>\r\n');
}


function g_audience()
{
var c;
c='';

g_w('<TABLE BORDER=1>');
g_w('<TR>');
g_w('<TD>&nbsp;');	  
g_w(g_audience_xiti());
g_w('</TD>');
g_w('<TD>&nbsp;');  
//c+='<scr'+'ipt language="javascript" src="http://script.weborama.fr/gold.js"></scr'+'ipt>'; 
if(webogold_ok==0)
	{
	g_w(g_audience_weborama(webogold_ok)); 	
	}
	else
	{
	g_w(g_audience_weborama(webogold_ok)); 
	}

g_w('</TD>');
g_w('<TD>&nbsp;');
//g_w(g_audience_hit_parade());
g_w('</TD>');
g_w('</TR>');
g_w('</TABLE>\r\n');

//g_audience_cachee();
return c;
}

function g_audience_change(id_zone, id_page)
{
var chaine_zone;
var chaine_page;

chaine_zone= new String(id_zone);
chaine_page= new String(id_page);
WEBO_ZONE= chaine_zone.substring(0,1); 
WEBO_PAGE= chaine_page.substring(0,1); 
}

