

function getDocumentSize() {
    return new Array((document.documentElement && document.documentElement.scrollWidth) ? document.documentElement.scrollWidth : (document.body.scrollWidth > document.body.offsetWidth) ? document.body.scrollWidth : document.body.offsetWidth,(document.documentElement && document.documentElement.scrollHeight) ? document.documentElement.scrollHeight : (document.body.scrollHeight > document.body.offsetHeight) ? document.body.scrollHeight : document.body.offsetHeight);
}
function reposition() {
var a = getDocumentSize();
var hauteur_max = parseFloat(a[1])-683;
var scrolltoTop = window.pageYOffset || document.documentElement.scrollTop || 0;
if (scrolltoTop > 70) {
	if (parseFloat(scrolltoTop) < parseFloat(hauteur_max)) {
		document.getElementById('gg').style.position='fixed'; 
		document.getElementById('gg').style.top = '0px';
	} else {
		document.getElementById('gg').style.top = parseFloat(hauteur_max) + 'px';
	document.getElementById('gg').style.position='absolute'; 
	}
	
} else {
		var scrollokTop = 71 - parseFloat(scrolltoTop);
		document.getElementById('gg').style.position='fixed'; 
		document.getElementById('gg').style.top = scrollokTop + 'px';
}

setTimeout("reposition()",20);
}

var VersNav = parseFloat(navigator.appVersion);
var NomNav = navigator.appName;

if (navigator.userAgent.toLowerCase().indexOf('msie 6') != -1) {
} else { 
//reposition();
//document.getElementById('gg').style.position='fixed'; 
	
}

