function x0822631340408()
{
  var browser="None";
  if(navigator.appName.indexOf("Netscape")>=0&&parseFloat(navigator.appVersion)>=4)
  {
    browser="NS4";
    version=4;
  }
  if(document.getElementById)
  {
    browser="NS6";
    if(navigator.userAgent.indexOf("6.01")!=-1||navigator.userAgent.indexOf("6.0")!=-1)
    {
      version=6;
    }
    else
    {
      version=6.1;
    }
  }
  if(document.all)
  {
    if(document.getElementById)
    {
      version=5;
    }
    else
    {
      version=4;
    }
    browser="IE";
  }
  if(navigator.userAgent.indexOf("Opera")!=-1)
  {
    browser="Opera";
    if(navigator.userAgent.indexOf("7.")!=-1)
    {
      version=7;
    }
    else
    {
      version=6;
    }
  }
  return browser;
};

function x06530905()
{
  var os=navigator.userAgent;
  if(os.indexOf("Mac")!=-1)
  {
    os="Mac";
  }
  else
  {
    os="Win";
  }
  return os;
};

function x058446875322(evt){
  if(browser=="IE"){
    return(event.x+Math.max(document.body.scrollLeft,document.body.parentNode.scrollLeft));
  }
  if(browser=="NS6"){
    return(evt.pageX);
  }
  if(browser=="Opera"){
    return(event.clientX);
  }
};

function x132482605068(evt){
  if(browser=="IE"){
    return(event.y+Math.max(document.body.scrollTop,document.body.parentNode.scrollTop));
  }
  if(browser=="NS6"){
    return(evt.pageY);
  }
  if(browser=="Opera"){
    return(event.clientY);
  }
};

function x115529526704(layerName){
  if(browser=="IE"){
    return(document.all[layerName]!=null);
  }
  if(browser=="NS6"||browser=="Opera"){
    return(document.getElementById(layerName)!=null);
  }
};

function x109665346340(element){
  if(browser=="IE"){
    if(document.all[element]!=null){
      if(document.all[element].style.visibility=="visible"){
        return true;
      }
      else{
        return false;
      }
    }
  }
  if(browser=="NS6"||browser=="Opera"){
    if(document.getElementById(element)!=null){
      if(document.getElementById(element).style.visibility=="visible"){
        return true;
      }
      else{
        return false;
      }
    }
  }
};

function x282602267086(element,show){
  if(browser=="IE"&&os=="Win"){
    if(document.all[element]!=null){
      if(show){if(document.all[element].filters.blendTrans){
        document.all[element].filters.blendTrans.apply();
        document.all[element].style.visibility="visible";
        document.all[element].filters.blendTrans.play();
      }
      else{
        document.all[element].style.visibility="visible";
      }
    }
    else{
      if(document.all[element].filters.blendTrans){
        document.all[element].filters.blendTrans.apply();
        document.all[element].style.visibility="hidden";
        document.all[element].filters.blendTrans.play();
      }
      else{
        document.all[element].style.visibility="hidden";
      }
    }
  }
  }
  if(browser=="IE"&&os=="Mac"){
    if(document.all[element]!=null){
      if(show){
        document.all[element].style.visibility="visible";
      }
      else{
        document.all[element].style.visibility="hidden";
      }
    }
  }
  if(browser=="NS6"||browser=="Opera"){
    if(document.getElementById(element)!=null){
      if(show){
        document.getElementById(element).style.visibility="visible";
      }
      else{
        document.getElementById(element).style.visibility="hidden";
      }
    }
  }
};

function OverCelulaMenu(element,bgColor){
  if(browser=="IE"){
    document.all[element].style.backgroundColor=bgColor;
  }
  if(browser=="NS6"){
    document.getElementById(element).style.backgroundColor=bgColor;
  }
  if(browser=="Opera"&&version==7){
    document.getElementById(element).style.background=bgColor;
  }
};

function OverFonteCelulaMenu(element,fgColor){
  if(x115529526704(element)){
    if(browser=="IE"){
      document.all[element].style.color=fgColor;
    }
    if(browser=="NS6"){
      document.getElementById(element).style.color=fgColor;
    }
    if(browser=="Opera"&&version==7){
      document.getElementById(element).style.color=fgColor;
    }
  }
};

