diff --git a/prive/javascript/spip_barre.js b/prive/javascript/spip_barre.js
index 730c3c052d66d560145ff135a280141f6dd6637d..ab65c6d366a9f2ea09fa6d481d05da7db3e3b680 100644
--- a/prive/javascript/spip_barre.js
+++ b/prive/javascript/spip_barre.js
@@ -1,25 +1,4 @@
 // Barre de raccourcis
-// derive du:
-// bbCode control by subBlue design : www.subBlue.com
-
-// Startup variables
-var theSelection = false;
-
-// Check for Browser & Platform for PC & IE specific bits
-// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
-var clientPC = navigator.userAgent.toLowerCase(); // Get client info
-var clientVer = parseInt(navigator.appVersion); // Get browser version
-
-var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
-var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
-                && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
-                && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));
-var is_moz = 0;
-
-var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));
-var is_mac = (clientPC.indexOf("mac")!=-1);
-
-
 
 function barre_inserer(text,champ) {
 	var txtarea = champ;
@@ -43,17 +22,6 @@ function barre_inserer(text,champ) {
 }
 
 
-// Shows the help messages in the helpline window
-function helpline(help, champ) {
-	champ.value = help;
-}
-
-
-function setCaretToEnd (input) {
-  setSelectionRange(input, input.value.length, input.value.length);
-}
-
-
 function setSelectionRange(input, selectionStart, selectionEnd) {
   if (input.setSelectionRange) {
     input.focus();
@@ -101,10 +69,3 @@ function mozWrap(txtarea, open, close)
 	return;
 }
 
-// Insert at Claret position. Code from
-// http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
-     function storeCaret (textEl) {
-       if (textEl.createTextRange) 
-         textEl.caretPos = document.selection.createRange().duplicate();
-     }
-