function moving1(item) {
 if (item==1)
 {
   if (fleche1.style.pixelTop<-97)
   {
    fleche1.style.pixelTop+=3
    moveid1=setTimeout("moving1(1)",50)
   }
   if (fleche1.style.pixelTop>-95)
   {
     fleche1.style.pixelTop-=3
     moveid1=setTimeout("moving1(1)",50)
   }
 }
if (item==2)
{
  if (fleche1.style.pixelTop<-84)
  {
    fleche1.style.pixelTop+=3
    moveid1=setTimeout("moving1(2)",50)
   }
  if (fleche1.style.pixelTop>-82)
  {
       fleche1.style.pixelTop-=3
       moveid1=setTimeout("moving1(2)",50)
   }
 }
if (item==3)
{
  if (fleche1.style.pixelTop<-74)
  {
    fleche1.style.pixelTop+=3
    moveid1=setTimeout("moving1(3)",50)
   }
   if (fleche1.style.pixelTop>-72)
   {
     fleche1.style.pixelTop-=3
     moveid1=setTimeout("moving1(3)",50)
   }
 }
 if (item==4)
 {
   if (fleche1.style.pixelTop<-62)
   {
     fleche1.style.pixelTop+=3
     moveid1=setTimeout("moving1(4)",50)
    }
    if (fleche1.style.pixelTop>-60)
    {
      fleche1.style.pixelTop-=3
      moveid1=setTimeout("moving1(4)",50)
    }
 }
 if (item==5)
 {
   if (fleche1.style.pixelTop<-49)
   {
     fleche1.style.pixelTop+=3
     moveid1=setTimeout("moving1(5)",50)
    }
    if (fleche1.style.pixelTop>-47)
    {
      fleche1.style.pixelTop-=3
      moveid1=setTimeout("moving1(5)",50)
    }
 }
 if (item==6)
 {
   if (fleche1.style.pixelTop<-38)
   {
     fleche1.style.pixelTop+=3
     moveid1=setTimeout("moving1(6)",50)
    }
    if (fleche1.style.pixelTop>-36)
    {
      fleche1.style.pixelTop-=3
      moveid1=setTimeout("moving1(6)",50)
    }
 }
 if (item==7)
 {
   if (fleche1.style.pixelTop<-25)
   {
     fleche1.style.pixelTop+=3
     moveid1=setTimeout("moving1(7)",50)
    }
    if (fleche1.style.pixelTop>-23)
    {
      fleche1.style.pixelTop-=3
      moveid1=setTimeout("moving1(7)",50)
    }
 }
if (item==8)
{
  if (fleche1.style.pixelTop<-15)
  {
    fleche1.style.pixelTop+=3
    moveid1=setTimeout("moving1(8)",50)
  }
  if (fleche1.style.pixelTop>-13)
   {
       fleche1.style.pixelTop-=3
       moveid1=setTimeout("moving1(8)",50)
   }
 }

}

function come_back1() {
  clearTimeout(moveid1);
  fleche1.style.pixelTop=0;
}
function stopmove1() {
  clearTimeout(moveid1);
}


function moving2(item) {
 if (item==1)
 {
   if (fleche2.style.pixelTop<-97)
   {
    fleche2.style.pixelTop+=3
    moveid2=setTimeout("moving2(1)",50)
   }
   if (fleche2.style.pixelTop>-95)
   {
     fleche2.style.pixelTop-=3
     moveid2=setTimeout("moving2(1)",50)
   }
 }
if (item==2)
{
  if (fleche2.style.pixelTop<-84)
  {
    fleche2.style.pixelTop+=3
    moveid2=setTimeout("moving2(2)",50)
   }
  if (fleche2.style.pixelTop>-82)
  {
       fleche2.style.pixelTop-=3
       moveid2=setTimeout("moving2(2)",50)
   }
 }
if (item==3)
{
  if (fleche2.style.pixelTop<-74)
  {
    fleche2.style.pixelTop+=3
    moveid2=setTimeout("moving2(3)",50)
   }
   if (fleche2.style.pixelTop>-72)
   {
     fleche2.style.pixelTop-=3
     moveid2=setTimeout("moving2(3)",50)
   }
 }
 if (item==4)
 {
   if (fleche2.style.pixelTop<-62)
   {
     fleche2.style.pixelTop+=3
     moveid2=setTimeout("moving2(4)",50)
    }
    if (fleche2.style.pixelTop>-60)
    {
      fleche2.style.pixelTop-=3
      moveid2=setTimeout("moving2(4)",50)
    }
 }
 if (item==5)
 {
   if (fleche2.style.pixelTop<-49)
   {
     fleche2.style.pixelTop+=3
     moveid2=setTimeout("moving2(5)",50)
    }
    if (fleche2.style.pixelTop>-47)
    {
      fleche2.style.pixelTop-=3
      moveid2=setTimeout("moving2(5)",50)
    }
 }
 if (item==6)
 {
   if (fleche2.style.pixelTop<-38)
   {
     fleche2.style.pixelTop+=3
     moveid2=setTimeout("moving2(6)",50)
    }
    if (fleche2.style.pixelTop>-36)
    {
      fleche2.style.pixelTop-=3
      moveid2=setTimeout("moving2(6)",50)
    }
 }
 if (item==7)
 {
   if (fleche2.style.pixelTop<-25)
   {
     fleche2.style.pixelTop+=3
     moveid2=setTimeout("moving2(7)",50)
    }
    if (fleche2.style.pixelTop>-23)
    {
      fleche2.style.pixelTop-=3
      moveid2=setTimeout("moving2(7)",50)
    }
 }
if (item==8)
{
  if (fleche2.style.pixelTop<-15)
  {
    fleche2.style.pixelTop+=3
    moveid2=setTimeout("moving2(8)",50)
  }
  if (fleche2.style.pixelTop>-13)
   {
       fleche2.style.pixelTop-=3
       moveid2=setTimeout("moving2(8)",50)
   }
 }

}