function x332921729(element,left){
  if(browser=="IE"){
    document.all[element].style.left=left+'px';
  }
  if(browser=="NS6"||browser=="Opera"){
    document.getElementById(element).style.left=left+'px';
  }
};

function x316967549(element){
  if(browser=="IE"){
    return(document.all[element].offsetLeft);
  }
  if(browser=="NS6"){
    var tmp=document.getElementById(element).style.left;
    return parseInt(tmp.substring(0,tmp.length-2));
  }
  if(browser=="Opera"){
    if(version==7){
      return(document.getElementById(element).offsetLeft);
    }
    else{
      return(document.getElementById(element).style.pixelLeft);
    }
  }
};

function x399004460376(element){
  if(browser=="IE"){
    return(document.all[element].offsetLeft);
  }
  if(browser=="NS6"){
    return(document.getElementById(element).offsetLeft);
  }
  if(browser=="Opera"){
    if(version==7){
      return(document.getElementById(element).offsetLeft);
    }
    else{
      return(document.getElementById(element).style.pixelLeft);
    }
  }
};

function x48314028(element,top){
  if(browser=="IE"){
    document.all[element].style.top=top+'px';
  }
  if(browser=="NS6"||browser=="Opera"){
    document.getElementById(element).style.top=top+'px';
  }
};

function x46618711165(element){
  if(browser=="IE"){
    return(document.all[element].offsetTop);
  }
  if(browser=="NS6"){
    return(document.getElementById(element).offsetTop);
  }
  if(browser=="Opera"){
    if(version==7){
      return(document.getElementById(element).offsetTop);
    }
    else{
      return(document.getElementById(element).style.pixelTop);
    }
  }
};

function x44922393(element){
  if(browser=="IE"){
    return(document.all[element].offsetTop);
  }
  if(browser=="NS6"){
    var tmp=document.getElementById(element).style.top;
    return parseInt(tmp.substring(0,tmp.length-2));
  }
  if(browser=="Opera"){
    if(version==7){
      return(document.getElementById(element).offsetTop);
    }
    else{
      return(document.getElementById(element).style.pixelTop);
    }
  }
};

//nao estah sendo chamado ????
function x53336085293(element,height){
  if(browser=="IE"){
    document.all[element].style.height=height+'px';
  }
  if(browser=="NS6"||browser=="Opera"){
    document.getElementById(element).style.height=height+'px';
  }
};

function x51630667257(element){
  if(browser=="IE"){
    return(document.all[element].offsetHeight);
  }
  if(browser=="NS6"){
    return(document.getElementById(element).offsetHeight);
  }
  if(browser=="Opera"){
    if(version==7){
      return(document.getElementById(element).offsetHeight);
    }
    else{
      return(document.getElementById(element).style.pixelHeight);
    }
  }
};

function x5904434932(element,width){
  if(browser=="IE"){
    document.all[element].style.width=width+'px';
  }
  if(browser=="NS6"||browser=="Opera"){
    document.getElementById(element).style.width=width+'px';
  }
};

function x5735893138(element){
  if(browser=="IE"){
    return(document.all[element].offsetWidth);
  }
  if(browser=="NS6"){
    return(document.getElementById(element).offsetWidth);
  }
  if(browser=="Opera"){
    if(version==7){
      return(document.getElementById(element).offsetWidth);
    }
    else{
      return(document.getElementById(element).style.pixelWidth);
    }
  }
};

function x6237(){
  var d=0;
  for(var i=0;i<this.length;i++){
    d+=this[i];
  }
  return d;
};

Array.prototype.sum=x6237;

browser=x0822631340408();
os=x06530905();
ace_state=new x7908825();
ACEMenuOpen=ACEMenuMouseClick;

