$.fn.typewriter = function(opt) {
        var i=0;
        var typeone = function(self, text, content) {
                if (text.length > 0) {
                        i=i+1;
                        var next = text.match(/(\s*(<[^>]*>)?)*(&.*?;|.?)/)[0];
                        text = text.substr(next.length);
                        $(self).html(content+next);
                        setTimeout(function(){
                                typeone(self, text, content+next);
                        }, opt['delay']);
//                         if(text.length==0) if (callback!=null) callback();
                }
        }

	var texte = "Je ne connais ni ton âge, ni ton visage, je ne sais qui tu es mais par la magie du cyberespace, tu t'es posé, là, sur ces pages où les mots et les images inventent des histoires... Tu veux découvrir la suite ? C'est <a href=\"javascript:menu('sommaire')\"> ici </a>";
        this.each(function() {
                opt = opt || { 'delay': 100 };
		$(this).height($(this).height());
    		$(this).width($(this).width());
                typeone(this, texte, '');
        });
        return this;
};


