function serviceClient(i_Langue, s_DisplayMaPub) {
	s_Html = '';
	if (s_DisplayMaPub != 'OK') {
		s_Html = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="135" height="16" id="sclient" align="middle">';
		s_Html += '<param name="allowScriptAccess" value="sameDomain" />';
		s_Html += '<param name="movie" value="sclient.swf?maLangue='+i_Langue+'" />';
		s_Html += '<param name="quality" value="high" />';
		s_Html += '<param name="bgcolor" value="#ffffff" />';
		s_Html += '<param name="wmode" value="transparent" />';
		/*s_Html += '<param name="flashvars" value="maLangue='+i_Langue+'" />';*/
		s_Html += '<embed';
		s_Html += '							src="sclient.swf?maLangue='+i_Langue+'"';
		s_Html += '							quality="high"';
		s_Html += '							bgcolor="#ffffff"';
		s_Html += '							width="135"';
		s_Html += '							height="16"';
		s_Html += '							name="sclient"';
		s_Html += '							align="middle"';
		s_Html += '             wmode="transparent"';
		s_Html += '							allowScriptAccess="sameDomain"';
		s_Html += '							type="application/x-shockwave-flash"';
		/*s_Html += '							flashvars="maLangue='+i_Langue+'"';*/
		s_Html += '							pluginspage="http://www.macromedia.com/go/getflashplayer"/>';
		s_Html += '</object>';
		//alert(s_Html);
		document.write(s_Html);
		}
	}

function implantHome(vhomeliste, i_Langue) {
	document.write('<object');
	document.write('	type="application/x-shockwave-flash"');
	document.write('	data="./swf/implantxts/home'+vhomeliste+'.swf?xml_file=./swf/implantxts/home'+i_Langue+'.xml"');
	document.write('	width="724"');
	document.write('	height="130">');
  document.write('	<param name="movie"');   
  document.write('		value="./swf/implantxts/home'+vhomeliste+'.swf?xml_file=./swf/implantxts/home'+i_Langue+'.xml"');
  document.write('		/>');
  document.write('  <param name="wmode" value="transparent" />'); 
  document.write('	<img src="#" width="724" height="130" alt="" />');
	document.write('</object>');
	}
// VOEUX 2009
/*function implantHome(vhomeliste, i_Langue) {
	document.write('<object');
	document.write('	type="application/x-shockwave-flash"');
	document.write('	data="./swf/implantxts/voeux-2009.swf?langue='+i_Langue+'"');
	document.write('	width="724"');
	document.write('	height="148">');
  document.write('	<param');
  document.write('		name="movie"');
  document.write('		value="./swf/implantxts/voeux-2009.swf?langue='+i_Langue+'"');
  document.write('		/>');
  document.write('  <param name="wmode" value="transparent" />');
  document.write('	<img src="#" width="724" height="148" alt="" />');
	document.write('</object>');
	}*/

function implantHeader(s_NomSwf, i_Langue) {
 document.write('<object');
 document.write('	type="application/x-shockwave-flash"');
 document.write('	data="./swf/implantxts/'+s_NomSwf+'.swf?xml_file=./swf/implantxts/'+s_NomSwf+i_Langue+'.xml"');
 document.write('	width="724"');
 document.write('	height="100">');
 document.write(' <param');
 document.write(' 	name="movie"');
 document.write(' 	value="./swf/implantxts/'+s_NomSwf+'.swf?xml_file=./swf/implantxts/'+s_NomSwf+i_Langue+'.xml"');
 document.write(' 	/>');
 document.write('  <param name="wmode" value="transparent" />');
 document.write('  <img src="#" width="724" height="100" alt="" />');
 document.write('	</object>');
	}
function masqueRubHome(i_Number) {
	document.write('<object type="application/x-shockwave-flash" data="./communs/MasqueRubriqueHome'+i_Number+'.swf" width="139" height="89" >');
	document.write('<param name="movie" value="./communs/MasqueRubriqueHome'+i_Number+'.swf" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<img height="88" alt="#" src="./communs/MasqueRubriqueHome'+i_Number+'.gif" width="139"/>');
	document.write('</object>');
	}
function swfCote() {
	document.write('<object type="application/x-shockwave-flash" data="./swf/cote/cote.swf" width="147" height="170" >');
  document.write('	<param name="movie" value="./swf/cote/cote.swf" />');
 	document.write('  <param name="wmode" value="transparent" />');
  document.write('	<img src="#" width="147" height="170" alt="" />');
  document.write('</object>');
	}
function masquepetiteRubrique() {
	document.write('<object type="application/x-shockwave-flash" data="./communs/MasquePetiteRubrique.swf" width="140" height="89" >');
  document.write('	<param name="movie" value="./communs/MasquePetiteRubrique.swf" />');
  document.write('	<param name="wmode" value="transparent" />');
  document.write('	<img height="88" alt="#" src="./communs/MasquePetiteRubrique.gif" width="140"/>');
  document.write('</object>');
	}
function masquegrandeRubrique() {
	document.write('<object type="application/x-shockwave-flash" data="./communs/MasqueGrandeRubrique.swf" width="140" height="282" >');
	document.write('	<param name="movie" value="./communs/MasqueGrandeRubrique.swf" />');
	document.write('	<param name="wmode" value="transparent" />');
	document.write('	<img height="282" alt="#" src="./communs/MasqueGrandeRubrique.gif" width="140"/>');
	document.write('</object>');
	}
function historique(i_Langue) {
	document.write('<object type="application/x-shockwave-flash" data="./swf/implanthisto/historique.swf?xml_file=./swf/implanthisto/historique'+i_Langue+'.xml" width="538" height="360">');
	document.write('	<param name="movie" value="./swf/implanthisto/historique.swf?xml_file=./swf/implanthisto/historique'+i_Langue+'.xml" />');
  document.write('	<param name="wmode" value="transparent" />');
  document.write('	<a href="http://www.macromedia.com/go/getflashplayer/" title="Download plug-in Flash">Download plug-in Flash</a>');
  document.write('</object>');
	}
function carteImplantations(i_Langue) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="538" height="360" id="carte" align="middle">');
	document.write('	<param name="allowScriptAccess" value="sameDomain" />');
	document.write('	<param name="movie" value="./swf/implantrubs/carte.swf?xmlfile=./swf/implantrubs/content'+i_Langue+'.xml" />');
	document.write('	<param name="quality" value="high" />');
	document.write('	<param name="bgcolor" value="#ffffff" />');
	document.write('	<param name="wmode" value="transparent" />');
	document.write('	<embed src="./swf/implantrubs/carte.swf?xmlfile=./swf/implantrubs/content'+i_Langue+'.xml" quality="high" bgcolor="#ffffff" width="538" height="360" name="carte" align="middle" wmode="transparent" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
	}
function maPublicite(i_Langue) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="720" height="476" id="pub-tispl" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="allowFullScreen" value="false" />');
	document.write('<param name="swliveconnect" value="true">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<param name="movie" value="./swf/publicite/pub-tispl.swf?maLangue='+i_Langue+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('<embed src="./swf/publicite/pub-tispl.swf?maLangue='+i_Langue+'" quality="high" bgcolor="#ffffff" width="720" height="476" name="pub-tispl" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swliveconnect="true" wmode="transparent"/>');
	document.write('</object>');
	}