function getCookieVal(offset) { var endstr=document.cookie.indexOf (";", offset); if (endstr==-1) endstr=document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg=name+"="; var alen=arg.length; var clen=document.cookie.length; var i=0; while (i 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie=name+"="+escape(value)+ ((expires==null) ? "" : ("; expires="+expires.toGMTString()))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain))+ ((secure==true) ? "; secure" : ""); } function Remplace(expr,a,b) { var i=0 while (i!=-1) { i=expr.indexOf(a,i); if (i>=0) { expr=expr.substring(0,i)+b+expr.substring(i+a.length); i+=b.length; } } return expr } check=GetCookie("check_visiteur"); nostat=GetCookie("nostat"); var id=5987; if (nostat!="ON"){ refer2=Remplace(document.referrer,"&","*|*"); refer=Remplace(refer2,"?","*||*"); ecran=screen.width+"*"+screen.height; couleur=screen.colorDepth; var visit = ""; document.write(visit); } document.write("

"); if (check!="ON"){ var IE5=(document.getElementById && document.all)? true : false; var W3C=(document.getElementById)? true: false; var currIDb=null, currIDs=null, xoff=0, yoff=0; zctr=0; totz=0; function trackmouse(evt){ if((currIDb!=null) && (currIDs!=null)){ var x=(IE5)? event.clientX+document.body.scrollLeft : evt.pageX; var y=(IE5)? event.clientY+document.body.scrollTop : evt.pageY; currIDb.style.left=x+xoff+'px'; currIDs.style.left=x+xoff+10+'px'; currIDb.style.top=y+yoff+'px'; currIDs.style.top=y+yoff+10+'px'; return false; }} function stopdrag(){ currIDb=null; currIDs=null; NS6bugfix(); } function grab_id(evt){ xoff=parseInt(this.IDb.style.left)-((IE5)? event.clientX+document.body.scrollLeft : evt.pageX); yoff=parseInt(this.IDb.style.top)-((IE5)? event.clientY+document.body.scrollTop : evt.pageY); currIDb=this.IDb; currIDs=this.IDs; } function NS6bugfix(){ if(!IE5){ self.resizeBy(0,1); self.resizeBy(0,-1); }} function incrzindex(){ zctr=zctr+2; this.subb.style.zIndex=zctr; this.subs.style.zIndex=zctr-1; } function createPopup(id, title, width, height, x , y , isdraggable, boxcolor, barcolor, shadowcolor, text, textcolor, textptsize, textfamily, titlecolor ){ if(W3C){ zctr+=2; totz=zctr; var txt=''; txt+='
'; txt+='
'; txt+='
'+title+'
'; txt+='
'+text+'
'; document.write(txt); this.IDh=document.getElementById(id+'_h'); this.IDh.IDb=document.getElementById(id+'_b'); this.IDh.IDs=document.getElementById(id+'_s'); this.IDh.IDb.subs=this.IDh.IDs; this.IDh.IDb.subb=this.IDh.IDb; this.IDh.IDb.IDov=document.getElementById(id+'_ov'); if(IE5){ this.IDh.IDb.IDov.style.width=width-6; this.IDh.IDb.IDov.style.height=height-22; this.IDh.IDb.IDov.style.scrollbarBaseColor=boxcolor; this.IDh.IDb.IDov.style.overflow="auto"; }else{ this.IDh.IDs.style.MozOpacity=.5; } this.IDh.IDb.onmousedown=incrzindex; if(isdraggable){ this.IDh.onmousedown=grab_id; this.IDh.onmouseup=stopdrag; }}} if(W3C)document.onmousemove=trackmouse; if(!IE5 && W3C)window.onload=NS6bugfix; createPopup( '1000', 'Publicité' , 490,400 , 100, 100, true, '#B8C8FE' , '#000000' , 'black' , "", '#0069B3' , 8 , 'Verdana','#FFCC00'); } var date_exp = new Date(); date_exp.setTime(date_exp.getTime()+(3600*1000)); SetCookie("check_visiteur","ON",date_exp,"");