function _loadingProgress(fsPath, background, bullet) {
	
	// Sélection du calque de fond ===========================
	var id3 = charIDToTypeID( "slct" );
	    var desc2 = new ActionDescriptor();
	    var id4 = charIDToTypeID( "null" );
	        var ref1 = new ActionReference();
	        var id5 = charIDToTypeID( "Lyr " );
	        ref1.putName( id5, "Fond" );
	    desc2.putReference( id4, ref1 );
	    var id6 = charIDToTypeID( "MkVs" );
	    desc2.putBoolean( id6, false );
	executeAction( id3, desc2, DialogModes.NO );

	// Changement de la couleur de fond ======================
	var id7 = charIDToTypeID( "setd" );
	    var desc3 = new ActionDescriptor();
	    var id8 = charIDToTypeID( "null" );
	        var ref2 = new ActionReference();
	        var id9 = stringIDToTypeID( "contentLayer" );
	        var id10 = charIDToTypeID( "Ordn" );
	        var id11 = charIDToTypeID( "Trgt" );
	        ref2.putEnumerated( id9, id10, id11 );
	    desc3.putReference( id8, ref2 );
	    var id12 = charIDToTypeID( "T   " );
	        var desc4 = new ActionDescriptor();
	        var id13 = charIDToTypeID( "Clr " );
	            var desc5 = new ActionDescriptor();
	            var id14 = charIDToTypeID( "Rd  " );
	            desc5.putDouble( id14, background[0] );
	            var id15 = charIDToTypeID( "Grn " );
	            desc5.putDouble( id15, background[1] );
	            var id16 = charIDToTypeID( "Bl  " );
	            desc5.putDouble( id16, background[2] );
	        var id17 = charIDToTypeID( "RGBC" );
	        desc4.putObject( id13, id17, desc5 );
	    var id18 = stringIDToTypeID( "solidColorLayer" );
	    desc3.putObject( id12, id18, desc4 );
	executeAction( id7, desc3, DialogModes.NO );
	
	// Sélection du calque 'bullet' ==========================
	var id19 = charIDToTypeID( "slct" );
	    var desc6 = new ActionDescriptor();
	    var id20 = charIDToTypeID( "null" );
	        var ref3 = new ActionReference();
	        var id21 = charIDToTypeID( "Lyr " );
	        ref3.putName( id21, "bullet" );
	    desc6.putReference( id20, ref3 );
	    var id22 = charIDToTypeID( "MkVs" );
	    desc6.putBoolean( id22, false );
	executeAction( id19, desc6, DialogModes.NO );

	// Définition de la couleur de la bullet =================
	var id23 = charIDToTypeID( "setd" );
	    var desc7 = new ActionDescriptor();
	    var id24 = charIDToTypeID( "null" );
	        var ref4 = new ActionReference();
	        var id25 = stringIDToTypeID( "contentLayer" );
	        var id26 = charIDToTypeID( "Ordn" );
	        var id27 = charIDToTypeID( "Trgt" );
	        ref4.putEnumerated( id25, id26, id27 );
	    desc7.putReference( id24, ref4 );
	    var id28 = charIDToTypeID( "T   " );
	        var desc8 = new ActionDescriptor();
	        var id29 = charIDToTypeID( "Clr " );
	            var desc9 = new ActionDescriptor();
	            var id30 = charIDToTypeID( "Rd  " );
	            desc9.putDouble( id30, bullet[0] );
	            var id31 = charIDToTypeID( "Grn " );
	            desc9.putDouble( id31, bullet[1] );
	            var id32 = charIDToTypeID( "Bl  " );
	            desc9.putDouble( id32, bullet[2] );
	        var id33 = charIDToTypeID( "RGBC" );
	        desc8.putObject( id29, id33, desc9 );
	    var id34 = stringIDToTypeID( "solidColorLayer" );
	    desc7.putObject( id28, id34, desc8 );
	executeAction( id23, desc7, DialogModes.NO );
	
	// Enregistrement de l'image gif =========================
	var id87 = charIDToTypeID( "Expr" );
	    var desc14 = new ActionDescriptor();
	    var id88 = charIDToTypeID( "Usng" );
	        var desc15 = new ActionDescriptor();
	        var id89 = charIDToTypeID( "Op  " );
	        var id90 = charIDToTypeID( "SWOp" );
	        var id91 = charIDToTypeID( "OpSa" );
	        desc15.putEnumerated( id89, id90, id91 );
	        var id92 = charIDToTypeID( "Fmt " );
	        var id93 = charIDToTypeID( "IRFm" );
	        var id94 = charIDToTypeID( "GIFf" );
	        desc15.putEnumerated( id92, id93, id94 );
	        var id95 = charIDToTypeID( "Intr" );
	        desc15.putBoolean( id95, false );
	        var id96 = charIDToTypeID( "RedA" );
	        var id97 = charIDToTypeID( "IRRd" );
	        var id98 = charIDToTypeID( "Sltv" );
	        desc15.putEnumerated( id96, id97, id98 );
	        var id99 = charIDToTypeID( "RChT" );
	        desc15.putBoolean( id99, false );
	        var id100 = charIDToTypeID( "RChV" );
	        desc15.putBoolean( id100, false );
	        var id101 = charIDToTypeID( "AuRd" );
	        desc15.putBoolean( id101, false );
	        var id102 = charIDToTypeID( "NCol" );
	        desc15.putInteger( id102, 256 );
	        var id103 = charIDToTypeID( "Dthr" );
	        var id104 = charIDToTypeID( "IRDt" );
	        var id105 = charIDToTypeID( "Dfsn" );
	        desc15.putEnumerated( id103, id104, id105 );
	        var id106 = charIDToTypeID( "DthA" );
	        desc15.putInteger( id106, 100 );
	        var id107 = charIDToTypeID( "DChS" );
	        desc15.putInteger( id107, 0 );
	        var id108 = charIDToTypeID( "DCUI" );
	        desc15.putInteger( id108, 0 );
	        var id109 = charIDToTypeID( "DChT" );
	        desc15.putBoolean( id109, false );
	        var id110 = charIDToTypeID( "DChV" );
	        desc15.putBoolean( id110, false );
	        var id111 = charIDToTypeID( "WebS" );
	        desc15.putInteger( id111, 0 );
	        var id112 = charIDToTypeID( "TDth" );
	        var id113 = charIDToTypeID( "IRDt" );
	        var id114 = charIDToTypeID( "None" );
	        desc15.putEnumerated( id112, id113, id114 );
	        var id115 = charIDToTypeID( "TDtA" );
	        desc15.putInteger( id115, 100 );
	        var id116 = charIDToTypeID( "Loss" );
	        desc15.putInteger( id116, 0 );
	        var id117 = charIDToTypeID( "LChS" );
	        desc15.putInteger( id117, 0 );
	        var id118 = charIDToTypeID( "LCUI" );
	        desc15.putInteger( id118, 100 );
	        var id119 = charIDToTypeID( "LChT" );
	        desc15.putBoolean( id119, false );
	        var id120 = charIDToTypeID( "LChV" );
	        desc15.putBoolean( id120, false );
	        var id121 = charIDToTypeID( "Trns" );
	        desc15.putBoolean( id121, false );
	        var id122 = charIDToTypeID( "Mtt " );
	        desc15.putBoolean( id122, true );
	        var id123 = charIDToTypeID( "MttR" );
	        desc15.putInteger( id123, 255 );
	        var id124 = charIDToTypeID( "MttG" );
	        desc15.putInteger( id124, 255 );
	        var id125 = charIDToTypeID( "MttB" );
	        desc15.putInteger( id125, 255 );
	        var id126 = charIDToTypeID( "SHTM" );
	        desc15.putBoolean( id126, false );
	        var id127 = charIDToTypeID( "SImg" );
	        desc15.putBoolean( id127, true );
	        var id128 = charIDToTypeID( "SSSO" );
	        desc15.putBoolean( id128, false );
	        var id129 = charIDToTypeID( "SSLt" );
	            var list2 = new ActionList();
	        desc15.putList( id129, list2 );
	        var id130 = charIDToTypeID( "DIDr" );
	        desc15.putBoolean( id130, false );
	        var id131 = charIDToTypeID( "In  " );
	        desc15.putPath( id131, new File( fsPath ) );
	    var id132 = stringIDToTypeID( "SaveForWeb" );
	    desc14.putObject( id88, id132, desc15 );
	executeAction( id87, desc14, DialogModes.NO );
}

