var depassementDroit = (positionMessage.left + m.width()) - $("body").width();
if (depassementDroit > 0) {
positionMessage.left -= depassementDroit;\r
var depassementDroit = (positionMessage.left + m.width()) - $("body").width();
if (depassementDroit > 0) {
positionMessage.left -= depassementDroit;\r
if (input.setSelectionRange) {
input.focus();
input.setSelectionRange(selectionStart, selectionEnd);
if (input.setSelectionRange) {
input.focus();
input.setSelectionRange(selectionStart, selectionEnd);
var range = input.createTextRange();
range.collapse(true);
range.moveEnd('character', selectionEnd);
var range = input.createTextRange();
range.collapse(true);
range.moveEnd('character', selectionEnd);
if (selectionStart != selectionEnd) { // has there been a selection
this.setSelectionRange(input, selectionStart, selectionStart + replaceString.length);\r
if (selectionStart != selectionEnd) { // has there been a selection
this.setSelectionRange(input, selectionStart, selectionStart + replaceString.length);\r