function x7908825(){
  this.menuActive=false;
  this.submenuArray=new Array(50);
  this.mainmenuArray=new Array(5);
  this.activemenuArray=new Array(10);
  this.timeoutidArray=new Array(50);
  this.mmcp=0;
  this.smcp=0;
  this.mmac=0;
  this.smac=0;
  this.amac=0;
  this.tiac=0;
  this.onclick=false;
  this.imgOutArray=new Array(50);
  this.imgOverArray=new Array(50);
  this.imac=0;
  this.hideidArray=null;
  this.mtopoffset=3;
  this.mleftoffset=0;
  this.ACECreateMenu=false;
  this.ACELoadMenu=false;
  this.menuoffset=1;
  this.menuReady=false;
  this.menuStatus=1;
  this.ver='2.7.6';
  this.id='52084';
  this.nbgcolor='#000000';
  this.hbgcolor='#000000';
  this.nftcolor='#FFFFFF';
  this.hftcolor='#FFFFFF';
  this.position='bottom';
  this.closedelay=500;
  this.fontFamily='Tahoma';
  this.fontStyle='none';
  this.fontSize='10pt';
  this.fontWeight='bold';
  this.hspacing=0;
  this.columns=1;
  this.bgimage=null;
  this.arrowimage=null;
  this.StaticMenu=
  function(){
    for(var i=0;i<ace_state.mmac;i++){
      var menu=ace_state.mainmenuArray[i];
      if(menu.isStatic){
        switch(menu.staticPos){
          case 1:
            x48314028(menu.name,x38210870695440()+menu.staticY);
            x332921729(menu.name,x2250250556738542()+menu.staticX);
            break;
          case 2:
            x48314028(menu.name,x37524452669012112()+menu.staticY);
            x332921729(menu.name,x208062875319686()+menu.staticX);
            break;
          case 3:
            x48314028(menu.name,x37524452669012112()+menu.staticY);
            x332921729(menu.name,x2250250556738542()+menu.staticX);
            break;
          case 0:
            default:
              x48314028(menu.name,x38210870695440()+menu.staticY);
              x332921729(menu.name,x208062875319686()+menu.staticX);
              break;
        }
      }
    }
  };
};

function x773928347(element){};

function ACEMenu(menuName){
  this.itemArray=new Array(30);
  this.iac=0;
  this.count=1;
  if(menuName=='0'){
    ace_state.mainmenuArray[ace_state.mmac++]=this;
    this.name='ace'+ace_state.mmac;
    this.isMain=true;
    this.staticX=0;
    this.staticY=0;
  }
  else{
    ace_state.submenuArray[ace_state.smac++]=this;
    this.name='ace'+ace_state.mmac+'i'+menuName;
    this.isMain=false;
    this.staticX=-500;
    this.staticY=-500;
  }
  // Configurações do menu
  this.fopacity='85';
  this.menuborder='1';
  this.itemborder='1';
  this.width='170';
  this.bordercolor="#26262E";
  this.position=ace_state.position;


  this.isStatic=true;
  this.staticPos='1';
  this.item='';
  this.htmlBefore='&nbsp;';
  this.htmlAfter='';
  this.over_img=new Array(30);
  this.out_img=new Array(30);
  this.cellpadding=0;
  this.layerpadding=3;
  this.target='_self';
  this.valign='middle';
  this.divider='&nbsp;';
  this.offset=0;
  this.height=22;
  this.nowrap='nowrap';
  this.fontFamily=ace_state.fontFamily;
  this.fontStyle=ace_state.fontStyle;
  this.fontSize=ace_state.fontSize;
  this.fontWeight=ace_state.fontWeight;
  this.nbgcolor=ace_state.nbgcolor;
  this.hbgcolor=ace_state.hbgcolor;
  this.nftcolor=ace_state.nftcolor;
  this.hftcolor=ace_state.hftcolor;
  this.hspacing=ace_state.hspacing;
  this.bgimage=ace_state.bgimage;
  this.arrowimage=ace_state.arrowimage;
  this.bSubmenu=false;
  this.filters='';
  this.ffade='';
  this.fshadow='';
  this.style='';
  this.x773928347   = x773928347;
  this.writeMenu    = x824147908801695;
  this.AddMenuItem  = AdicionaItemMenu;
  this.AddItem      = AddItem;
  this.AddRollover  = AddRollover;
  this.columns      = ace_state.columns;
  this.tdc=1;
};

