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 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(1);var curr_cell,oRow,oCol;var noTable;var tmpItem;for (var i = 0 ; i < ListLastItem.length ;i++)	ListLastItem[i]="" ;function selectHorizontalList(noList,noAction,noTable,noItem){	if(noAction == '1')	{		if (ListLastItem[noTable] != "") // si lastId <>  		{			oCol = GetElementId(noList).rows; // ancien tr de la liste a metre en place			for (curr_cell = 0; curr_cell < oCol.length; curr_cell++)			{				var Style = tmpListZone[noTable][curr_cell][ListLastItem[noTable]];				if(Style.ClassOut != "") oCol[curr_cell].cells[ListLastItem[noTable]].className = Style.ClassOut ;				if(Style.PictOut != "")	oCol[curr_cell].cells[ListLastItem[noTable]].childNodes[0].src = Style.PictOut;		    }		} 		oCol = GetElementId(noList).rows;	// nouvel item de la liste a selectione		for (curr_cell = 0; curr_cell < oCol.length; curr_cell++)		{			var Style = tmpListZone[noTable][curr_cell][noItem];			if(Style.ClassSel != "") oCol[curr_cell].cells[noItem].className= Style.ClassSel ;			if(Style.PictSel != "")	oCol[curr_cell].cells[noItem].childNodes[0].src = Style.PictSel;		}		ListLastItem[noTable] = noItem ; // put new id on listIdselect		}	else 	{		if (ListLastItem[noTable] != noItem ) 		{			oCol = GetElementId(noList).rows;			for (curr_cell = 0; curr_cell < oCol.length; curr_cell++)			{				if (noAction == 2)// mouse over				{					var Style = tmpListZone[noTable][curr_cell][noItem];					if(Style.ClassRoll != "") oCol[curr_cell].cells[noItem].className= Style.ClassRoll ;					if(Style.PictRoll != "")	oCol[curr_cell].cells[noItem].childNodes[0].src = Style.PictRoll;				}				if (noAction == 0)// mouseout 				{					var Style = tmpListZone[noTable][curr_cell][noItem];					if(Style.ClassOut != "") oCol[curr_cell].cells[noItem].className= Style.ClassOut ;					if(Style.PictOut != "")	oCol[curr_cell].cells[noItem].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)=='H')		selectHorizontalList(noList,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(1);var tmpCellStyle;tmpListZone[0] = new Array(1);tmpListZone[0][0] = new CellStyle(5);tmpCellStyle = new CellStyle('Style_0','Style_1','Style_2','','','');tmpListZone[0][0][0] = tmpCellStyle;
tmpCellStyle = new CellStyle('','','','','','');tmpListZone[0][0][1] = tmpCellStyle;
tmpCellStyle = new CellStyle('Style_0','Style_1','Style_2','','','');tmpListZone[0][0][2] = tmpCellStyle;
tmpCellStyle = new CellStyle('','','','','','');tmpListZone[0][0][3] = tmpCellStyle;
tmpCellStyle = new CellStyle('Style_0','Style_1','Style_2','','','');tmpListZone[0][0][4] = tmpCellStyle;
