function flowOverIt(){ 
  if(imgIndex < imgLenth)
  {
	  flowImgId.src=imgSrc[imgIndex];
	  flowImgId.alt=imgAlt[imgIndex];
	  flowUrlId.href=imgUrl[imgIndex];
	  flowUrlId.title=imgAlt[imgIndex];
	  ++imgIndex;
	  document.getElementById("N"+imgIndex).className='a';
      document.getElementById("N"+numIndex).className = 'b';
      numIndex = imgIndex;
  }
  else
  {
	  flowImgId.src=imgSrc[0];
	  flowImgId.alt=imgAlt[0];
	  flowUrlId.href=imgUrl[0];
	  flowUrlId.title=imgAlt[0];
	  imgIndex = 1;
	  document.getElementById("N"+imgIndex).className='a';
      document.getElementById("N"+numIndex).className = 'b';
      numIndex = imgIndex;
  }
}
function toFlow()
{
  objFlow  = window.setInterval("flowOverIt()",3500);
}
function stopFlow(id){
  clearInterval(objFlow);
  if(id!=numIndex)
  {
     document.getElementById("N"+id).className='a';
     document.getElementById("N"+numIndex).className = 'b';
     numIndex = id;
     var objImg = document.getElementById('flowImg');
     objImg.src=imgSrc[id-1];
  }
}