var message="Functie niet toegestaan";

function clickIE4()
{
  if (event.button==2)
  {
    alert(message);
    return false;
  }
}

function clickNS4(e)
{
  if (document.layers||document.getElementById&&!document.all)
  {
    if (e.which==2||e.which==3)
    {
      alert(message);
      return false;
    }
  }
}

if (document.layers)
{
  document.captureEvents(Event.MOUSEDOWN);
  document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById)
{
  document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

var stap=1
var beeldnr=1
function overvloeier(){
if (!document.images)
return
if (document.all)
slide.filters.blendTrans.apply()
document.images.slide.src=eval("foto"+stap+".src")
if (document.all)
slide.filters.blendTrans.play()
beeldnr=stap
if (stap<7)// aanpassen aan aantal plaatjes
stap++
else
stap=1
setTimeout("overvloeier()",5000)// de tijd tussen twee plaatjes in milliseconden
}
function overgang(){
if (beeldnr==1)
window.location="http://www.oosterscheldeMuseum.nl"
else if (beeldnr==2)
window.location="http://www.oosterscheldeMuseum.nl"
else if (beeldnr==3)
window.location="http://www.oosterscheldeMuseum.nl" 
else if (beeldnr==4)
window.location="http://www.oosterscheldeMuseum.nl"
else if (beeldnr==5)
window.location="http://www.oosterscheldeMuseum.nl"  
else if (beeldnr==6)
window.location="http://www.oosterscheldeMuseum.nl"  
else if (beeldnr==7)
window.location="http://www.oosterscheldeMuseum.nl"  
}
   

function FileInTeller(FileName)
  {
  alert(' a2' );
  fh = fopen(' E://Temp//index.txt' , 0);
  alert(' a3' );
  if(fh!=-1)
  {
  alert(' 1mm' );
  length = flength(fh); // Get the length of the file
  str = fread(fh, length); // Readin the entire file
  fclose(fh); // Close
  alert(' oke' );
  }
  alert(' 2' );
  tnum = parseInt(t);
  tnum = tnum+1;
  t=tnum+'';
  alert(t);
 //WriteFileOutTeller(FileName,t);
  }

function lastModified() { 
var modiDate=new Date 
(document.lastModified) 
var showAs=modiDate. 
getDate()+"/" + 
(modiDate.getMonth()+1) 
showAs+="/"+modiDate.getYear() 
return showAs } 


var request=false
var pict=true
function testForIt(){
  request=true;
  if(document.images){
    document.images["testImage"].src='Members/'+document.omymembers.id.value+'/Members.jpg';}
    else 
    {
    loadIt();
    return false;
    }
}

function loadIt(){
if (request) 
  {
  window.location.href = 'Members/'+document.omymembers.id.value+'/OMY_Members.html';
  }
  else{
   request = false;
   }
   return false;
  }
  
  
function failIt()
{
   return false;

}
