var compte="981982856448"; base_url=""; base_gmt=""; var platform="windows+7"; var name_browser="firefox"; var version="56"; //var geonb; //if(isNaN(geonb)){geonb=1;} geonb=new Array(); geonb[compte]=1; 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 < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function EcrireCookieGeo(nom,valeur,nombre) { var argv=EcrireCookieGeo.arguments; var argc=EcrireCookieGeo.arguments.length; if(nombre==-1){ var ladate=nombre; valeur=""; } else{ var ladate=new Date(); ladate.setTime(ladate.getTime()+Number(nombre)*1000); } var expires=(argc > 2) ? argv[2] : null; var expires=nombre; var path=("/") ; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? arg[5] : false; document.cookie=nom+"="+escape(valeur)+ "; expires="+ladate.toUTCString()+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain))+ ((secure==true) ? "; secure" : ""); } 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;} if(langue==undefined){langue="es";} langue=langue.substring(0,2); var date_geoloc = new Date(); dateloc = date_geoloc.getTime()/1000 var reg var ref= document.referrer page_stat = escape(document.URL) if (ref==""){ ref="NULL" if(compte=="166822geovis"){ ref=''; page_stat = escape(document.URL)+'?compte='; } } var url = document.URL if(url.indexOf("/")== -1){ reg2 = "index" } else{ tab=url.split("/") var i =tab.length-1 var page = tab[i] if((page == "index.htm") || (page =="index.html") || (page == "index.php") || (page == "")|| (page == "index.php3")|| (page == "index.asp")){ reg2 = "index" } else{ var reg2 } } var couleur_lib; var logo_lib; var compteur_lib; var categorie_lib; var undefined; var defautgif; var md5=""; var date_test date_test=1510141246; dateloc+=10; var outils2geocounter2=''; var bool_refresh="false"; var tab_urlp=new Array(); if(geonb[compte]==1){ //tab_urlp['geocounter'] p_geocounter2='http://geoloc1.geovisite.ovh:8080/private/geoloc/pointeur.gif?|'+escape('981982856448')+'|'+escape(base_url)+'|'+escape(resolution)+'|'+escape(platform)+'|'+escape(langue)+'|'+escape(nb_couleur)+'|'+Math.round(dateloc)+'|||'+escape(name_browser)+'|'+escape(version)+'||ES|43.360298|-5.844800|Oviedo|Orange+Espana|1510141246|geocounter|3600|'; var datep=1510141246; document.write('geocounter2'); } //geonb++; geonb[compte]++; //if(bool_refresh==true){setInterval("refreshp()",60000);} var refreshpiiiii = function (v){ datep+=6; document.images["pointeur_geochat"].src=tab_urlp['geochat']+datep+outils2+'|'+v; alert(tab_urlp['geochat']+datep+outils2+'|'+v); } function detectFlash2(){ if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) //si IE { var activeX = null ; try{ activeX = new ActiveXObject('ShockwaveFlash.ShockwaveFlash') ; }catch(e){ //alert('echec activeX') } if( activeX == null ){ return(false); }else{ return(true) ; } } else //autre navigateur { if( navigator.plugins["Shockwave Flash"] ){ return(true) ; }else{ return(false) ; } } } if(detectFlash2()==true) { document.write(''); document.write(''); document.write(''); if (document.all && !document.getElementsByClassName) { //document.write(''); } //document.write(''); var iversion = navigator.appVersion.indexOf("MSIE") if(Number(navigator.appVersion.substring(iversion+5, iversion+8))<=8){ document.write(''); } document.write(''); document.write(''); } else { //document.write(''); document.write(''); } 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); } }