<!--
var ImageCrossFadeDuration = 1
var ImageOffWait = 4000
var ImgT1
var ImgT2
var ImgT3
var ImgT4
var ImgOn1=0
var ImgOn2=0
var ImgOn3=0
var ImgOn4=0

function DisplayImage(Naam,ViewerNo)
{
   switch(ViewerNo){
   case '1':
      ImgOn1=1
      if (document.all){
        document.images.Viewer1.style.filter="blendTrans(duration=1)"
        document.images.Viewer1.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer1.filters.blendTrans.Apply()
      }
      document.images.Viewer1.src = "Images/"+Naam+"_400x300.jpg"
      if (document.all){
         document.images.Viewer1.filters.blendTrans.Play()
      }
      break
   case '2':
      ImgOn2=1
      if (document.all){
        document.images.Viewer2.style.filter="blendTrans(duration=1)"
        document.images.Viewer2.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer2.filters.blendTrans.Apply()
      }
      document.images.Viewer2.src = "Images/"+Naam+"_400x300.jpg"
      if (document.all){
         document.images.Viewer2.filters.blendTrans.Play()
      }
      break
   case '3':
      ImgOn3=1
      if (document.all){
        document.images.Viewer3.style.filter="blendTrans(duration=1)"
        document.images.Viewer3.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer3.filters.blendTrans.Apply()
      }
      document.images.Viewer3.src = "Images/"+Naam+"_400x300.jpg"
      if (document.all){
         document.images.Viewer3.filters.blendTrans.Play()
      }
      break
   case '4':
      ImgOn4=1
      if (document.all){
        document.images.Viewer4.style.filter="blendTrans(duration=1)"
        document.images.Viewer4.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer4.filters.blendTrans.Apply()
      }
      document.images.Viewer4.src = "Images/"+Naam+"_400x300.jpg"
      if (document.all){
         document.images.Viewer4.filters.blendTrans.Play()
      }
      break
   }    
}

function DisplayNone(ViewerNo)
{
   switch(ViewerNo){
   case '1':
      ImgT1 = setTimeout("DisplayOff('1')", ImageOffWait)
      ImgOn1=0
      break
   case '2':
      ImgT2 = setTimeout("DisplayOff('2')", ImageOffWait)
      ImgOn2=0
      break
   case '3':
      ImgT3 = setTimeout("DisplayOff('3')", ImageOffWait)
      ImgOn3=0
      break
   case '4':
      ImgT4 = setTimeout("DisplayOff('4')", ImageOffWait)
      ImgOn4=0
      break
   }   
}

function DisplayRoute(Naam, ViewerNo)
{
   switch(ViewerNo){
   case '1':
      ImgOn1=1
      if (document.all){
        document.images.Viewer1.style.filter="blendTrans(duration=1)"
        document.images.Viewer1.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer1.filters.blendTrans.Apply()
      }
      document.images.Viewer1.src = "Images/RouteDag"+Naam+".gif"
      if (document.all){
         document.images.Viewer1.filters.blendTrans.Play()
      }
      break
   case '2':
      ImgOn2=1
      if (document.all){
        document.images.Viewer2.style.filter="blendTrans(duration=1)"
        document.images.Viewer2.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer2.filters.blendTrans.Apply()
      }
      document.images.Viewer2.src = "Images/RouteDag"+Naam+".gif"
      if (document.all){
         document.images.Viewer2.filters.blendTrans.Play()
      }
      break
   case '3':
      ImgOn3=1
      if (document.all){
        document.images.Viewer3.style.filter="blendTrans(duration=1)"
        document.images.Viewer3.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer3.filters.blendTrans.Apply()
      }
      document.images.Viewer3.src = "Images/RouteDag"+Naam+".gif"
      if (document.all){
         document.images.Viewer3.filters.blendTrans.Play()
      }
      break
   case '4':
      ImgOn4=1
      if (document.all){
        document.images.Viewer4.style.filter="blendTrans(duration=1)"
        document.images.Viewer4.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer4.filters.blendTrans.Apply()
      }
      document.images.Viewer4.src = "Images/RouteDag"+Naam+".gif"
      if (document.all){
         document.images.Viewer4.filters.blendTrans.Play()
      }
      break
   }
}

function DisplayOff(ViewerNo)
{
   switch(ViewerNo){
   case '1':
      if (ImgOn1==0){
      if (document.all){
        document.images.Viewer1.style.filter="blendTrans(duration=1)"
        document.images.Viewer1.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer1.filters.blendTrans.Apply()
      }
      document.images.Viewer1.src = "Images/BeweegJeMuis_400x300.jpg"
      if (document.all){
         document.images.Viewer1.filters.blendTrans.Play()
      }
      }
      break
   case '2':
      if (ImgOn2==0){
      if (document.all){
        document.images.Viewer2.style.filter="blendTrans(duration=1)"
        document.images.Viewer2.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer2.filters.blendTrans.Apply()
      }
      document.images.Viewer2.src = "Images/BeweegJeMuis_400x300.jpg"
      if (document.all){
         document.images.Viewer2.filters.blendTrans.Play()
      }
      }
      break
   case '3':
      if (ImgOn3==0){
      if (document.all){
        document.images.Viewer3.style.filter="blendTrans(duration=1)"
        document.images.Viewer3.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer3.filters.blendTrans.Apply()
      }
      document.images.Viewer3.src = "Images/BeweegJeMuis_400x300.jpg"
      if (document.all){
         document.images.Viewer3.filters.blendTrans.Play()
      }
      }
      break
   case '4':
      if (ImgOn4==0){
      if (document.all){
        document.images.Viewer4.style.filter="blendTrans(duration=1)"
        document.images.Viewer4.style.filter="blendTrans(duration=ImageCrossFadeDuration)"
        document.images.Viewer4.filters.blendTrans.Apply()
      }
      document.images.Viewer4.src = "Images/BeweegJeMuis_400x300.jpg"
      if (document.all){
         document.images.Viewer4.filters.blendTrans.Play()
      }
      }
      break
   }   
}

function DisplayBig5(Naam)
{
   document.images.Big5.src = "Thumbs/Big5"+Naam+"_100x75.gif"
}

// -->
