function finder_brand_DoFSCommand(command,args) {
	if (command=="welcome") document.getElementById("welcomeMesNotices").innerHTML=args;
	if (command=="lien") document.getElementById("mesNoticesOK").innerHTML=args;
	if (command=="lienSearch") document.getElementById("mesNoticesSearch").innerHTML=args;
}

function SafeManuals(langue,brand,monoMarque,popup,dark,light,text,comboText,extRef,background,langueNotices) {
		// <![CDATA[
		fox2=navigator.userAgent.indexOf("Firefox/2");
		fox3=navigator.userAgent.indexOf("Firefox/3");
		if ((fox2>-1) || (fox3>-1)) fox=1; else fox=-1;
		var fo = new SWFObject("http://mesnotices.fr/partners/finder_brand_partenaire.swf","finder_brand", "350", "350", "8", background);
		if (langue!=undefined) fo.addVariable("langue",langue);
		if (brand!=undefined) fo.addVariable("initBrand",brand);
		if (monoMarque!=undefined) fo.addVariable("monoMarque",monoMarque);
		if (popup!=undefined) fo.addVariable("popup",popup);
		fo.addVariable("nav",fox);
		if (light!=undefined) fo.addVariable("lightColour",light);
		if (dark!=undefined) fo.addVariable("darkColour",dark);
		if (text!=undefined) fo.addVariable("textColour",text);
		if (comboText!=undefined) fo.addVariable("comboTextColour",comboText);
		if (extRef!=undefined) fo.addVariable("extRef",extRef);
		if (langueNotices!=undefined) fo.addVariable("langueNotices",langueNotices);
		
		fo.addParam ("allowScriptAccess","always");
		fo.addParam ("salign","lt");
		fo.addParam ("align","top");
//		fo.addParam ("wmode","opaque");

		// ]]>		
		if (fox>-1) {
			document.getElementById("mesnotices").innerHTML='<table width="380" height="350" border="0" bgcolor="'+background+'"><tr height="350" valign="top"><td align="left" valign="top" width="330" height="350"><div id="mesNoticesFlash"></div></td><td><table width="45" border="0" height="350"><tr valign="top"><td height="75" align="left" valign="top"></td></tr><tr><td height="48" align="left" valign="top"><div id="mesNoticesOK"></div></td></tr><tr><td height="38" align="left" valign="top"></td></tr><tr><td align="left" valign="top"><div id="mesNoticesSearch"></div></td></tr></table></td></tr></table>';
			fo.write("mesNoticesFlash");
		} else fo.write("mesnotices");				
		document.getElementById("mesnotices").style.visibility="visible";
}
