// JavaScript Document
function PrintHomePage(url,text) {
	if ((document.all)&&(document.getElementById)) { // teste si IE5 et +
		document.write("<a href=\"javascript:\" onclick=\"javascript:this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'"+url+"\')\"><span class=\"footer\">"+text+"</span></a>");
	}
}
function AjoutFavo() {
	if ((navigator.appName.indexOf("Microsoft",0)>=0) && (parseInt(navigator.appVersion)>=4)) {
		window.external.AddFavorite("http://www.florance.fr/","[Adresses utiles JMf]" );
	} else {
		alert("Cette fonction n'est proposée que par Internet Explorer 4+")
	}
}

function ouvreenvoi() {
//La taille de la fenêtre représentera 90% de la résolution de l'utilisateur
//Exemple : s'il est en 1024, la fenêtre sera d'une taille de 920
	largeur = screen.width*7/10;
	hauteur = screen.height*6/10;
var test = window.open('adresses/envoi.html','NewWindow','width='+largeur+',height='+hauteur+',scrollbars=yes,Toolbar=no');
}
function info()
	{
	window.open('info.php','_blank','toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width=300,height=250');
	}
function lien()
	{
	window.reload('/adresses/');
	}

