//-----------------------------------------
//---- MARC LAGRANGE - FONCTIONS JAVASCRIPT
//-----------------------------------------

//---- Fonction Texte en tout bas de fenetre de l'explorer
this.status = "Marc Lagrange :: Chirurgien :: Ecrivain :: Epicurien";

//-------------------------
//---- FONCTIONS GENERIQUES
//-------------------------

//---- Fonction d'affichage d'une pop up
function fenetre(page, largeur, hauteur, barre, centre)

{
	if (centre)
	{
		var left=((screen.availWidth-largeur)/2);
		var top=(((screen.availHeight-hauteur)/2)-20);
	}
	else
	{
		var left=screen.availWidth-largeur-40;
		var top=screen.availHeight-hauteur-120;
	}
	window.open(page, "", "width="+largeur+", height="+hauteur+",resizable=no, scrollbars="+barre+", toolbar=no, status=no, directories=no, menubar=no, left="+left+", top="+top+"titlebar=no");
}


function special()

{
	if ((window.location == "http://www.marc-lagrange.com") || (window.location == "http://www.marc-lagrange.com/index.php"))

		//-- fenetre('popup.html', '45O', '280', 'no' , true);
		window.open(page, "popup.html", "width=450, height=280,resizable=no, scrollbars=no, toolbar=no, status=no, directories=no, menubar=no, titlebar=no");

}