function _plinnLogo(fsPath, background, bullet) {
	// Sélection du calque de fond ===========================
	var id7 = charIDToTypeID( "slct" );
	    var desc3 = new ActionDescriptor();
	    var id8 = charIDToTypeID( "null" );
	        var ref2 = new ActionReference();
	        var id9 = charIDToTypeID( "Lyr " );
	        ref2.putName( id9, "Fond" );
	    desc3.putReference( id8, ref2 );
	    var id10 = charIDToTypeID( "MkVs" );
	    desc3.putBoolean( id10, false );
	executeAction( id7, desc3, DialogModes.NO );

	// Définition de la couleur de fond ======================
	var id11 = charIDToTypeID( "setd" );
	    var desc4 = new ActionDescriptor();
	    var id12 = charIDToTypeID( "null" );
	        var ref3 = new ActionReference();
	        var id13 = stringIDToTypeID( "contentLayer" );
	        var id14 = charIDToTypeID( "Ordn" );
	        var id15 = charIDToTypeID( "Trgt" );
	        ref3.putEnumerated( id13, id14, id15 );
	    desc4.putReference( id12, ref3 );
	    var id16 = charIDToTypeID( "T   " );
	        var desc5 = new ActionDescriptor();
	        var id17 = charIDToTypeID( "Clr " );
	            var desc6 = new ActionDescriptor();
	            var id18 = charIDToTypeID( "Rd  " );
	            desc6.putDouble( id18, background[0] );
	            var id19 = charIDToTypeID( "Grn " );
	            desc6.putDouble( id19, background[1] );
	            var id20 = charIDToTypeID( "Bl  " );
	            desc6.putDouble( id20, background[2] );
	        var id21 = charIDToTypeID( "RGBC" );
	        desc5.putObject( id17, id21, desc6 );
	    var id22 = stringIDToTypeID( "solidColorLayer" );
	    desc4.putObject( id16, id22, desc5 );
	executeAction( id11, desc4, DialogModes.NO );

	// Sélection du calque avec la bullet ====================
	var id23 = charIDToTypeID( "slct" );
	    var desc7 = new ActionDescriptor();
	    var id24 = charIDToTypeID( "null" );
	        var ref4 = new ActionReference();
	        var id25 = charIDToTypeID( "Lyr " );
	        ref4.putName( id25, "Fond 2" );
	    desc7.putReference( id24, ref4 );
	    var id26 = charIDToTypeID( "MkVs" );
	    desc7.putBoolean( id26, false );
	executeAction( id23, desc7, DialogModes.NO );

	// Définition de la couleur de la bullet =================
	var id27 = charIDToTypeID( "setd" );
	    var desc8 = new ActionDescriptor();
	    var id28 = charIDToTypeID( "null" );
	        var ref5 = new ActionReference();
	        var id29 = stringIDToTypeID( "contentLayer" );
	        var id30 = charIDToTypeID( "Ordn" );
	        var id31 = charIDToTypeID( "Trgt" );
	        ref5.putEnumerated( id29, id30, id31 );
	    desc8.putReference( id28, ref5 );
	    var id32 = charIDToTypeID( "T   " );
	        var desc9 = new ActionDescriptor();
	        var id33 = charIDToTypeID( "Clr " );
	            var desc10 = new ActionDescriptor();
	            var id34 = charIDToTypeID( "Rd  " );
	            desc10.putDouble( id34, bullet[0] );
	            var id35 = charIDToTypeID( "Grn " );
	            desc10.putDouble( id35, bullet[1] );
	            var id36 = charIDToTypeID( "Bl  " );
	            desc10.putDouble( id36, bullet[2] );
	        var id37 = charIDToTypeID( "RGBC" );
	        desc9.putObject( id33, id37, desc10 );
	    var id38 = stringIDToTypeID( "solidColorLayer" );
	    desc8.putObject( id32, id38, desc9 );
	executeAction( id27, desc8, DialogModes.NO );

	// Ajustement hauteur à 64px et exportation gif ==========
	var id39 = charIDToTypeID( "Expr" );
	    var desc11 = new ActionDescriptor();
	    var id40 = charIDToTypeID( "Usng" );
	        var desc12 = new ActionDescriptor();
	        var id41 = charIDToTypeID( "Op  " );
	        var id42 = charIDToTypeID( "SWOp" );
	        var id43 = charIDToTypeID( "OpSa" );
	        desc12.putEnumerated( id41, id42, id43 );
	        var id44 = charIDToTypeID( "Fmt " );
	        var id45 = charIDToTypeID( "IRFm" );
	        var id46 = charIDToTypeID( "GIFf" );
	        desc12.putEnumerated( id44, id45, id46 );
	        var id47 = charIDToTypeID( "Intr" );
	        desc12.putBoolean( id47, false );
	        var id48 = charIDToTypeID( "RedA" );
	        var id49 = charIDToTypeID( "IRRd" );
	        var id50 = charIDToTypeID( "Sltv" );
	        desc12.putEnumerated( id48, id49, id50 );
	        var id51 = charIDToTypeID( "RChT" );
	        desc12.putBoolean( id51, false );
	        var id52 = charIDToTypeID( "RChV" );
	        desc12.putBoolean( id52, false );
	        var id53 = charIDToTypeID( "AuRd" );
	        desc12.putBoolean( id53, false );
	        var id54 = charIDToTypeID( "NCol" );
	        desc12.putInteger( id54, 256 );
	        var id55 = charIDToTypeID( "Dthr" );
	        var id56 = charIDToTypeID( "IRDt" );
	        var id57 = charIDToTypeID( "Dfsn" );
	        desc12.putEnumerated( id55, id56, id57 );
	        var id58 = charIDToTypeID( "DthA" );
	        desc12.putInteger( id58, 100 );
	        var id59 = charIDToTypeID( "DChS" );
	        desc12.putInteger( id59, 0 );
	        var id60 = charIDToTypeID( "DCUI" );
	        desc12.putInteger( id60, 0 );
	        var id61 = charIDToTypeID( "DChT" );
	        desc12.putBoolean( id61, false );
	        var id62 = charIDToTypeID( "DChV" );
	        desc12.putBoolean( id62, false );
	        var id63 = charIDToTypeID( "WebS" );
	        desc12.putInteger( id63, 0 );
	        var id64 = charIDToTypeID( "TDth" );
	        var id65 = charIDToTypeID( "IRDt" );
	        var id66 = charIDToTypeID( "None" );
	        desc12.putEnumerated( id64, id65, id66 );
	        var id67 = charIDToTypeID( "TDtA" );
	        desc12.putInteger( id67, 100 );
	        var id68 = charIDToTypeID( "Loss" );
	        desc12.putInteger( id68, 0 );
	        var id69 = charIDToTypeID( "LChS" );
	        desc12.putInteger( id69, 0 );
	        var id70 = charIDToTypeID( "LCUI" );
	        desc12.putInteger( id70, 100 );
	        var id71 = charIDToTypeID( "LChT" );
	        desc12.putBoolean( id71, false );
	        var id72 = charIDToTypeID( "LChV" );
	        desc12.putBoolean( id72, false );
	        var id73 = charIDToTypeID( "Trns" );
	        desc12.putBoolean( id73, false );
	        var id74 = charIDToTypeID( "Mtt " );
	        desc12.putBoolean( id74, true );
	        var id75 = charIDToTypeID( "MttR" );
	        desc12.putInteger( id75, 255 );
	        var id76 = charIDToTypeID( "MttG" );
	        desc12.putInteger( id76, 255 );
	        var id77 = charIDToTypeID( "MttB" );
	        desc12.putInteger( id77, 255 );
	        var id78 = charIDToTypeID( "HScl" );
	        var id79 = charIDToTypeID( "#Prc" );
	        desc12.putUnitDouble( id78, id79, 25.000000 );
	        var id80 = charIDToTypeID( "VScl" );
	        var id81 = charIDToTypeID( "#Prc" );
	        desc12.putUnitDouble( id80, id81, 24.902724 );
	        var id82 = charIDToTypeID( "SHTM" );
	        desc12.putBoolean( id82, false );
	        var id83 = charIDToTypeID( "SImg" );
	        desc12.putBoolean( id83, true );
	        var id84 = charIDToTypeID( "SSSO" );
	        desc12.putBoolean( id84, false );
	        var id85 = charIDToTypeID( "SSLt" );
	            var list1 = new ActionList();
	        desc12.putList( id85, list1 );
	        var id86 = charIDToTypeID( "DIDr" );
	        desc12.putBoolean( id86, false );
	        var id87 = charIDToTypeID( "In  " );
	        desc12.putPath( id87, new File( fsPath ) );
	    var id88 = stringIDToTypeID( "SaveForWeb" );
	    desc11.putObject( id40, id88, desc12 );
	executeAction( id39, desc11, DialogModes.NO );
	
}