function x824147908801695(){
  if(browser=="IE"){
    this.filters+='filter:';
    if(this.ffade!=''){
      this.filters+='blendTrans(Duration='+
      this.ffade+') ';
    }
    if(this.fopacity!=''){
      this.filters+='progid:DXImageTransform.Microsoft.Alpha(opacity='+this.fopacity+') ';
    }
    if(this.fshadow!=''){
      this.filters+='progid:DXImageTransform.Microsoft.Shadow(color='+this.fshadow+',direction=135) ';
    }
  }
  if(!this.isMain || this.isStatic)
    if (this.nbgcolor == 'transparent')
      document.writeln('<div align="left" id="'+this.name+'" style="cursor:hand;position:absolute;z-index:30;border-left:'+this.menuborder+'px solid '+this.bordercolor+';visibility:hidden;left:'+this.staticX+'px;top:'+this.staticY+'px;'+this.filters+'" onmouseout="ace_state.menuActive=false;" onmouseover="ace_state.menuActive=true;">');
    else
      document.writeln('<div align="left" id="'+this.name+'" style="cursor:hand;position:absolute;background-color:'+this.nbgcolor+';z-index:30;border-left:'+this.menuborder+'px solid '+this.bordercolor+';visibility:hidden;left:'+this.staticX+'px;top:'+this.staticY+'px;'+this.filters+'" onmouseout="ace_state.menuActive=false;" onmouseover="ace_state.menuActive=true;">');
  else
    if (this.nbgcolor == 'transparent')
      document.writeln('<div align="left" id="'+this.name+'" style="cursor:hand;position:absolute;z-index:30;border-left=:'+this.menuborder+'px solid '+this.bordercolor+';visibility:hidden;left:'+this.staticX+'px;top:'+this.staticY+'px;'+this.filters+'" onmouseout="ace_state.menuActive=false;" onmouseover="ace_state.menuActive=true;">');
    else
      document.writeln('<div align="left" id="'+this.name+'" style="cursor:hand;position:absolute;background-color:'+this.nbgcolor+';z-index:30;border-left:'+this.menuborder+'px solid '+this.bordercolor+';visibility:hidden;left:'+this.staticX+'px;top:'+this.staticY+'px;'+this.filters+'" onmouseout="ace_state.menuActive=false;" onmouseover="ace_state.menuActive=true;">');

  document.writeln('<table id="'+this.name+'table" ');
  if(this.nbgcolor!='transparent')
  {
    document.writeln('bgcolor="'+this.nbgcolor+'" ');
  }
  if(this.bgimage!=null&&this.bgimage!='null'){
    document.writeln('background="'+this.bgimage+'" ');
  }
  if(this.width!=''&&this.isMain){
    document.writeln('width="'+this.width+'"');
  }
  document.writeln('border="0" cellpadding="'+this.cellpadding+'" cellspacing="0" onmouseout="ace_state.menuActive=false;" onmouseover="ace_state.menuActive=true;" style="border-right:'+this.menuborder+'px solid '+this.bordercolor+';border-top:'+this.menuborder+'px solid '+this.bordercolor+';border-bottom:'+this.menuborder+'px solid '+this.bordercolor+'">');
  document.writeln(this.item);
  document.writeln('</table>');
  if(!this.isMain || this.isStatic){
    document.writeln('</div>');
  }
};

