function showMail(m,txt){
	// adresse leure
	host = 'unenuitsousinfluence';
	ext = 'org';
	txt1 = '<a href="mail';
	txt2 = 'to:';
	txt3 = txt+'</a>';
	result = txt1+txt2+m+'@';
	result = result + host+'.'+ext+'">'+txt3;
	// on affiche le lien mail dans le navigateur
	document.write(result);
}

// Redimensionne la page en fullscreen
function fullScreen(){
	self.moveTo(0,0)
	self.resizeTo(screen.availWidth,screen.availHeight)
}

// Sort des Frames si il y en a
function breakFrame(){
	if (parent.frames.length > 0){
		window.top.location.href = location.href;
	}
}

function getWindowHeight() {
	var windowHeight = 0;
	if (typeof(window.innerHeight) == 'number') {
		windowHeight = window.innerHeight;
	}
	else {
		if (document.documentElement && document.documentElement.clientHeight) {
			windowHeight = document.documentElement.clientHeight;
		}
		else {
			if (document.body && document.body.clientHeight) {
				windowHeight = document.body.clientHeight;
			}
		}
	}
	return windowHeight;
}

