var SeccionActual = "Inicio";
var ClienteActualInicio = 0;
var ClienteActualFin = 0;
var ClientesPosiciones = new Array(100);
var ClientesParticiones = 0;

function ReposicionarClientes( Direccion ){ // 1 --> Aumentamos   0 --> Disminuimos    2 --> Dejamos los mismos
  var CAI = ClienteActualFin;
  var CAF = ClienteActualFin;
  var NumClientes = ClienteNombre.length;
  var SeparacionVertical = 20;
  var SeparacionHorizontal = 36;
  var Left = 0;
  var AntY = 0;
  var AntH = 0;

  if (Direccion==0 || Direccion==2){
    if (ClientesParticiones>0 && Direccion==0) ClientesParticiones--;
    CAI = ClientesPosiciones[ ClientesParticiones ];
    CAF = CAI;
  }
  for ( var j=0; j<NumClientes; j++ ){
    document.getElementById("c" + j ).style.display = "block";
    document.getElementById("c" + j ).style.left = 0;
    document.getElementById("c" + j ).style.top = 0;  
  }
  for (var j=0; j<4; j++){
    AntY = -1;
    AntH = 0;
    while( CAF < NumClientes &&  AntY + AntH + SeparacionVertical + parseInt(document.getElementById("img" + CAF ).height) <= (332-SeparacionVertical)){
      if (AntY == -1 )
        document.getElementById("c" + CAF ).style.top = 0;
      else
        document.getElementById("c" + CAF ).style.top = AntY + AntH + SeparacionVertical;
        
      document.getElementById("c" + CAF ).style.left = Left;
      document.getElementById("c" + CAF ).style.display = "block";
      AntY = parseInt(document.getElementById("c" + CAF ).style.top);
      AntH = parseInt(document.getElementById("img" + CAF ).height);
      CAF++;
    }
    Left = Left + 150 + SeparacionHorizontal;
  }
  
  for (var j=0; j < CAI; j++) document.getElementById("c" + j ).style.display = "none";
  for (var j=CAF; j < NumClientes; j++) document.getElementById("c" + j ).style.display = "none";

  if (CAI > 0) document.getElementById("BRetroceder").style.visibility = "visible";
  else document.getElementById("BRetroceder").style.visibility = "hidden";
  if (CAF < NumClientes ) document.getElementById("BAvanzar").style.visibility = "visible";
  else document.getElementById("BAvanzar").style.visibility = "hidden";

  if (Direccion != 2){
    if (Direccion!=0){
      ClientesParticiones++;
      ClientesPosiciones[ ClientesParticiones ] = CAI;
    }
    ClienteActualFin = CAF;
    ClienteActualInicio = CAI;
  }
}

function PintarClientes(){
  var Contenido = "";
  var NumClientes = ClienteNombre.length;

  Contenido = "<div id=\"Clientes2\" style=\"top:87px; position:absolute; width:744px; height:332px;\">";
  for (var i=0; i < NumClientes; i++){
    Contenido = Contenido + "<div id=\"c" + i + "\" style=\"position:absolute; top:0px; left:0px; display:block;\">";
    Contenido = Contenido + "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
      Contenido = Contenido + "<tr>";
        Contenido = Contenido + "<td align=\"left\" valign=\"top\" style=\"height:100%;\"><img id=\"img"+i+"\" src=\"Imagenes\/Trans.gif\" style=\"width:1px; height:100%;\" alt=\"\" border=\"0\"><\/td>";
        Contenido = Contenido + "<td align=\"left\" valign=\"top\">";
          Contenido = Contenido + "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:150px;\">";
            Contenido = Contenido + "<tr><td align=\"left\" valign=\"top\"><div class=\"Cliente\">" + ClienteNombre[ i ] + "<\/div><\/td><\/tr>";
            if (Idioma=="CAST")
            Contenido = Contenido + "<tr><td align=\"left\" valign=\"top\"><div class=\"ClienteDescripcion\">" + ClienteDescripcion[ i ] + "<\/div><\/td><\/tr>";
            else if(Idioma=="CAT")
            Contenido = Contenido + "<tr><td align=\"left\" valign=\"top\"><div class=\"ClienteDescripcion\">" + ClienteDescripcionCAT[ i ] + "<\/div><\/td><\/tr>";
            else if(Idioma=="ENG")
            Contenido = Contenido + "<tr><td align=\"left\" valign=\"top\"><div class=\"ClienteDescripcion\">" + ClienteDescripcionENG[ i ] + "<\/div><\/td><\/tr>";
          Contenido = Contenido + "<\/table>";
        Contenido = Contenido + "<\/td>";
      Contenido = Contenido + "<\/tr>";
    Contenido = Contenido + "<\/table>";
    Contenido = Contenido + "<\/div>";
  }
  Contenido = Contenido + "<\/div>";
  Contenido = Contenido + "<div id=\"BRetroceder\" style=\"visibility:hidden;\"><img onclick=\"ReposicionarClientes(0);\" class=\"ImgSubMenu\" src=\"Imagenes\/BLeftSi.jpg\" width=\"13\" height=\"11\" alt=\"\" border=\"0\" \/><\/div><div id=\"BAvanzar\" style=\"visibility:hidden;\"><img onclick=\"ReposicionarClientes(1);\" class=\"ImgSubMenu\" src=\"Imagenes\/BRightSi.jpg\" width=\"13\" height=\"11\" alt=\"\" border=\"0\" \/><\/div>";
  
  return Contenido;
}

