function EcrireCookiegeocontador(nom,valeur,nombre) { var argv=EcrireCookiegeocontador.arguments; var argc=EcrireCookiegeocontador.arguments.length; var ladate=new Date(); ladate.setTime(ladate.getTime()+Number(nombre)); var path=("/") ; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? arg[5] : false; document.cookie=nom+"="+escape(valeur)+ "; expires="+ladate+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain))+ ((secure==true) ? "; secure" : ""); } function GetCookiegeocontador (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieValgeocontador (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function getCookieValgeocontador (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } var date_init=new Date(); var test_cookie_value_geocontador; var test_cookie_value_geocontador_nv; var init_geocontador=1; var init_geocontador_nv=1; var acceptcookiegeocontador; //tester si accepte cookies acceptcookiegeocontador = GetCookiegeocontador('acceptcookiegeocontador'); if(acceptcookiegeocontador == null){ //date=new Date(); //date.setTime(date.getTime()+1000); EcrireCookiegeocontador('acceptcookiegeocontador','ok','31536000000'); } acceptcookiegeocontador = GetCookiegeocontador('acceptcookiegeocontador'); if (acceptcookiegeocontador=='ok') { test_cookie_value_geocontador = GetCookiegeocontador('geocontador'); test_cookie_value_geocontador_nv = GetCookiegeocontador('geocontador_nv'); if(test_cookie_value_geocontador == null){ init_geocontador=0; test_cookie_value_geocontador ='a27754bcf183a7cbf4675d21344296b6'; EcrireCookiegeocontador('geocontador',test_cookie_value_geocontador,'98462000'); } if(test_cookie_value_geocontador_nv==null){ test_cookie_value_geocontador_nv ='a27754bcf183a7cbf4675d21344296b6'; EcrireCookiegeocontador('geocontador_nv',test_cookie_value_geocontador_nv,'31536000000'); init_geocontador_nv=0; } } else { var test_cookie_value_geocontador="no"; acceptcookiegeocontador='no'; } var html_res1=''; html_res1+=''; html_res1+=''; html_res1+=''; html_res1+=''; html_res1+=''; html_res1+=''; html_res1+=''; html_res1+=''; html_res1+=''; var html_res2=''; var blindres=false; var nb_couleur; if(screen.colorDepth!=undefined){ nb_couleur=screen.colorDepth; } else if(screen.pixelDepth!=undefined){ nb_couleur=screen.pixelDepth; } else{ nb_couleur=0; } var browser = parseInt(navigator.appVersion); if (browser>=4){var resolution = (screen.height + "*" + screen.width)} else{var resolution;} if (navigator.appName.indexOf("Microsoft Internet Explorer")!=-1){langue=navigator.systemLanguage;} else{langue=navigator.language;} langue=langue.substring(0,2); var date_geocontador = new Date(); var ref=document.referrer; if((ref.indexOf("geovisite.com")!=-1 || ref.indexOf("geo20120530.com")!=-1 || ref.indexOf("mytictac.com")!=-1 || ref.indexOf("//counter1.")!=-1 || ref.indexOf("//geo1.")!=-1) && ref.indexOf(".swf")!=-1 && ref.indexOf("referer")!=-1){ refp=unescape(ref); tt=refp.split("referer="); tt=tt[1].split("&"); refp=tt[0]; } else{ refp=ref; } var bro_nom="applewebkit"; var c_title=str_replace2(document.title,'|',' '); c_title=str_replace2(c_title,';',' '); c_title=""; with(document) write(''); function detectFlash() { } function detectFlashiii() { if( navigator.mimeTypes.length > 0 ) { if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin != null){return(true);}else{return(false);} } else if( window.ActiveXObject ) { try { new ActiveXObject( "ShockwaveFlash.ShockwaveFlash" ); return(true); } catch( oError ) { return(false); } } else { return(false); } } if(detectFlash()==true && blindres==false){ document.write(html_res1); } else{ if(blindres==false){ document.write(html_res2); } } //window.onload = function() //{ // for (i = 0; i < document.links.length; i++) // { // if(document.links.item(i).href.indexOf('#')==-1) // { // document.links.item(i).onclick = function() // { // return count_link(this.id,this.href); // } // } // } //} //document.write('
'); function count_link(lnk,to) { dateu=new Date(); document.getElementById("ResGeoImg").innerHTML=''; } function count_linkiiii(lnk,to) { dateu=new Date(); var xjs=document.createElement('script'); xjs.src='http://geo1.geocontador.com/private/geocompteur.php?c=8bf81a21c19320fddd99d5de6a91b953&desti='+to+'&u='+dateu.getTime(); document.getElementsByTagName('head')[0].appendChild(xjs); } function count_linkiiiii(lnk,to) { dateu=new Date(); var xhr_object = null; if(window.XMLHttpRequest) xhr_object = new XMLHttpRequest(); else if(window.ActiveXObject) xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); else {return} xhr_object.open("GET", "http://geo1.geocontador.com/private/geocompteur.php?c=8bf81a21c19320fddd99d5de6a91b953&desti="+to+"&u="+dateu.getTime(), false); xhr_object.send(null); } function str_replace2(SRs, SRt, SRu) { SRRi = SRs.indexOf(SRt); SRRr = ''; if (SRRi == -1) return SRs; SRRr += SRs.substring(0,SRRi) + SRu; if ( SRRi + SRt.length < SRs.length) SRRr += str_replace2(SRs.substring(SRRi + SRt.length, SRs.length), SRt, SRu); return SRRr; } if (window.navigator.appVersion.match(/Chrome/)) { function chrome_flash_redraw() { var objects = document.getElementsByTagName('object'); for (var i = 0, j = objects.length; i < j; i++) { objects[i].style.display = 'inline-block'; objects[i].style.marginLeft = 'auto'; objects[i].style.marginRight = 'auto'; } } if (window.addEventListener) { window.addEventListener('load', chrome_flash_redraw, false); } else if (window.attachEvent) { window.attachEvent('onload', chrome_flash_redraw); } }