
//encodage mail

function d_email (nom, domaine, pays) 

{
	document.write ("<a hr" + "ef=mai" + "lto:" + nom +"@");
	document.write (domaine + "." + pays + ">");
	document.write ("<img src='images\/Envel-Blue.png' \/><\/a>");
	//document.write ("email<\/a>");
}

function courrier (nom, domaine, pays) 

{
	if(nom != "")
	{
		document.write ("<a hr" + "ef=mai" + "lto:" + nom +"@");
		document.write (domaine + "." + pays + ">");
		document.write (nom + "@" + domaine + "." + pays + "<\/a>");
		//document.write ("email<\/a>");
	}
}
function pop_l(url) 
{
	a=window.open(url, '_blank', 'scrollbars=no,menubar=no,height=640,width=853,resizable=no,toolbar=no,location=no,status=no');
}
function pop_h(url) 
{
	a=window.open(url, '_blank', 'scrollbars=no,menubar=no,height=853,width=640,resizable=no,toolbar=no,location=no,status=no');
}
function pop_s(url, w, h) 
{
		var t, l;
		l=(screen.width-w)/2;
		t=(screen.height-h)/2;
		a=window.open(url, '_blank', 'top=' + t + ' ,left=' + l + ' , scrollbars=no, toolbar=no, menubar=no, location=no, status=no, width=' + w + ' , height=' + h);
}
function pop_u(url) 
{
	a=window.open(url, '_blank', 'scrollbars=no, toolbar=no, menubar=no, location=no, status=no');
}
function show(id) 
{
	var h = document.getElementById('header'+id);
	var f = document.getElementById('footer'+id);
	
	for (var i = 1; i<=4; i++) 
	{
		if (document.getElementById('header'+i)) 
		{
			document.getElementById('header'+i).style.display='none';
		}
		if (document.getElementById('footer'+i)) 
		{
			document.getElementById('footer'+i).style.display='none';
		}
	}
	if (h) 
	{
		h.style.display='block';
	}
	if (f) 
	{
		f.style.display='block';
	}
}