function SubMenuLinks_Avanzar( PrimerLink ){
  var Contenido = "";
  var NumLinks = LinksNombre.length;
  var Inicio = PrimerLink;
  var i = PrimerLink;
  var NumPorColumna = 13;
  var TotalVista = NumPorColumna*4;
  var Col1 = new Array( NumPorColumna );
  var Col1_URL = new Array( NumPorColumna );
  var Col2 = new Array( NumPorColumna );
  var Col2_URL = new Array( NumPorColumna );
  var Col3 = new Array( NumPorColumna );
  var Col3_URL = new Array( NumPorColumna );
  var Col4 = new Array( NumPorColumna );
  var Col4_URL = new Array( NumPorColumna );

  Contenido = "<div id=\"Links2\" style=\"top:87px; position:absolute; width:744px; height:332px;\">";
  i = PrimerLink;
  while ( Inicio < NumLinks && Inicio < NumPorColumna + PrimerLink ){
    Col1[ i - PrimerLink ] = LinksNombre[ Inicio ];
    Col1_URL[ i - PrimerLink ] = LinksURL[ Inicio ];
    i++;
    Inicio++;
  }
  i = PrimerLink;
  while ( Inicio < NumLinks && Inicio < NumPorColumna*2 + PrimerLink ){
    Col2[ i - PrimerLink ] = LinksNombre[ Inicio ];
    Col2_URL[ i - PrimerLink ] = LinksURL[ Inicio ];
    i++;
    Inicio++;
  }
  i = PrimerLink;
  while ( Inicio < NumLinks && Inicio < NumPorColumna*3 + PrimerLink ){
    Col3[ i - PrimerLink ] = LinksNombre[ Inicio ];
    Col3_URL[ i - PrimerLink ] = LinksURL[ Inicio ];
    i++;
    Inicio++;
  }
  i = PrimerLink;
  while ( Inicio < NumLinks && Inicio < NumPorColumna*4 + PrimerLink ){
    Col4[ i - PrimerLink ] = LinksNombre[ Inicio ];
    Col4_URL[ i - PrimerLink ] = LinksURL[ Inicio ];
    i++;
    Inicio++;
  }
  Contenido = Contenido + "<table border=\"0\" cellpadding=\"0\" cellpadding=\"0\" style=\"width:744px;\">"
  for (var j=0; j < NumPorColumna; j++){
    Contenido = Contenido + "<tr>";
    if ( Col1[ j ] == "" || Col1[ j ] == null )
      Contenido = Contenido + "<td><div>&nbsp;<\/div><\/td>";
    else
      Contenido = Contenido + "<td><a href=\"" + Col1_URL[ j ].replace("/","\/") + "\" target=\"_blank\">" + Col1[ j ] + "<\/a><\/td>";

    if ( Col2[ j ] == "" || Col2[ j ] == null )
      Contenido = Contenido + "<td><div>&nbsp;<\/div><\/td>";
    else
      Contenido = Contenido + "<td><a href=\"" + Col2_URL[ j ].replace("/","\/") + "\" target=\"_blank\">" + Col2[ j ] + "<\/a><\/td>";

    if ( Col3[ j ] == "" || Col3[ j ] == null )
      Contenido = Contenido + "<td><div>&nbsp;<\/div><\/td>";
    else
      Contenido = Contenido + "<td><a href=\"" + Col3_URL[ j ].replace("/","\/") + "\" target=\"_blank\">" + Col3[ j ] + "<\/a><\/td>";

    if ( Col4[ j ] == "" || Col4[ j ] == null )
      Contenido = Contenido + "<td><div>&nbsp;<\/div><\/td>";
    else
      Contenido = Contenido + "<td><a href=\"" + Col4_URL[ j ].replace("/","\/") + "\" target=\"_blank\">" + Col4[ j ] + "<\/a><\/td>";
          
    Contenido = Contenido + "<\/tr>";
    Contenido = Contenido + "<td colspan=\"4\"><img src=\"Imagenes\/pixel.gif\" width=\"1\" height=\"3\" alt=\"\" \/><\/td>";
  }
  Contenido = Contenido + "<\/table><\/div>";

  if ( PrimerLink > 0 )
    Contenido = Contenido + "<div id=\"BRetroceder\"><img onclick=\"PinarLinks(" + (PrimerLink - TotalVista) + ");\" class=\"ImgSubMenu\" src=\"Imagenes\/BLeftSi.jpg\" width=\"13\" height=\"11\" alt=\"\" border=\"0\" \/><\/div>";

  if ( NumLinks > Inicio )
    Contenido = Contenido + "<div id=\"BAvanzar\"><img onclick=\"PinarLinks(" + Inicio + ");\" class=\"ImgSubMenu\" src=\"Imagenes\/BRightSi.jpg\" width=\"13\" height=\"11\" alt=\"\" border=\"0\" \/><\/div>";
  
  return Contenido;
}
function PinarLinks( NumLink ){
  var PLinks = "<img id=\"ImgContenido\" src=\"Imagenes\/Contenido_Links_" + Idioma + ".jpg\" alt=\"Contenido\" border=\"0\" \/>";
  PLinks = PLinks + SubMenuLinks_Avanzar( NumLink );
  
  document.getElementById("Contenido").innerHTML = PLinks;
}

