// JavaScript Document
function ecrireAdresse()
	{
	nom="paroa";
	domaine="wanadoo.fr";
	document.write('<a href=\"mailto:' + nom +'@' + domaine + '\">');
	document.write('Ecrivez-moi</a>');
	}
function ajouterFavoris(){
	var url="http://www.paroa.fr";
	//var url=location.href;
	var NomNav=navigator.appName;
	var VersionNav=parseInt(navigator.appVersion);
	alert(url); // a debugger : location.href n'a pas l'air de bien marcher ???
	if ((NomNav == "Microsoft Internet Explorer") && (VersionNav >= 4)){
		window.external.AddFavorite(url, document.title);
		}
		else { 
		alert("Ajouter aux Favoris ne fonctionne qu'avec Internet Explorer version 5 et les versions supérieures");
		}
	}
function pasdedroit()
	{
	return(false);
	}
function selection(e)
	{
	return false;
	}
function clic()
	{
	return true;
	}
function desactive()
	{
//	alert("Bienvenu");
	document.onselectstart = new Function ("return false");
//	document.oncontextmenu = pasdedroit();
	document.oncontextmenu = new Function ("return false");

if (window.sidebar) 
	{
	document.onmousedown=new Function ("return false");
	document.onclick=new Function ("return true");
	}
//if (window.sidebar) 
//	{
//	document.onmousedown=selection();
//	document.onclick=clic();
//	}





	}

