var domaine='plan-net';
var tld='fr';
			
function send_mail(personne) {
	ret = personne+'@'+domaine+'.'+tld;
	return location.href='mailto:'+ret;
}

function overMail(obj, personne) {
	if (obj) obj.title=personne+'@'+domaine+'.'+tld;
}

function outMail(obj) {
	if (obj) obj.title='Cliquer ici';
}	

function openWin(myTarget) {
	w=550; h=455; t=50; l=100;
	if (myTarget == 'mentions') {
		myUrl = '/vinclude/mentions.html';
		myTitle = 'Mentions légales';
	} else if (myTarget == 'reglement') {
		myUrl = '/vinclude/reglement_jeu.html';
		myTitle = 'Réglement du jeu';
	} else if (myTarget == 'reglement_tresor') {
		myUrl = '/vinclude/reglement_tresor.html';
		myTitle = 'Réglement du jeu';
	} else {
		return false;
	}
	if (document.all) myTitle='_blank';
	myStats = "toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,";
	myStats += "resizable=0,width="+w+",height="+h+",left="+l+",top="+t;
	win=window.open(myUrl,myTitle,myStats);
	win.focus();	
}
