/**
 * Action COMPTE.
 * Init du formulaire...
 */
 $(document).ready(function() { 
            // bind 'myForm' and provide a simple callback function 
            $("#fcontact").ajaxForm( {
            	success: afficheResultat
            }); 
        }); 

 function afficheResultat(texte)
 {
	 var p1=texte.indexOf('|',0);
	 var zone="#fcontact";			// Le formulaire
	 var cTexte=texte.substring(p1+1);
	 var cErreur=texte.substring(0,p1);
	 
	  $("#fcontact").replaceWith(cTexte);
 }
 /* Use 3 options, one to set the html content,
 * one to set the language, and one the set the classes
 */

jQuery(function() {
    jQuery('.wymeditor').wymeditor({
    
        html: '<p>Coucou<\/p>',
        lang: 'fr',
        stylesheet: 'styles.css'
    
    });
});



