var count = 0;

function pictNEXT()
{
  if (count==62)
  {
    count = 0;
    pictframe.src="./images/JapShow/img000" + count + ".jpg";
  }
  else
  { 
    count++;
    pictframe.src="./images/JapShow/img000" + count + ".jpg";
  }
}

function pictPREV()
{
  if (count==0)
  {
    count = 62;
    pictframe.src="./images/JapShow/img000" + count + ".jpg";
  }
  else
  { 
    count--;
    pictframe.src="./images/JapShow/img000" + count + ".jpg";
  }
}

function getPIC(e)
{
  count = e-1;
  pictframe.src="./images/JapShow/img000" + count + ".jpg";
}