function Menu_OnRollOver( ID ){ document.getElementById( ID ).style.top = -15; }
function Menu_OnRollOver2( ID ){ document.getElementById( ID ).style.top = -18; }
function Menu_OnRollOut( ID ){ document.getElementById( ID ).style.top = 4; }
function Menu_OnClick( Foto ){
  SeccionActual = Foto;
  if ( Foto != "Inicio" ){
    var Contenido = "<img id=\"ImgContenido\" src=\"Imagenes\/Contenido_" + Foto + "_" + Idioma +".jpg\" alt=\"Contenido\" border=\"0\"";
    if ( Foto == "Clientes" ){
      Contenido = Contenido + " \/>" + PintarClientes();
      ClienteActualInicio = 0;
      ClienteActualFin = 0;
      ClientesParticiones = 0;
      ClientesPosiciones[ 0 ] = 0;
    }else if ( Foto == "Links"){
      Contenido = Contenido + " \/>" + SubMenuLinks_Avanzar( 0 );
    }else if ( Foto == "Contacta" ){
      Contenido = Contenido + " usemap=\"#MapaContacta\" \/>";
      Contenido = Contenido + "<map name=\"MapaContacta\"><area alt=\"\" coords=\"0,270,250,298\" href=\"mailto:mucho@mucho.ws\"><\/map>";
    }else{
      Contenido = Contenido + " \/>";
    }
    document.getElementById("Contenido").innerHTML = Contenido;
  }else{
    FotoActual = FotosTotales;
    CargarFotos();
  }
  if ( Foto != "Inicio" ) document.getElementById("Pie").innerHTML = "<img onclick=\"Menu_OnClick('Inicio');\" id=\"ImgPie\" class=\"ImgSubMenu\" src=\"Imagenes\/Pie2.jpg\" width=\"89\" height=\"26\" alt=\"Pie\" border=\"0\" \/>";
  else  document.getElementById("Pie").innerHTML = "<img id=\"ImgPie\" src=\"Imagenes\/Pie1.jpg\" width=\"297\" height=\"26\" alt=\"Pie\" border=\"0\" \/>";
  
  if ( Foto == "Clientes" ) ReposicionarClientes( 1 );
}

