function afficheBloc(id)
{
	var monBloc = document.getElementById(id);
	monBloc.style.display = 'block';
}
function cacheBloc(id)
{
	var monBloc = document.getElementById(id);
	monBloc.style.display = 'none';
}
function activerForm(idForm1,idForm2)
{
	var monForm1 = document.getElementById(idForm1);
	var monForm2 = document.getElementById(idForm2);
	monForm1.style.display = 'block';
	monForm2.style.display = 'none';
}
function popUpPrint(strURL,strType,strHeight,strWidth) {
var strOptions="";
if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
window.open(strURL, 'newWin', strOptions);
/*if (typeof(window.print) != 'undefined')
{ window.print();}
*/
}
	/*
	*Ouvrir un popup
	*/
	function popup(URL,strHeight,strWidth)
	{
	//closeWin();
	var strOptions = "";
	var top = (screen.height - strHeight)/2;
	var left = (screen.width - strWidth)/2;
	strOptions = "resizable=0,scrollbars=1,toolbar=0,menubar=0,location=0,status = 0, top="+top+", left="+left+", height="+strHeight+",width="+strWidth;
	newWin = window.open(URL, 'popup', strOptions);
	newWin.focus();
	}