var compte="347040281139"; base_url="."; base_gmt=""; var platform="windows+xp"; var name_browser="firefox"; var version="8"; //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+ ((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="mm";} 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 defautgif="http://geoloc17.geovisite.com:82/private/map.php?compte="+compte var md5=""; var date_test date_test=1323682620; dateloc+=10; var outils2geocounter7=''; var bool_refresh="false"; var tab_urlp=new Array(); if(geonb[compte]==1){ //tab_urlp['geocounter'] p_geocounter7='http://geoloc17.geovisite.com:8080/private/geoloc/pointeur.gif?|'+escape('347040281139')+'|'+escape(base_url)+'|'+escape(resolution)+'|'+escape(platform)+'|'+escape(langue)+'|'+escape(nb_couleur)+'|'+Math.round(dateloc)+'|||'+escape(name_browser)+'|'+escape(version)+'||MM|22.000000|98.000000|||1323682620|geocounter|21600|'; var datep=1323682620; document.write(''); //with(document) write(''); } //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); } document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); geovisite_test_cookie_value = GetCookie('acceptcookie'); if(geovisite_test_cookie_value == "ok."){ EcrireCookieGeo('acceptcookie','ok.',-1); EcrireCookieGeo('acceptcookie','ok.',604800); }