function CargarFotos(){
  var HTML = "";
  HTML = "<div id=\"flashcontent\"><\/div>";
  HTML = HTML + "<div id=\"Fotos\"><img id=\"ImgFotos\" src=\"Imagenes\/" + Fotos[ FotoActual ] + "\" alt=\"Fotos\" border=\"0\" \/><\/div>";
  
  if ( FotosTotales > 0 ){
    if ( FotoActual < FotosTotales && FotoActual >= 0 ){
      HTML = HTML + "<div id=\"BMas\" style=\"visibility:visible;\"><img onclick=\"FotoSiguiente();\" class=\"ImgSubMenu\" id=\"ImgBMas\" src=\"Imagenes\/BMas.jpg\" width=\"48\" height=\"49\" alt=\"Botón Más\" border=\"0\" \/><\/div>";
    }else{
      HTML = HTML + "<div id=\"BMas\" style=\"visibility:hidden;\"><img onclick=\"FotoSiguiente();\" class=\"ImgSubMenu\" id=\"ImgBMas\" src=\"Imagenes\/BMas.jpg\" width=\"48\" height=\"49\" alt=\"Botón Más\" border=\"0\" \/><\/div>";
    }
    if ( FotoActual > 0 ){
      HTML = HTML + "<div id=\"BMenos\" style=\"visibility:visible;\"><img onclick=\"FotoAnterior();\" class=\"ImgSubMenu\" id=\"ImgBMenos\" src=\"Imagenes\/BMenos.jpg\" width=\"48\" height=\"49\" alt=\"Botón Menos\" border=\"0\" \/><\/div>";
    }else{
      HTML = HTML + "<div id=\"BMenos\" style=\"visibility:hidden;\"><img onclick=\"FotoAnterior();\" class=\"ImgSubMenu\" id=\"ImgBMenos\" src=\"Imagenes\/BMenos.jpg\" width=\"48\" height=\"49\" alt=\"Botón Menos\" border=\"0\" \/><\/div>";
    }
  }

  document.getElementById("Contenido").innerHTML = HTML;
	var so = new SWFObject("Fotos.swf", "myFlash", "440px", "100px", "7", "#FFFFFF",false, "high", false, "indexNoFlash.html");
	so.addParam("menu", "false");
	so.addParam("wmode", "transparent");
	so.addParam("allowScriptAccess", "sameDomain");
	so.write("flashcontent");
}
function PonerFoto(){
var HTML = "<img id=\"ImgFotos\" src=\"Imagenes\/" + Fotos[ FotoActual ] + "\" alt=\"Fotos\" border=\"0\" \/>"

document.getElementById("Fotos").innerHTML = HTML;
  if ( FotosTotales > 0 ){
    if ( FotoActual < FotosTotales && FotoActual >= 0 ){
      document.getElementById("BMas").style.visibility = "visible";
    }else{
      document.getElementById("BMas").style.visibility = "hidden";
    }
    if ( FotoActual > 0 ){
      document.getElementById("BMenos").style.visibility = "visible";
    }else{
      document.getElementById("BMenos").style.visibility = "hidden";
    }
  }
}
function FotoSiguiente(){
  FotoActual++;
  document.getElementById("myFlash").Siguiente();
  PonerFoto();
}
function FotoAnterior(){
  FotoActual--;
  document.getElementById("myFlash").Anterior();
  PonerFoto();
}

