
// copyright - begin
//
//   Copyright (C) 2005 Espace Courbe inc.
//   You are free to modify and redistribute this code as long
//   as the following message is included:
//
//   Last modified:
//   $Date: 2006/05/09 16:25:59 $
//
//   Portions Copyright (C) 2006 Espace Courbe inc.
//   Home Page: http://www.espacecourbe.com/
//
//   Author: Christian Fecteau -- christian.fecteau@espacecourbe.com
//   Creation:  2005/12/06 17:05:02
//
// copyright - end



// $Id: listCollapseConfig.js,v 1.3 2006/05/09 16:25:59 christian Exp $

// nom du cookie pour l'état sauvegardé automatiquement en quittant la page
temoinEC		=	'etatSauvegarde';

// ID du plan
rootID			=	'planEC';

// par défaut la liste est toute pliée ('none') ou dépliée ('block')
firstStateEC		=	'none';

// HTML pour item fermé
plusHtmlEC		=	'<img src="' + plusSrc + '" border="0" alt="" style="position:relative;top:3px;_left:-3px" />';

// HTML pour item ouvert
moinsHtmlEC		=	'<img src="' + moinsSrc + '" border="0" alt="" style="position:relative;top:3px;_left:-3px" />';

// HTML pour item sans enfants
nonLinkEC		=	'<img src="' + nonLinkSrc + '" border="0" alt="" style="position:relative;top:3px;_left:-3px" />';

// *ne pas* retenir l'état des enfants en fermant le parent (false ou true)
nePasRetenirEC		=	false;

// style pour les LI
// syntaxe: cssLI['nom de la propriété CSS *sensible à la casse'] = 'valeur';
// voir: http://msdn.microsoft.com/workshop/author/css/reference/attributes.asp
cssLI['listStyleType']	=	'none';
cssLI['textIndent']	=	'-20px';

// style pour le UL racine
// syntaxe: cssUL['nom de la propriété CSS *sensible à la casse'] = 'valeur';
// voir: http://msdn.microsoft.com/workshop/author/css/reference/attributes.asp
cssUL['position']	=	'relative';
cssUL['left']		=	'-20px';

// HTML pour le message d'attente
msgAttente		=	'<p style="font-weight:bold">' + msgAttenteTxt + '</p>';


/*
The "etatParDefaut" variable...
	- default state onload if no session cookie set.
	- to get the string and specifies a new default state:
		1. collapse/expand the branches you want
		2. append set=1 in the URL query and refresh (ex.: plan.html?set=1)
		3. a new window opens with a textarea
		4. the string is in there, ready for a copy and paste
	- syntax:	'branch#:branch#'; 
	  exemple:	'0:1:3:12:15';
	- the specified branch(es) number(s) will *NOT* have the 
	  default value (firstStateEC) which is a display of 'block' or 'none'
*/
etatParDefaut		=	'0';

