function texteGras(texte)
{
       string=prompt('Veuillez introduire votre texte','Mon texte en gras');

       if(string)
       {
               texte.value+='<b>'+string+'</b>';
       }

       texte.focus();
}

function texteItalique(texte)
{
       string=prompt('Veuillez introduire votre texte','Mon texte en italique');

       if(string)
       {
               texte.value+='<i>'+string+'</i>';
       }

       texte.focus();
}

function texteSouligne(texte)
{
       string=prompt('Veuillez introduire votre texte','Mon texte souligné');

       if(string)
       {
               texte.value+='<u>'+string+'</u>';
       }

       texte.focus();
}

function insererLien(texte)
{
       string1=prompt('Veuillez introduire votre texte','Mon lien');

       if(string1)
       {
               string2=prompt('Veuillez introduire votre lien','http://www.site.com');

               if(string2)
               {
                       texte.value+='<a href="'+string2+'" target="_blank">'+string1+'</a>';
               }
       }

       texte.focus();
}

function insererImage(texte)
{
       string=prompt('Veuillez introduire l\'adresse Internet de votre image','http://www.site.com/image.gif');

       if(string)
       {
               texte.value+='<img src="'+string+'" border="0" align="absmiddle">';
       }

       texte.focus();
}