function stats(site)
{

date_c = new Date();
dcm    = document;
scrn   = screen;
resolution = "&res=" + scrn.width + "x" + scrn.height + "&dep=" + scrn.colorDepth;

heures = String(date_c.getHours());
if (heures.length < 2) heures = "0" + heures;

lnk  = "<img border=0 height=0 width=0 ";
lnk += "src=http://www.smakgraphics.com/stats/stats.php?";
lnk += "page=" + escape(dcm.location.pathname + dcm.location.search);
lnk += resolution;
lnk += "&hcl=" + heures;
ref  = dcm.referrer.replace(/[<>]/g, '').replace(/&/g, '*-*w_s*-*');
lnk += "&ref=" + ref + "&webstatsite" + site + ">";


dcm.writeln(lnk);

}