window.onerror = function(){return true}
var bxtt972k_super = {curi_super:0, itens_super:undefined, ttin_super: undefined, ttout_super:undefined}
function dosetas_super()
{
  $("#boxft_back_super").show();
  $("#boxft_forw_super").show();
  if (bxtt972k_super["itens_super"].length == 1)
  {
      $("#boxft_back_super").hide();
      $("#boxft_forw_super").hide();
  }
}
function doboxrotate_super(i)
{
  clearTimeout(bxtt972k_super["ttout_super"]);
  bxtt972k_super["curi_super"] += i;
  if (bxtt972k_super["curi_super"] >= bxtt972k_super["itens_super"].length)
    bxtt972k_super["curi_super"] = 0;

  if (bxtt972k_super["curi_super"] < 0)
    bxtt972k_super["curi_super"] = bxtt972k_super["itens_super"].length -1;
   
  bxtt972k_super["itens_super"].each(function(){ $(this).hide() });
  bxtt972k_super["itens_super"].eq(bxtt972k_super["curi_super"]).fadeIn('slow', function()
  {
    bxtt972k_super["ttout_super"] = setTimeout("doboxrotate_super(1)", 5000);
  });
}
function inittte_super()
{
  clearTimeout(bxtt972k_super["ttin_super"]);
  if (document.getElementById("boxft_super") && DIG == 0)
  {
    bxtt972k_super["itens_super"] = $("#boxft_super > span[ft]");
    dosetas_super();
    if (bxtt972k_super["itens_super"].length == 1) return;
    $("#boxft_back_super").click(function(){ doboxrotate_super(-1) });
    $("#boxft_forw_super").click(function(){ doboxrotate_super(1) });
    bxtt972k_super["ttout_super"] = setTimeout("doboxrotate_super(1)", 5000);
  } else {
    bxtt972k_super["ttin_super"] = setTimeout("inittte_super()", 1000);
  }
}
inittte_super();