// Fonction pour ecrire dans la barre du bas du navigateur
function dm(msgStr){
		document.returnValue = false;
		if (document.images) {
			window.status = msgStr;
			document.returnValue = true;
	}
}

// Fonction pour les rollover
function di(quel_b,bouton){
		if (document.images) {
		  document.images[quel_b].src=eval(bouton+".src");
		}
	}

// Verifie si c'est Netscape ou IE
var ns = (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=4)?true:false
var ie = (navigator.appName=="Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4)?true:false
var ns6 = (document.getElementById&&!document.all)

// Fonction pour calculer et placer le footer
function bas(hauteur) {
	var haut = 0;
	var inner = 0;
	//if (parseInt(navigator.appVersion)>=5) hauteur = hauteur;
	if (ns) {
		haut = document.height;
		inner = window.innerHeight;
	}
	if (ie) {
		haut = iddiv.offsetHeight;
		inner = idbody.clientHeight;
	}
	
	if(ns6) test=1;
	else test=0;
	
	if ((haut < inner) && (((inner - haut) - hauteur) > 0)) {
		document.write('<img src="'+NbRep+'img/spacer.gif" width="1" height="' + ((inner - haut) - (hauteur-test)) + '" border="0"><br>');
	}
}

// Fonction qui fait un reload de la page 
function netsReload(){
	var browserVer=navigator.appVersion;
	if (navigator.appName=="Netscape" && browserVer.substring(0, 3) > "4.0"){
			window.location.reload();
	}
	else{
		window.location.reload();
	}
	return true;
}