//Adiciona o item de Menu
function AdicionaItemMenu(cor,desc,URL,target,out_img,over_img){
  var mname=this.name+'itm'+this.count;
  this.style='font-family:'+this.fontFamily+';font-style:'+this.fontStyle+';font-size:'+this.fontSize+';font-weight:'+this.fontWeight+';text-decoration:'+this.textDecoration;
  if(this.tdc==1){
    if(!this.height=='')
        this.item+='<tr height='+ this.height +'>'
    else
        this.item+='<tr>'
  }
  else{
    if(this.hspacing!=0)
    {
      if (cor == '')
        this.item+='<td width="'+this.hspacing+'"><font color="'+this.nftcolor+'" style="'+this.style+'">'+this.divider+'</font></td>';
      else
        this.item+='<td bgcolor='+ cor +' width="'+this.hspacing+'"><font color="'+this.nftcolor+'" style="'+this.style+'">'+this.divider+'</font></td>';
    }
  }
  if(this.bgimage!=null&&this.bgimage!='null'){
    this.nbgcolor='transparent';
  }
  if(target==null||target==''){
    target=this.target;
  }
  desc=this.htmlBefore+desc+this.htmlAfter;
  var arglist0='\''+this.name+'\',\''+this.count+'\', \''+this.hbgcolor+'\',\''+this.hftcolor+'\',\''+ace_state.imac+'\'';
  if (cor == '')
    var arglist1='\''+this.name+'\',\''+this.count+'\', \'transparent\',\''+this.nftcolor+'\',\''+ace_state.imac+'\'';
  else
    var arglist1='\''+this.name+'\',\''+this.count+'\', \''+cor+'\',\''+this.nftcolor+'\',\''+ace_state.imac+'\'';
  if(URL!=null&&URL!='null'){
    var tStr;
    tStr=URL.toLowerCase();
    if(tStr.indexOf("javascript:")==0){
      tStr=URL.substring(11,URL.length);
    }
    else{
      if(tStr.indexOf("'")==-1&&tStr.indexOf('"')==-1){
        tStr='window.open(\''+URL+'\',\''+target+'\')';
      }
      else{
        tStr='';
      }
    }
    if (cor == '')
      this.item+='<td width=' + this.width + ' onclick="ACEMenuMouseClick('+arglist0+');'+tStr+'" onmouseover="ACEMenuMouseHover('+arglist0+')"';
    else
      this.item+='<td bgcolor='+ cor +' width=' + this.width + ' onclick="ACEMenuMouseClick('+arglist0+');'+tStr+'" onmouseover="ACEMenuMouseHover('+arglist0+')"';
    this.item+=' onmouseout="ACEMenuClose('+arglist1+');" '+this.nowrap+' valign="'+this.valign+'" style="border-top: '+this.itemborder+'px solid '+this.bordercolor+';">';
    this.item+='<div id="'+mname+'clip" style="position:absolute;width:1;height:1"></div>';
    this.item+='<div id="'+mname+'" style="padding:'+this.layerpadding+'px">';
    if(this.arrowimage!=null&&this.bSubmenu)
      this.item+='<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td width="99%" nowrap>';
    this.item+='<a href="'+URL+'" style="text-decoration:none"';
    if(browser!="Opera"){
      this.item+=' onclick="return false;"';
    }
    if(URL==''){
      this.item+=' onmouseover="self.status=\'\';return true;"';
    }
    if(target!=''){
      this.item+=' target="'+target+'"';
    }
    if(arguments.length==5){
      this.item+='><img id="'+this.name+'mi_img'+this.count+'" src="'+out_img+'" border="0"></a>';
      ace_state.imgOverArray[ace_state.imac]=new Image();
      ace_state.imgOverArray[ace_state.imac].src=over_img;
      ace_state.imgOutArray[ace_state.imac]=new Image();
      ace_state.imgOutArray[ace_state.imac++].src=out_img;
    }
    else{
      this.item+='><font id="'+this.name+'a'+this.count+'" style="'+this.style+';color:'+this.nftcolor+';">'+desc+'</font></a>';
    }
    if(this.arrowimage!=null&&this.bSubmenu)
      this.item+='</td><td nowrap><font style="'+this.style+';color:'+this.nftcolor+';"><img border="0" src="'+this.arrowimage+'">&nbsp;</font></td></tr></table>';
  }
  else{
    this.item+='<td '+this.nowrap+' valign="'+this.valign+'" onmouseout="ACEMenuClose('+arglist1+');" style="'+this.style+';border:'+this.itemborder+'px solid '+this.bordercolor+'">';
    this.item+='<div id="'+mname+'" style="padding:'+this.layerpadding+'px; color:'+this.nftcolor+'">';
    this.item+=desc;
  }
  this.item+='</div></td>';
  this.itemArray[this.iac++]=mname;
  if(this.tdc==this.columns){
    this.item+='</tr>';
    this.tdc=1;
  }
  else{
    this.tdc++;
  }
  this.count++;

};

function x9913206491831(){
  ace_state.menuStatus=0;
};

