menuBar.menu.prototype.hideMenu = function(nEv){
//empty
}

menuBar.menu.prototype.action = function(enl){
  var auxTL = eval(this.grandParent).timeLine;
  var posX = eval(this.optSelec).arrowPosX;
  if (this.lastOptSelec!="quienessomos"){ auxTL.setTimeLine(["contenedor.hide();contenedorBody.hide();scrollTable.frame.hide();scrollTable2.frame.hide();flechaNegra.slide("+posX+",flechaNegra.y,20,10,5,null,'"+auxTL.id+"')","foto.clipWatcher(['r','t'],'esqSup',0,4,0);esqSup.slide(274,167,17,10,2,null,'"+auxTL.id+"')","esqSup.slide(314,127,10,10,5,null,'"+auxTL.id+"');foto.rollOver(null,'foto"+this.optSelec+"');foto.show();","foto.stopClipWatcher();contenedorBody.load('"+this.optSelec+"body.html',null,'"+auxTL.id+"');","contenedor.load('"+this.optSelec+".html',null,'"+auxTL.id+"');","contenedor.show();contenedorBody.show();"]);
  }
  auxTL.add(this.id+".state = 'ok'",(auxTL.timeLine.length-1),true);
  auxTL.start();
}

menuBar.menu.prototype.startHiding = function(nEv, timeLine){
  var auxTL = eval(this.grandParent).timeLine;
  var posX = eval(this.optInCurse).arrowPosX;
  if (this.optSelec=="quienessomos") auxTL.setTimeLine(["contenedor.hide();contenedorBody.hide();flechaNegra.slide("+posX+",flechaNegra.y,20,10,5,null,'"+auxTL.id+"');cuadradin.slide("+posX+",cuadradin.y,20,10,5,null,null);","direccion.slide(273,10,15,15,2,null,'"+auxTL.id+"')","troncho.cut(475,46,475,0,20,10,1,null,'"+auxTL.id+"')","cuadradin.slide(cuadradin.x,80,17,10,2,null,'"+auxTL.id+"')","cuadradin.slide(250,cuadradin.y,10,10,0,null,'"+auxTL.id+"')","cuadradin.slide(cuadradin.x,167,10,10,0,null,'"+auxTL.id+"');troncho.move(273,40,null);troncho.clip(475,46);","cuadradin.slide(274,cuadradin.y,5,10,0,null,'"+auxTL.id+"')","esqSup.show();esqInf.show();cuadradin.hide();foto.rollOver(null,'foto"+this.optInCurse+"');foto.clipWatcher(['r','t'],'esqSup',0,4,0);esqSup.slide(314,127,10,10,5,null,'"+auxTL.id+"');foto.show();","foto.stopClipWatcher();contenedorBody.load('"+this.optInCurse+"body.html',null,'"+auxTL.id+"');scrollTable.frame.hide();scrollTable2.frame.hide();","contenedor.load('"+this.optInCurse+".html',null,'"+auxTL.id+"')","contenedor.show();contenedorBody.show();"]);
  if (this.optSelec==null)auxTL.setTimeLine(["contenedorBody.load('"+this.optInCurse+"body.html',null,'"+auxTL.id+"')","contenedor.load('"+this.optInCurse+".html',null,'"+auxTL.id+"')",""]);
  this.lastOptSelec = (this.optSelec==null)?"quienessomos":this.optSelec;
  if (this.optInCurse=="quienessomos" && this.optSelec!=null){ auxTL.setTimeLine(["flechaNegra.slide(520,flechaNegra.y,20,10,5,null,'"+auxTL.id+"')","troncho.clipWatcher([null,'t'],'direccion',0,0,25);direccion.slide(273,55,15,15,2,null,'"+auxTL.id+"')","troncho.stopClipWatcher();troncho.hide();foto.clipWatcher(['r','t'],'esqSup',0,4,0);esqSup.slide(274,167,17,10,2,null,'"+auxTL.id+"')","troncho.move(273,125);troncho.clip(475,46,1,0);troncho.show();foto.hide();foto.stopClipWatcher();cuadradin.show();esqSup.hide();esqInf.hide();cuadradin.slide(250,cuadradin.y,5,10,0,null,'"+auxTL.id+"');contenedor.load('blank.html',null,null)","cuadradin.slide(cuadradin.x,167,10,10,0,null,'"+auxTL.id+"');","cuadradin.slide(cuadradin.x,80,10,10,0,null,'"+auxTL.id+"')","cuadradin.slide(520,cuadradin.y,20,10,0,null,'"+auxTL.id+"')","cuadradin.slide(cuadradin.x,89,10,10,0,null,'"+auxTL.id+"')","contenedorBody.load('quienessomosbody.html',null,'"+auxTL.id+"');scrollTable.frame.hide();scrollTable2.frame.hide();","contenedor.load('blank.html',null,'"+auxTL.id+"');","foto.stopClipWatcher();contenedor.show();contenedorBody.show();"]);
    this.lastOptSelec = "quienessomos";
  }
}

menuBar.menu.prototype.showMenu = function(nEv, timeLine){
//empty
}

menuBar.menu.prototype.setTimeline = function(id,idAction){
  this.timeLine = junciona.timeLine(id,[],false);
}

menuBar.menu.prototype.setBlackArrowPos = function(arrPos){
  this.arrowPosX = arrPos;
}
