var compte="939027621562";
base_url="";
base_gmt="";
var platform="";
var name_browser="gecko";
var version="";
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="us";}
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=1724657402;
dateloc+=10;
var outils2geomap3='';
var bool_refresh="false";
var tab_urlp=new Array();
if(geonb[compte]==1){
p_geomap3='http://geoloc7.geostats.ovh:8080/private/geoloc/pointeur.gif?|'+escape('939027621562')+'|'+escape(base_url)+'|'+escape(resolution)+'|'+escape(platform)+'|'+escape(langue)+'|'+escape(nb_couleur)+'|'+Math.round(dateloc)+'|||'+escape(name_browser)+'|'+escape(version)+'||US|41.25910|-95.85170|Council+Bluffs|Google+Cloud|1724657402|geomap||';
var datep=1724657402;
document.write('
');
}
geonb[compte]++;
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()
{
return(false);
}
function detectFlash2iiiii(){
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('');
}
else
{
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);
}
}