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://webstat.roannet.com/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 + "'>";
lnk += "<a href='http://webstat.roannet.com/?site=" + site + "' target='_blank'><img style='border:1px #000000 solid' src='http://webstat.roannet.com/show.php?site=" + site + "' title='webstat by WebDezine'></a>";

dcm.writeln(lnk);

}
