function change(id, newClass)
{
  document.getElementById(id).className=newClass;
}

function movepic(imgname, source)
{
    document[imgname].src=source;
}

function clearTextBox (inputId)
{
if (document.getElementById(inputId).value == "- geen voorkeur -")
    document.getElementById(inputId).value = "";
if (document.getElementById(inputId).value == "gebruikersnaam")
    document.getElementById(inputId).value = "";
}

function fillTextBox (inputId,fillText)
{
if (document.getElementById(inputId).value == "")
    document.getElementById(inputId).value = fillText;
}

function clearPassBox (inputId)
{
if (document.getElementById(inputId).value == "wachtwoord")
    {
        document.getElementById(inputId).value = "";
        document.getElementById(inputId).type = "password";
    }
}

function fillPassBox(inputId,Pass)
{
    if (document.getElementById(inputId).value == "")
    {
        document.getElementById(inputId).value = Pass;
        document.getElementById(inputId).type = "text";
    }
}

function toggle(definitionId)
{
    if (document.getElementById(definitionId).style.display=="block")
    {
        document.getElementById(definitionId).style.display="none";
    }
    else
    {
        document.getElementById(definitionId).style.display="block";
    }
}

function Preload()
{
    var arImages=new Array();
    var temp = Preload.arguments;
    for(x=0; x < temp.length; x++)
    {
        arImages[x]=new Image();
        arImages[x].src=Preload.arguments[x];
    }
}

function eolas(file)
{
  document.write('<embed src="http://www.niledutch.nl/schedules/' + file + '" ');
  document.write('quality="low" bgcolor="#000000" width="930" height="481" align="middle" type="application/pdf" />');
}
