function EcrireCookiecountergeo(nom,valeur,nombre) { var argv=EcrireCookiecountergeo.arguments; var argc=EcrireCookiecountergeo.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 GetCookiecountergeo (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 getCookieValcountergeo (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function getCookieValcountergeo (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_countergeo; var test_cookie_value_countergeo_nv; var init_countergeo=1; var init_countergeo_nv=1; var acceptcookiecountergeo; //tester si accepte cookies acceptcookiecountergeo = GetCookiecountergeo('acceptcookiecountergeo'); if(acceptcookiecountergeo == null){ //date=new Date(); //date.setTime(date.getTime()+1000); EcrireCookiecountergeo('acceptcookiecountergeo','ok','31536000000'); } acceptcookiecountergeo = GetCookiecountergeo('acceptcookiecountergeo'); if (acceptcookiecountergeo=='ok') { test_cookie_value_countergeo = GetCookiecountergeo('countergeo'); test_cookie_value_countergeo_nv = GetCookiecountergeo('countergeo_nv'); if(test_cookie_value_countergeo == null){ init_countergeo=0; test_cookie_value_countergeo ='60bd56bfbb6e126700dfe08f65d0f25b'; EcrireCookiecountergeo('countergeo',test_cookie_value_countergeo,'41151000'); } if(test_cookie_value_countergeo_nv==null){ test_cookie_value_countergeo_nv ='60bd56bfbb6e126700dfe08f65d0f25b'; EcrireCookiecountergeo('countergeo_nv',test_cookie_value_countergeo_nv,'31536000000'); init_countergeo_nv=0; } } else { var test_cookie_value_countergeo="no"; acceptcookiecountergeo='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_countergeo = 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.countergeo.com/private/geocompteur.php?c=6188b9c4924d38fe18e77f78a7b4e19b&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.countergeo.com/private/geocompteur.php?c=6188b9c4924d38fe18e77f78a7b4e19b&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); } }