function ACEMenuMouseClick(name,count,bgcolor,ftcolor,img){
  if(!ace_state.ACELoadMenu){
    return;
  }
  var left;
  var top;
  var offset=0;
  var nm1=name+'i'+count;
  var nm2=name+'itm'+count;
  var isMain=false;
  if(nm1.indexOf('i')==nm1.lastIndexOf('i')){
    isMain=true;
  }
  var tmp_amac=ace_state.amac;
  for(var i=0;i<tmp_amac;i++){
    if(ace_state.activemenuArray[i]!=name){
      if(nm1.indexOf(ace_state.activemenuArray[i])==-1){
        x282602267086(ace_state.activemenuArray[i],false);
        ace_state.amac--;
      }
    }
  }
  if(x115529526704(nm1)){
    ace_state.activemenuArray[ace_state.amac++]=nm1;
    if(arguments.length==5){
      var orientation='bottom';
      for(var i=0;i<ace_state.smac;i++){
        if(ace_state.submenuArray[i].name==nm1){
          orientation=ace_state.submenuArray[i].position;
          offset=ace_state.submenuArray[i].offset;
          break;
        }
      }
      for(var i=0;i<ace_state.mmac;i++){
        var menu=ace_state.mainmenuArray[i];
        if(menu.name==name){
          isMain=!menu.isStatic;
        }
      }
      if(isMain){
        if(orientation=='top'||orientation=='bottom'){
          left=x399004460376(nm2+'clip')+ace_state.mleftoffset;
        }
        if(orientation=='left'){
          left=x399004460376(nm2+'clip')+ace_state.mleftoffset-x5735893138(nm1)+ace_state.menuoffset;
        }
        if(orientation=='right'){
          left=x399004460376(nm2+'clip')+ace_state.mleftoffset+x5735893138(nm2)-ace_state.menuoffset;
        }
        top=x46618711165(nm2+'clip')+ace_state.mtopoffset;
        if(orientation=='top'){
          top-=x51630667257(nm1)-ace_state.menuoffset;
          if(browser=="Opera"){
            top+=2;
          }
        }
        if(orientation=='bottom'){
          top+=x51630667257(nm2)-ace_state.menuoffset;
          if(browser=="Opera"){
            top+=2;
          }
        }
      }
      else{
        if(orientation=='top'||orientation=='bottom'){
          left=x316967549(name)+x399004460376(nm2+'clip')+ace_state.mleftoffset;
        }
        if(orientation=='left'){
          left=x316967549(name)+x399004460376(nm2+'clip')-x5735893138(nm1)+ace_state.menuoffset+ace_state.mleftoffset;
        }
        if(orientation=='right'){
          left=x316967549(name)+x399004460376(nm2+'clip')+x5735893138(nm2)-ace_state.menuoffset+ace_state.mleftoffset;
        }
        top=x46618711165(name)+x46618711165(nm2+'clip')+ace_state.mtopoffset;
        if(browser=="NS6"&&version!=6.1){
          top=x46618711165(nm2+'clip');
        }
        if(orientation=='bottom'){
          top+=x51630667257(nm2)-ace_state.menuoffset;
        }
        if(orientation=='top'){
          top-=x51630667257(nm1)-ace_state.menuoffset;
        }
      }
      left+=offset;
    }
    if(arguments.length==3){
      left=x058446875322(arguments[2]);
      top=x132482605068(arguments[2]);
    }
    if(arguments.length==4){
      left=arguments[2];
      top=arguments[3];
    }
    x48314028(nm1,top);
    x332921729(nm1,left);
  }
  ace_state.menuActive=true;
  if(x115529526704(nm1)){
    if(left<x208062875319686()){
      x332921729(nm1,x208062875319686());
    }
    if(left+x5735893138(nm1)>x2250250556738542()){
      x332921729(nm1,x2250250556738542()-x5735893138(nm1));
    }
    if(top<x38210870695440()){
      x48314028(nm1,x38210870695440());
    }
    if(top+x51630667257(nm1)>x37524452669012112()){
      x48314028(nm1,x37524452669012112()-x51630667257(nm1));
    }
    x282602267086(nm1,true);
  }
};

function ACEMenuMouseHover(name,count,bgcolor,ftcolor,img){
  for(var i=0;i<ace_state.tiac;i++){
    clearTimeout(ace_state.timeoutidArray[i]);
  }
  ace_state.tiac=0;
  if(arguments.length==5){
    OverCelulaMenu(name+'itm'+count,bgcolor);
    OverFonteCelulaMenu(name+'a'+count,ftcolor);
    if(document.images[name+'mi_img'+count]){
      document.images[name+'mi_img'+count].src=ace_state.imgOverArray[img].src;
    }
  }
  if(!ace_state.onclick){
    ACEMenuMouseClick(name,count,bgcolor,ftcolor,img);
    if(ace_state.hideidArray!=null){
      for(var i=0;i<ace_state.hideidArray.length;i++){
        x282602267086(ace_state.hideidArray[i],false);
      }
    }
  }
};
  
