function ShowBSells(cols)
{
    window.setInterval(ShowBSells_core,7000);
    ShowBSells_core();
}

function ShowBSells_core()
{
    var FeaturedIndex = new Array;
    var elems = 0;
    var cols = 1;
    do
    {
      idx = Math.floor( Math.random() * Featured.length );
      var IdxFound = false;
      for (i = 0; i < FeaturedIndex.length; i++ )
      {
        if (FeaturedIndex[i] == idx)
        {
          IdxFound = true;
          break;
        }
      }
      if (!IdxFound)
      {
        FeaturedIndex[elems] = idx;
        elems = elems + 1;
      }
    } while (FeaturedIndex.length < FeaturedN);

    var res = "<table border=0 width=100% cellpadding=0 cellspacing=0><tr valign=top align=center>";
    for (i = 0 ; i < FeaturedIndex.length; i++)
    {
        if ((i+1) % cols == 0)
            res += "<td class=rbsLastCell ";
        else
            res += "<td class=rbsMidCell ";
        res += " width=" + (100/cols) + "%>" + String(Featured[FeaturedIndex[i]]).replace(/`/gi, "'") + "</td>";
        if ((i+1) % cols == 0)
        {
            res += "</tr><tr valign=top align=center>";
        }
    }
    res += "</tr></table>";
    
    $("#press").html(res);
}