function come_back2() {
  clearTimeout(moveid2);
  fleche2.style.pixelTop=0;
}
function stopmove2() {
  clearTimeout(moveid2);
}


function moving3(item) {
 if (item==1)
 {
   if (fleche3.style.pixelTop<-97)
   {
    fleche3.style.pixelTop+=3
    moveid3=setTimeout("moving3(1)",50)
   }
   if (fleche3.style.pixelTop>-95)
   {
     fleche3.style.pixelTop-=3
     moveid3=setTimeout("moving3(1)",50)
   }
 }
if (item==2)
{
  if (fleche3.style.pixelTop<-84)
  {
    fleche3.style.pixelTop+=3
    moveid3=setTimeout("moving3(2)",50)
   }
  if (fleche3.style.pixelTop>-82)
  {
       fleche3.style.pixelTop-=3
       moveid3=setTimeout("moving3(2)",50)
   }
 }
if (item==3)
{
  if (fleche3.style.pixelTop<-74)
  {
    fleche3.style.pixelTop+=3
    moveid3=setTimeout("moving3(3)",50)
   }
   if (fleche3.style.pixelTop>-72)
   {
     fleche3.style.pixelTop-=3
     moveid3=setTimeout("moving3(3)",50)
   }
 }
 if (item==4)
 {
   if (fleche3.style.pixelTop<-62)
   {
     fleche3.style.pixelTop+=3
     moveid3=setTimeout("moving3(4)",50)
    }
    if (fleche3.style.pixelTop>-60)
    {
      fleche3.style.pixelTop-=3
      moveid3=setTimeout("moving3(4)",50)
    }
 }
 if (item==5)
 {
   if (fleche3.style.pixelTop<-49)
   {
     fleche3.style.pixelTop+=3
     moveid3=setTimeout("moving3(5)",50)
    }
    if (fleche3.style.pixelTop>-47)
    {
      fleche3.style.pixelTop-=3
      moveid3=setTimeout("moving3(5)",50)
    }
 }
 if (item==6)
 {
   if (fleche3.style.pixelTop<-38)
   {
     fleche3.style.pixelTop+=3
     moveid3=setTimeout("moving3(6)",50)
    }
    if (fleche3.style.pixelTop>-36)
    {
      fleche3.style.pixelTop-=3
      moveid3=setTimeout("moving3(6)",50)
    }
 }
 if (item==7)
 {
   if (fleche3.style.pixelTop<-25)
   {
     fleche3.style.pixelTop+=3
     moveid3=setTimeout("moving3(7)",50)
    }
    if (fleche3.style.pixelTop>-23)
    {
      fleche3.style.pixelTop-=3
      moveid3=setTimeout("moving3(7)",50)
    }
 }
if (item==8)
{
  if (fleche3.style.pixelTop<-15)
  {
    fleche3.style.pixelTop+=3
    moveid3=setTimeout("moving3(8)",50)
  }
  if (fleche3.style.pixelTop>-13)
   {
       fleche3.style.pixelTop-=3
       moveid3=setTimeout("moving3(8)",50)
   }
 }

}

function come_back3() {
  clearTimeout(moveid3);
  fleche3.style.pixelTop=0;
}
function stopmove3() {
  clearTimeout(moveid3);
}