function ACEMenuClose(name,count,bgcolor,ftcolor,img){
  if(arguments.length==5){
    if(bgcolor!=null&&ftcolor!=null){
      OverCelulaMenu(name+'itm'+count,bgcolor);
      OverFonteCelulaMenu(name+'a'+count,ftcolor);
    }
    if(document.images[name+'mi_img'+count]){
      document.images[name+'mi_img'+count].src=ace_state.imgOutArray[img].src;
    }
  }
  ace_state.menuActive=false;
  ace_state.timeoutidArray[ace_state.tiac++]=setTimeout("ACECloseMenus()",ace_state.closedelay);
};


function AddRollover(){
  if(arguments.length>=4){
    this.bSubmenu=arguments[3];
  }
  this.AddMenuItem(arguments[4],null,arguments[0],arguments[3],arguments[1],arguments[2]);
};

function AddItem(){
  if(arguments.length>=4){
    this.bSubmenu=arguments[3];
  }
  this.AddMenuItem(arguments[4],arguments[0],arguments[1],arguments[2]);
};

function ACECloseMenus(){
  if(!ace_state.menuActive){
    for(var i=0;i<ace_state.amac;i++){
      x282602267086(ace_state.activemenuArray[i],false);
    }
    ace_state.amac=0;
    if(ace_state.hideidArray!=null){
      for(var i=0;i<ace_state.hideidArray.length;i++)
        x282602267086(ace_state.hideidArray[i],true);
    }
  }
};

function ACEDisplayMenu(){
  for(var i=ace_state.mmcp;i<ace_state.mmac;i++){
    ace_state.mainmenuArray[i].writeMenu();
    x282602267086(ace_state.mainmenuArray[i].name,true);
  }
  ace_state.mmcp=ace_state.mmac;
};

function ACECreateMenu(){
  for(var i=ace_state.smcp;i<ace_state.smac;i++){
    ace_state.submenuArray[i].writeMenu();
  }
  ace_state.smcp=ace_state.smac;
  ace_state.ACECreateMenu=true; // c false nao mostra submenus
};

function ACELoadMenu(){
  if(!ace_state.ACECreateMenu){
    return;
  }
  if(os=="Mac"&&browser=="IE"){
    ace_state.mtopoffset=parseInt(document.body.topMargin);
    ace_state.mleftoffset=parseInt(document.body.leftMargin);
  }
  ace_state.ACELoadMenu=true;
  for(var i=0;i<ace_state.mmac;i++){
    var menu=ace_state.mainmenuArray[i];
    if(!menu.isStatic){
      setInterval('ace_state.StaticMenu()',50);
      break;
    }
  }
};

function x2250250556738542(){
  if(browser=="NS6"||browser=="Opera"){
    return(window.innerWidth+window.pageXOffset);
  }
  if(browser=="IE"){
    if(document.body.parentNode.clientWidth==0){
      return(document.body.clientWidth+document.body.scrollLeft);
    }
    else{
      return(document.body.parentNode.clientWidth+document.body.parentNode.scrollLeft);
    }
  }
};

function x208062875319686(){
  if(browser=="NS6"||browser=="Opera"){
    return(window.pageXOffset);
  }
  if(browser=="IE"){
    return Math.max(document.body.parentNode.scrollLeft,document.body.scrollLeft);
  }
};

function x38210870695440(){
  if(browser=="NS6"||browser=="Opera"){
    return(window.pageYOffset);
  }
  if(browser=="IE"){
    return Math.max(document.body.parentNode.scrollTop,document.body.scrollTop);
  }
};

function x37524452669012112(){
  if(browser=="NS6"||browser=="Opera"){
    return(window.innerHeight+window.pageYOffset);
  }
  if(browser=="IE"){
    if(document.body.parentNode.clientHeight==0){
      return(document.body.clientHeight+document.body.scrollTop);
    }
    else{
      return(document.body.parentNode.clientHeight+document.body.parentNode.scrollTop);
    }
  }
};


