//*********************************************************************
//*        Module de gestion des tailles d'écran et de fenêtre        *
//*                    Ecrit par Alexandre GASTAUD                    *
//*********************************************************************
//* A inclure : INFOS.JS                                              *
//*********************************************************************

function ScreenWidth ()
	{
	return screen.availWidth;
	}

function ScreenHeight ()
	{
	return screen.availHeight;
	}

function WindowWidth ()
	{
	if (isNetscape)
		return window.innerWidth;
	else if (isExplorer)
		return document.body.clientWidth;
	else
		return ScreenWidth ();
	}

function WindowHeight ()
	{
	if (isNetscape)
		return window.innerHeight;
	else if (isExplorer)
		return document.body.clientHeight;
	else
		return ScreenHeight ();
	}

function MinX ()
	{
	if (isNetscape)
		return document.scrollLeft;
	else if (isExplorer)
		return document.body.scrollLeft;
	else
		return 0;
	}

function MinY ()
	{
	if (isNetscape)
		return document.scrollTop;
	else if (isExplorer)
		return document.body.scrollTop;
	else
		return 0;
	}

function MaxX ()
	{
	return WindowWidth () + MinX ();
	}

function MaxY ()
	{
	return WindowHeight () + MinY ();
	}

//*************************** FIN DU FICHIER **************************