function moving4(item) {
 if (item==1)
 {
   if (fleche4.style.pixelTop<-97)
   {
    fleche4.style.pixelTop+=3
    moveid4=setTimeout("moving4(1)",50)
   }
   if (fleche4.style.pixelTop>-95)
   {
     fleche4.style.pixelTop-=3
     moveid4=setTimeout("moving4(1)",50)
   }
 }
if (item==2)
{
  if (fleche4.style.pixelTop<-84)
  {
    fleche4.style.pixelTop+=3
    moveid4=setTimeout("moving4(2)",50)
   }
  if (fleche4.style.pixelTop>-82)
  {
       fleche4.style.pixelTop-=3
       moveid4=setTimeout("moving4(2)",50)
   }
 }
if (item==3)
{
  if (fleche4.style.pixelTop<-74)
  {
    fleche4.style.pixelTop+=3
    moveid4=setTimeout("moving4(3)",50)
   }
   if (fleche4.style.pixelTop>-72)
   {
     fleche4.style.pixelTop-=3
     moveid4=setTimeout("moving4(3)",50)
   }
 }
 if (item==4)
 {
   if (fleche4.style.pixelTop<-62)
   {
     fleche4.style.pixelTop+=3
     moveid4=setTimeout("moving4(4)",50)
    }
    if (fleche4.style.pixelTop>-60)
    {
      fleche4.style.pixelTop-=3
      moveid4=setTimeout("moving4(4)",50)
    }
 }
 if (item==5)
 {
   if (fleche4.style.pixelTop<-49)
   {
     fleche4.style.pixelTop+=3
     moveid4=setTimeout("moving4(5)",50)
    }
    if (fleche4.style.pixelTop>-47)
    {
      fleche4.style.pixelTop-=3
      moveid4=setTimeout("moving4(5)",50)
    }
 }
 if (item==6)
 {
   if (fleche4.style.pixelTop<-38)
   {
     fleche4.style.pixelTop+=3
     moveid4=setTimeout("moving4(6)",50)
    }
    if (fleche4.style.pixelTop>-36)
    {
      fleche4.style.pixelTop-=3
      moveid4=setTimeout("moving4(6)",50)
    }
 }
 if (item==7)
 {
   if (fleche4.style.pixelTop<-25)
   {
     fleche4.style.pixelTop+=3
     moveid4=setTimeout("moving4(7)",50)
    }
    if (fleche4.style.pixelTop>-23)
    {
      fleche4.style.pixelTop-=3
      moveid4=setTimeout("moving4(7)",50)
    }
 }
if (item==8)
{
  if (fleche4.style.pixelTop<-15)
  {
    fleche4.style.pixelTop+=3
    moveid4=setTimeout("moving4(8)",50)
  }
  if (fleche4.style.pixelTop>-13)
   {
       fleche4.style.pixelTop-=3
       moveid4=setTimeout("moving4(8)",50)
   }
 }

}

function come_back4() {
  clearTimeout(moveid4);
  fleche4.style.pixelTop=0;
}
function stopmove4() {
  clearTimeout(moveid4);
}

function moving5(item) {
 if (item==1)
 {
   if (fleche5.style.pixelTop<-97)
   {
    fleche5.style.pixelTop+=3
    moveid5=setTimeout("moving5(1)",50)
   }
   if (fleche5.style.pixelTop>-95)
   {
     fleche5.style.pixelTop-=3
     moveid5=setTimeout("moving5(1)",50)
   }
 }
if (item==2)
{
  if (fleche5.style.pixelTop<-84)
  {
    fleche5.style.pixelTop+=3
    moveid5=setTimeout("moving5(2)",50)
   }
  if (fleche5.style.pixelTop>-82)
  {
       fleche5.style.pixelTop-=3
       moveid5=setTimeout("moving5(2)",50)
   }
 }
if (item==3)
{
  if (fleche5.style.pixelTop<-74)
  {
    fleche5.style.pixelTop+=3
    moveid5=setTimeout("moving5(3)",50)
   }
   if (fleche5.style.pixelTop>-72)
   {
     fleche5.style.pixelTop-=3
     moveid5=setTimeout("moving5(3)",50)
   }
 }
 if (item==4)
 {
   if (fleche5.style.pixelTop<-62)
   {
     fleche5.style.pixelTop+=3
     moveid5=setTimeout("moving5(4)",50)
    }
    if (fleche5.style.pixelTop>-60)
    {
      fleche5.style.pixelTop-=3
      moveid5=setTimeout("moving5(4)",50)
    }
 }
 if (item==5)
 {
   if (fleche5.style.pixelTop<-49)
   {
     fleche5.style.pixelTop+=3
     moveid5=setTimeout("moving5(5)",50)
    }
    if (fleche5.style.pixelTop>-47)
    {
      fleche5.style.pixelTop-=3
      moveid5=setTimeout("moving5(5)",50)
    }
 }
 if (item==6)
 {
   if (fleche5.style.pixelTop<-38)
   {
     fleche5.style.pixelTop+=3
     moveid5=setTimeout("moving5(6)",50)
    }
    if (fleche5.style.pixelTop>-36)
    {
      fleche5.style.pixelTop-=3
      moveid5=setTimeout("moving5(6)",50)
    }
 }
 if (item==7)
 {
   if (fleche5.style.pixelTop<-25)
   {
     fleche5.style.pixelTop+=3
     moveid5=setTimeout("moving5(7)",50)
    }
    if (fleche5.style.pixelTop>-23)
    {
      fleche5.style.pixelTop-=3
      moveid5=setTimeout("moving5(7)",50)
    }
 }
if (item==8)
{
  if (fleche5.style.pixelTop<-15)
  {
    fleche5.style.pixelTop+=3
    moveid5=setTimeout("moving5(8)",50)
  }
  if (fleche5.style.pixelTop>-13)
   {
       fleche5.style.pixelTop-=3
       moveid5=setTimeout("moving5(8)",50)
   }
 }

}

