function moteurRecherche(p, r, w) {
        	var partenaire = p;
            var ratachement = r;
			var width = w;
            var url ;
            var urlFNAC = "http://www.fnacspectacles.com";
            url = "http://" + partenaire + "." + ratachement + ".com";
 
            if ( ratachement == "fnacspectacles")
                        {
						document.write("<link href='" + urlFNAC + "/static/uploads/moteurs/liberation/moteurDetail_liberation.css' rel='stylesheet' type='text/css' />");
						document.write("<table width='" + width +"'  id='rechercheDetailFS'>");
						document.write("  <tr>");
						document.write("    <td class='moteurFS'><form name='rechercheDetailForm' method='GET' action='" + url + "/recherche/rechercheDetail.do' id='rechercheDetailFormFS' target='_blank'>");
						document.write("       <table width='100%'  id='contenuDetailFS'>");
						document.write("          <tr>");
						document.write("            <td class='labelFS'>Spectacles / Artistes :</td>");
						document.write("          </tr>");
						document.write("          <tr>");
						document.write("            <td><input type='text' name='spectaclesArtistes' value='' class='textFS' id='spectaclesArtistesFS'></td>");
						document.write("          </tr>");
						document.write("          <tr>");
						document.write("            <td class='labelFS'>Th&egrave;mes :</td>");
						document.write("          </tr>");
						document.write("          <tr>");
						document.write("            <td><select name='theme' id='themeFS'>");
						document.write("              <option value='-1'>Tous les th&egrave;mes</option>");
						document.write("              <option value='308056048439132160'>Musique/Concerts</option>");
						document.write("              <option value='308056048439132162'>Th&eacute;&acirc;tre et humour</option>");
						document.write("              <option value='308056048439132170'>Arts/mus&eacute;es</option>");
						document.write("              <option value='308056048439132164'>Danse</option>");
						document.write("              <option value='308056048439132166'>Sports</option>");
						document.write("              <option value='308056048439132168'>En famille</option>");
						document.write("              <option value='308056048439132172'>Tourisme et loisirs</option>");
						document.write("              <option value='308056048439132174'>Cin&eacute;ma</option>");
						document.write("            </select></td>");
						document.write("          </tr>");
						document.write("          <tr>");
						document.write("            <td class='labelFS'>R&eacute;gions :</td>");
						document.write("          </tr>");
						document.write("          <tr>");
						document.write("            <td><select name='region' id='regionFS'>");
						document.write("              <option value='-1'>Toutes les r&eacute;gions</option>");
						document.write("             <option value='RPA'>Ile de France</option>");
						document.write("              <option value='OU1'>Ouest</option>");
						document.write("              <option value='SO1'>Sud-Ouest</option>");
						document.write("              <option value='SE1'>Sud-Est</option>");
						document.write("              <option value='EST'>Est</option>");
						document.write("              <option value='NOR'>Nord</option>");
						document.write("              <option value='CEN'>Centre</option>");
						document.write("            </select></td>");
						document.write("          </tr>");
						document.write("          <tr>");
						document.write("            <td class='labelFS'>Ville :</td>");
						document.write("          </tr>");
						document.write("          <tr>");
						document.write("            <td><input type='text' name='ville' value='' class='textFS' id='ville'></td>");
						document.write("          </tr>");
						document.write("          <tr>");
						document.write("            <td class='actionFS'><input type='submit' name='rechercher' value='Recherchez' class='submit' id='poursuivreButtonFS'></td>");
						document.write("          </tr>");
						document.write("</table>");
						document.write("      </form>");
						document.write("	  <div id='cornerLeftBottomFS'></div><div id='cornerRightBottomFS'></div>");
						document.write("    </td>");
						document.write("  </tr>");
						document.write("</table>");
						}
}
