function defilement(texte) {
	return '<marquee direction="left" onMouseOver="stop()" onMouseOut="start()" scrolldelay="30" scrollamount="2" truespeed="1"><p class="defil">' + texte + '<br /><br /></p></marquee>';
}

function verifUrl() {
	if (document.forms[0].url_blog.value != '') {
		window.open('http://'+document.forms[0].url_blog.value.replace(/http:\/\//g,''));
	}
}

function t() {
	v = new Date();
	n = new Date();
	o = new Date();
	for (cn = 1; cn <= anz; cn++) {
		compteur = document.getElementById('compteur' + cn);
		ss = compteur.title;
		s = ss - Math.round((n.getTime() - v.getTime()) / 1000);
		m = 0;
		h = 0;
		if (s <= 0) {
			compteur.innerHTML = "00:00:00";
		}
		else {
			if (s > 59) {
				m = Math.floor(s/60);
				s = s - m * 60;
			}
			if (m > 59) {
				h = Math.floor(m / 60);
				m = m - h * 60;
			}
			if (s < 10) {
				s = "0" + s;
			}
			if (m < 10) {
				m = "0" + m;
			}
			if (h < 10) {
				h = "0" + h;
			}
			compteur.innerHTML = h + ":" + m + ":" + s;
		}
		compteur.title--;
	}
	window.setTimeout("t();", 1000);
}

function PopupImage(img) {	titre="Services-Blog - Statistiques";	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=yes');		w.document.write('<HTML><HEAD><meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />');	w.document.write("<TITLE>"+titre+"</TITLE>");	w.document.write("<SC"+"RIPT language=java"+"script> function checksize()  { if (document.images['img'].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT></HEAD>");	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0 name='img'>");	w.document.write("</BODY></HTML>");	w.document.close();}