////////////////////////////////////////////////////////////////
// Change la couleur des lignes d'un tableau
function setPointer(theRow, thePointerColor)
{
	
//	if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
//		return false;
//	}
	if (typeof(document.getElementsByTagName) != 'undefined') {
		var theCells = theRow.getElementsByTagName('td');
	}
	else if (typeof(theRow.cells) != 'undefined') {
		var theCells = theRow.cells;
	}
	else {
		return false;
	}
	var rowCellsCnt  = theCells.length;
	for (var c = 0; c < rowCellsCnt; c++) {
	theCells[c].style.backgroundColor = thePointerColor;
	}
	return true;
}


////////////////////////////////////////////////////////////////
 // DEPLIE OU REPLIE UN DIV
function depliRepli(nameDiv)
	{
	if (document.getElementById(nameDiv).style.display == 'none')
	{
		document.getElementById(nameDiv).style.display='block';
	}
	else
	{
		document.getElementById(nameDiv).style.display='none';
	}
}



function loadBandeau(){
	var flash = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="780" height="320" id="bTop" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="/image/CTP_bandeau_top.swf" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><embed src="/image/CTP_bandeau_top.swf" wmode="transparent" quality="high" width="780" height="320" name="bTop" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';
	document.getElementById('flashObjectTop').innerHTML = flash;
}


