/*
Acco (Accordion) for SimpleJS
------------------------------
Acco is developed by Christophe "Dyo" Lefevre (http://bleebot.com/)
*/
var AccoCache2 = new Array();
function $AccoInit2(str) {
   accomax2 = str.match(/[;]/g).length;
   for (var g = 0; g < accomax2; g++) {
      pos = str.indexOf(";");
      AccoCache2.push(str.substring(0, pos));
      str = str.substring(pos + 1, str.length);
      }
   }
function $accopush2(accobjnum2, elastic2) {
   for (var g = 0; g < AccoCache2.length; g++) {
      if (g != accobjnum2) {
         $blindup(AccoCache2[g], 200);
         }
      else {
         if (elastic2 == true) STO("$blinddown('" + AccoCache2[g] + "', 200)", 400);
         else $blinddown(AccoCache2[g], 200);
         }
      }
   }
