function Blank()
{
	return "<html></html>";
}

function Show_Layer(id)
{
	if (document.getElementById(id)) {document.getElementById(id).style.visibility='visible';}
}

function Hide_Layer(id)
{
	document.getElementById(id).style.visibility='hidden';
}

function Switch_On(id1,id2)
{
	Show_Layer(id1);
	Hide_Layer(id2);
}

function Switch_Off(id1,id2)
{
	Show_Layer(id2);
	Hide_Layer(id1);
}

var visibility_blocked=false;

function Block_Unblock_Visibility(id)
{
	if (visibility_blocked==false)
	{
		visibility_blocked=true;
		Show_Layer(id);
		}
	else {
		Hide_Layer(id);
		visibility_blocked=false;
		}
}

function Unblock_Visibility(id)
{
	Hide_Layer(id);
	visibility_blocked=false;
}

function Hide_Layer_Cond(id)
{
        if (visibility_blocked==false) {Hide_Layer(id);}
}

function Show_Layer_Cond(id)
{
        if (visibility_blocked==false) {Show_Layer(id);}
}

function Pop_Up(fichier,largeur,hauteur,outils,ascenseur,redimensionable)
{
   	var target=fichier;
   	var fenetre="newW";
   	var pos_gauche=0;
   	var pos_haut=0

   	window.open(target,fenetre,'width='+largeur+',height='+hauteur+',screenX='+pos_gauche+',screenY='+pos_haut+',left='+pos_gauche+',top='+pos_haut+',location=no,directories=no,status=yes,menubar=no,toolbar='+outils+',scrollbars='+ascenseur+',resizable='+redimensionable+'');
}

function Pop_Up_Corner(fichier,largeur,hauteur,outils,ascenseur,redimensionable)
{
   	var target=fichier+".htm";
   	var fenetre="newW";
   	var pos_gauche=0;
   	var pos_haut=0

   	window.open(target,fenetre,'width='+largeur+',height='+hauteur+',screenX='+pos_gauche+',screenY='+pos_haut+',left='+pos_gauche+',top='+pos_haut+',location=no,directories=no,status=yes,menubar=no,toolbar='+outils+',scrollbars='+ascenseur+',resizable='+redimensionable+'');
}

function Pop_Up_Up(fichier,largeur,hauteur,outils,ascenseur,redimensionable)
{
   	var target=fichier+".htm";
   	var fenetre="NewWindow";
   	var pos_gauche=0;
   	var pos_haut=0;

	window.open(target,fenetre,'width='+largeur+',height='+hauteur+',screenX='+pos_gauche+',screenY='+pos_haut+',left='+pos_gauche+',top='+pos_haut+',location=no,directories=no,status=yes,menubar=no,toolbar='+outils+',scrollbars='+ascenseur+',resizable='+redimensionable+'');
}

function Pop_Up_Print(fichier,largeur,hauteur,outils,ascenseur,redimensionable)
{
   	var target=fichier+".php?id="+id;
   	var fenetre="newW";
   	var pos_gauche=0;
   	var pos_haut=0

   	window.open(target,fenetre,'width='+largeur+',height='+hauteur+',screenX='+pos_gauche+',screenY='+pos_haut+',left='+pos_gauche+',top='+pos_haut+',location=no,directories=no,status=yes,menubar=no,toolbar='+outils+',scrollbars='+ascenseur+',resizable='+redimensionable+'');
}