function Menu_Idioma( NuevoIdioma ){
  var NuevoContenidoMenu = "";
  var Separacion = 50;

  if ( NuevoIdioma == "Castellano" ){
    Idioma = "CAST";
  }else if ( NuevoIdioma == "Catalan" ){
    Idioma = "CAT";
  }else if ( NuevoIdioma == "Ingles" ){
    Idioma = "ENG";
  }

  NuevoContenidoMenu = "<div id=\"QuienesSomos\" style=\"position:absolute; top:0px; left:0px;\"><img onclick=\"Menu_OnClick('QuienSomos');\" onmouseover=\"Menu_OnRollOver2('ImgQuienesSomos');\" onmouseout=\"Menu_OnRollOut('ImgQuienesSomos');\" class=\"ImgMenu\" id=\"ImgQuienesSomos\" src=\"Imagenes\/QuienSomos_" + Idioma + ".jpg\" alt=\"Quienes Somos\" border=\"0\" \/><\/div>";
  NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Clientes\" style=\"position:absolute; top:0px; left:134px;\"><img onclick=\"Menu_OnClick('Clientes');\" onmouseover=\"Menu_OnRollOver2('ImgClientes');\" onmouseout=\"Menu_OnRollOut('ImgClientes');\" class=\"ImgMenu\" id=\"ImgClientes\" src=\"Imagenes\/Clientes_" + Idioma + ".jpg\" alt=\"Clientes\" border=\"0\" \/><\/div>";
  NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Links\" style=\"position:absolute; top:0px; left:224px;\"><img onclick=\"Menu_OnClick('Links');\" onmouseover=\"Menu_OnRollOver2('ImgLinks');\" onmouseout=\"Menu_OnRollOut('ImgLinks');\" class=\"ImgMenu\" id=\"ImgLinks\" src=\"Imagenes\/Links.jpg\" alt=\"Links\" border=\"0\" \/><\/div>";
  NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Curriculum\" style=\"position:absolute; top:0px; left:301px;\"><img onclick=\"Menu_OnClick('Curriculum');\" onmouseover=\"Menu_OnRollOver2('ImgCurriculum');\" onmouseout=\"Menu_OnRollOut('ImgCurriculum');\" class=\"ImgMenu\" id=\"ImgCurriculum\" src=\"Imagenes\/Curriculum_" + Idioma + ".jpg\" alt=\"Curriculum\" border=\"0\" \/><\/div>";
  NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Contacta\" style=\"position:absolute; top:0px; left:407px;\"><img onclick=\"Menu_OnClick('Contacta');\" onmouseover=\"Menu_OnRollOver2('ImgContacta');\" onmouseout=\"Menu_OnRollOut('ImgContacta');\" class=\"ImgMenu\" id=\"ImgContacta\" src=\"Imagenes\/Contacta_" + Idioma + ".jpg\" alt=\"Contacta\" border=\"0\" \/><\/div>";

  if ( NuevoIdioma == "Castellano" ){
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Ingles\" style=\"position:absolute; top:0px; left:652px;\"><img onclick=\"Menu_Idioma('Ingles');\" onmouseover=\"Menu_OnRollOver('ImgIngles');\" onmouseout=\"Menu_OnRollOut('ImgIngles');\" class=\"ImgMenu\" id=\"ImgIngles\" src=\"Imagenes\/Ingles.jpg\" alt=\"Ingles\" border=\"0\" \/><\/div>";
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Barra\" style=\"position:absolute; top:0px; left:696px;\"><img class=\"ImgMenu\" style=\"cursor: default;\" id=\"ImgBarra\" src=\"Imagenes\/Barra.jpg\" alt=\"Barra\" border=\"0\" \/><\/div>";
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Catalan\" style=\"position:absolute; top:0px; left:708px;\"><img onclick=\"Menu_Idioma('Catalan');\" onmouseover=\"Menu_OnRollOver('ImgCatalan');\" onmouseout=\"Menu_OnRollOut('ImgCatalan');\" class=\"ImgMenu\" id=\"ImgCatalan\" src=\"Imagenes\/Catalan.jpg\" alt=\"Catalan\" border=\"0\" \/><\/div>";
  }else if ( NuevoIdioma == "Catalan" ){
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Ingles\" style=\"position:absolute; top:0px; left:652px;\"><img onclick=\"Menu_Idioma('Castellano');\" onmouseover=\"Menu_OnRollOver('ImgCastellano');\" onmouseout=\"Menu_OnRollOut('ImgCastellano');\" class=\"ImgMenu\" id=\"ImgCastellano\" src=\"Imagenes\/Castellano.jpg\" alt=\"Castellano\" border=\"0\" \/><\/div>";
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Barra\" style=\"position:absolute; top:0px; left:696px;\"><img class=\"ImgMenu\" style=\"cursor: default;\" id=\"ImgBarra\" src=\"Imagenes\/Barra.jpg\" alt=\"Barra\" border=\"0\" \/><\/div>";
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Catalan\" style=\"position:absolute; top:0px; left:708px;\"><img onclick=\"Menu_Idioma('Ingles');\" onmouseover=\"Menu_OnRollOver('ImgIngles');\" onmouseout=\"Menu_OnRollOut('ImgIngles');\" class=\"ImgMenu\" id=\"ImgIngles\" src=\"Imagenes\/Ingles.jpg\" alt=\"Ingles\" border=\"0\" \/><\/div>";
  }else if ( NuevoIdioma == "Ingles" ){
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Ingles\" style=\"position:absolute; top:0px; left:652px;\"><img onclick=\"Menu_Idioma('Castellano');\" onmouseover=\"Menu_OnRollOver('ImgCastellano');\" onmouseout=\"Menu_OnRollOut('ImgCastellano');\" class=\"ImgMenu\" id=\"ImgCastellano\" src=\"Imagenes\/Castellano.jpg\" alt=\"Castellano\" border=\"0\" \/><\/div>";
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Barra\" style=\"position:absolute; top:0px; left:696px;\"><img class=\"ImgMenu\" style=\"cursor: default;\" id=\"ImgBarra\" src=\"Imagenes\/Barra.jpg\" alt=\"Barra\" border=\"0\" \/><\/div>";
    NuevoContenidoMenu = NuevoContenidoMenu + "<div id=\"Catalan\" style=\"position:absolute; top:0px; left:708px;\"><img onclick=\"Menu_Idioma('Catalan');\" onmouseover=\"Menu_OnRollOver('ImgCatalan');\" onmouseout=\"Menu_OnRollOut('ImgCatalan');\" class=\"ImgMenu\" id=\"ImgCatalan\" src=\"Imagenes\/Catalan.jpg\" alt=\"Catalan\" border=\"0\" \/><\/div>";
  }

  document.getElementById("ContenidoMenu").innerHTML = NuevoContenidoMenu;


    document.getElementById("QuienesSomos").style.left = 0;
  if ( NuevoIdioma == "Castellano" ){
  }else if ( NuevoIdioma == "Catalan" ){
    document.getElementById("Clientes").style.left = 96;
    document.getElementById("Links").style.left = 180;
    document.getElementById("Curriculum").style.left = 257;
    document.getElementById("Contacta").style.left = 363;
    document.getElementById("Ingles").style.left = 630;
    document.getElementById("Barra").style.left = 693;
    document.getElementById("Catalan").style.left = 705;
  }else if ( NuevoIdioma == "Ingles" ){
    document.getElementById("Clientes").style.left = 100;
    document.getElementById("Links").style.left = 184;
    document.getElementById("Curriculum").style.left = 261;
    document.getElementById("Contacta").style.left = 326;
    document.getElementById("Ingles").style.left = 633;
    document.getElementById("Barra").style.left = 696;
    document.getElementById("Catalan").style.left = 708;
  }

  if ( SeccionActual == "Inicio" ){
    if ( NuevoIdioma == "Castellano" ){ document.getElementById("myFlash").CambiarACastellano(); }
    else if ( NuevoIdioma == "Catalan" ){ document.getElementById("myFlash").CambiarACatalan(); }
    else if ( NuevoIdioma == "Ingles" ){ document.getElementById("myFlash").CambiarAIngles(); }
  }else if ( SeccionActual == "Clientes" ){
    var Contenido = "<img id=\"ImgContenido\" src=\"Imagenes\/Contenido_Clientes_" + Idioma +".jpg\" alt=\"Contenido\" border=\"0\" \/>";
    Contenido = Contenido + PintarClientes(); 
    document.getElementById("Contenido").innerHTML = Contenido;
    ReposicionarClientes( 2 );
  }else if ( SeccionActual == "QuienSomos" ){
    document.getElementById("ImgContenido").src = "Imagenes/Contenido_QuienSomos_" + Idioma + ".jpg";
  }else if ( SeccionActual == "Contacta" ){
    document.getElementById("ImgContenido").src = "Imagenes/Contenido_Contacta_" + Idioma + ".jpg";
  }else if ( SeccionActual == "Curriculum"){
    document.getElementById("ImgContenido").src = "Imagenes/Contenido_Curriculum_" + Idioma + ".jpg";
  }
  
}