function come_back5() {
  clearTimeout(moveid5);
  fleche5.style.pixelTop=0;
}
function stopmove5() {
  clearTimeout(moveid5);
}


function moving6(item) {
 if (item==1)
 {
   if (fleche6.style.pixelTop<-97)
   {
    fleche6.style.pixelTop+=3
    moveid6=setTimeout("moving6(1)",50)
   }
   if (fleche6.style.pixelTop>-95)
   {
     fleche6.style.pixelTop-=3
     moveid6=setTimeout("moving6(1)",50)
   }
 }
if (item==2)
{
  if (fleche6.style.pixelTop<-84)
  {
    fleche6.style.pixelTop+=3
    moveid6=setTimeout("moving6(2)",50)
   }
  if (fleche6.style.pixelTop>-82)
  {
       fleche6.style.pixelTop-=3
       moveid6=setTimeout("moving6(2)",50)
   }
 }
if (item==3)
{
  if (fleche6.style.pixelTop<-74)
  {
    fleche6.style.pixelTop+=3
    moveid6=setTimeout("moving6(3)",50)
   }
   if (fleche6.style.pixelTop>-72)
   {
     fleche6.style.pixelTop-=3
     moveid6=setTimeout("moving6(3)",50)
   }
 }
 if (item==4)
 {
   if (fleche6.style.pixelTop<-62)
   {
     fleche6.style.pixelTop+=3
     moveid6=setTimeout("moving6(4)",50)
    }
    if (fleche6.style.pixelTop>-60)
    {
      fleche6.style.pixelTop-=3
      moveid6=setTimeout("moving6(4)",50)
    }
 }
 if (item==5)
 {
   if (fleche6.style.pixelTop<-49)
   {
     fleche6.style.pixelTop+=3
     moveid6=setTimeout("moving6(5)",50)
    }
    if (fleche6.style.pixelTop>-47)
    {
      fleche6.style.pixelTop-=3
      moveid6=setTimeout("moving6(5)",50)
    }
 }
 if (item==6)
 {
   if (fleche6.style.pixelTop<-38)
   {
     fleche6.style.pixelTop+=3
     moveid6=setTimeout("moving6(6)",50)
    }
    if (fleche6.style.pixelTop>-36)
    {
      fleche6.style.pixelTop-=3
      moveid6=setTimeout("moving6(6)",50)
    }
 }
 if (item==7)
 {
   if (fleche6.style.pixelTop<-25)
   {
     fleche6.style.pixelTop+=3
     moveid6=setTimeout("moving6(7)",50)
    }
    if (fleche6.style.pixelTop>-23)
    {
      fleche6.style.pixelTop-=3
      moveid6=setTimeout("moving6(7)",50)
    }
 }
if (item==8)
{
  if (fleche6.style.pixelTop<-15)
  {
    fleche6.style.pixelTop+=3
    moveid6=setTimeout("moving6(8)",50)
  }
  if (fleche6.style.pixelTop>-13)
   {
       fleche6.style.pixelTop-=3
       moveid6=setTimeout("moving6(8)",50)
   }
 }

}

function come_back6() {
  clearTimeout(moveid6);
  fleche6.style.pixelTop=0;
}
function stopmove6() {
  clearTimeout(moveid6);
}