function GetElementId(id){	if(window.document.getElementById(id)==null)	{		for(var i=0;i<window.parent.frames.length;i++)		{			if(window.parent.frames[i].document.getElementById(id)!=null)				return window.parent.frames[i].document.getElementById(id);		}	}	else return window.document.getElementById(id);}
function getSubList (li) {  var subList = null;  for (var c = 0; c < li.childNodes.length; c++)    if (li.childNodes[c].nodeName == 'OL') {      subList = li.childNodes[c];      break;    }  return subList;}
function clickStdList(id){var	target = GetElementId(id);	if(target==null)return;	if(target.onclick!=null)		target.onclick();var	child;for(var i=0;i<target.childNodes.length;i++){	child = target.childNodes[i];	if(child.nodeName=="TD")	{if(child.onclick!=null)		child.onclick();}}}
var ListLastItem = new Array(202);var curr_cell,oRow,oCol;var noTable;var tmpItem;for (var i = 0 ; i < ListLastItem.length ;i++)	ListLastItem[i]="" ;function selectHierarchicalVerticalList(noList,noType,noAction,noTable,noItem){	if(noAction == '1')	{		if (ListLastItem[noTable] != "") // si lastId <>  		{			if(noType=='D')			{				if(noItem!=noList+"_"+ListLastItem[noTable])				{					var target = GetElementId(noList+"_"+ListLastItem[noTable]);					while ( target.nodeName != "DL" )					{						while ( target.nodeName != "DT" )	target = target.parentNode;						if((target.className == "expandable")&&(target.expanded))						{							getSubList(target).style.display = 'none';							target.expanded = false;						}						target = target.parentNode;					} 				}				oRow = GetElementId(noList+"_"+ListLastItem[noTable]).childNodes[0].rows[0]; // ancien tr de la liste a metre en place			}			if(noType=='V') oRow = GetElementId(noList).rows[ListLastItem[noTable]]; // ancien tr de la liste a metre en place			for (curr_cell = 0; curr_cell < oRow.cells.length; curr_cell++)			{				var Style = tmpListZone[noTable][ListLastItem[noTable]][curr_cell];				if(Style.ClassOut != "") oRow.cells[curr_cell].className = Style.ClassOut ;				if(Style.PictOut != "")	oRow.cells[curr_cell].childNodes[0].src = Style.PictOut;		    }		} 			if(noType=='D')		{			if(noItem!=noList+"_"+ListLastItem[noTable])			{				var target = GetElementId(noItem);				while ( target.nodeName != "DL" )				{					while ( target.nodeName != "DT" )						target = target.parentNode;					if((target.className == "expandable")&&(!target.expanded))					{						getSubList(target).style.display = 'block';						target.expanded = true;					}					target = target.parentNode;				} 			}			else			{				var target = GetElementId(noItem);				while ( target.nodeName != "DT" )					target = target.parentNode;				if (target.className == "expandable")				{					if (!target.expanded) 						getSubList(target).style.display = 'block';					else getSubList(target).style.display = 'none';					target.expanded = !target.expanded;				}			}			oRow = GetElementId(noItem).childNodes[0].rows[0];			var s = noItem.split("_");			noItem = s[2];		}		if(noType=='V') oRow = GetElementId(noList).rows[noItem];		for (curr_cell = 0; curr_cell < oRow.cells.length; curr_cell++)		{			var Style = tmpListZone[noTable][noItem][curr_cell];			if(Style.ClassSel != "") oRow.cells[curr_cell].className= Style.ClassSel ;			if(Style.PictSel != "") oRow.cells[curr_cell].childNodes[0].src = Style.PictSel;			if(oRow.cells[curr_cell].onclick!=null)			{				var		strClick;				if(navigator.userAgent.indexOf('MSIE') != -1)					strClick = oRow.cells[curr_cell].outerHTML;				else strClick = oRow.cells[curr_cell].getAttribute('onclick');				if(strClick.indexOf("location=")==-1)					oRow.cells[curr_cell].onclick();			}		}		ListLastItem[noTable] = noItem ; // put new id on listIdselect		}	else 	{		if(noList.charAt(0)=='D')		{			oRow = GetElementId(noItem).childNodes[0].rows[0];			var s = noItem.split("_");			noItem = s[2];		}		if(noList.charAt(0)=='V') oRow = GetElementId(noList).rows[noItem];		if (ListLastItem[noTable] != noItem ) 		{ 			for (curr_cell = 0; curr_cell < oRow.cells.length; curr_cell++)			{  				if (noAction == 2)// mouse over				{ 					var Style = tmpListZone[noTable][noItem][curr_cell];					if(Style.ClassRoll != "") oRow.cells[curr_cell].className= Style.ClassRoll ;					if(Style.PictRoll != "") oRow.cells[curr_cell].childNodes[0].src = Style.PictRoll;				}				if (noAction == 0)// mouseout 				{  					var Style = tmpListZone[noTable][noItem][curr_cell];					if(Style.ClassOut != "") oRow.cells[curr_cell].className= Style.ClassOut ;					if(Style.PictOut != "") oRow.cells[curr_cell].childNodes[0].src = Style.PictOut;				}			}		}	}}
function select(noList,noItem,noAction,noLigne){	if(GetElementId(noList)==null)return;	if(noList.charAt(0)=='D')		noTable = noList.substring(3,noList.length); // ligne tr de la liste 	else noTable = noList.substring(7,noList.length);	if((noList.charAt(0)=='D')||(noList.charAt(0)=='V'))		selectHierarchicalVerticalList(noList,noList.charAt(0),noAction,noTable,noItem);}
function CellStyle(ClassOut,ClassRoll,ClassSel,PictOut,PictRoll,PictSel){	this.ClassOut = ClassOut;	this.ClassRoll = ClassRoll;	this.ClassSel = ClassSel;	this.PictOut = PictOut;	this.PictRoll = PictRoll;	this.PictSel = PictSel;}
var tmpListZone = new Array(202);var tmpCellStyle;tmpListZone[200] = new CellStyle(10);tmpListZone[200][0] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][0][0] = tmpCellStyle;
tmpListZone[200][1] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][1][0] = tmpCellStyle;
tmpListZone[200][2] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][2][0] = tmpCellStyle;
tmpListZone[200][3] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][3][0] = tmpCellStyle;
tmpListZone[200][4] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][4][0] = tmpCellStyle;
tmpListZone[200][5] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][5][0] = tmpCellStyle;
tmpListZone[200][6] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][6][0] = tmpCellStyle;
tmpListZone[200][7] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][7][0] = tmpCellStyle;
tmpListZone[200][8] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][8][0] = tmpCellStyle;
tmpListZone[200][9] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_1','Style_2','Style_3','','','');tmpListZone[200][9][0] = tmpCellStyle;
tmpListZone[201] = new Array(1);tmpListZone[201][0] = new CellStyle(1);tmpCellStyle = new CellStyle('Style_4','Style_5','','','','');tmpListZone[201][0][0] = tmpCellStyle;
