//banner boven
function banner() {
document.write(" <p class='title'>Van Eeckhoutte Lawyers<br /> ict <img src='http://www.vaneeckhoutteadvocaten.nl/image/adv1.ico' title='Van Eeckhoutte Advocaten' alt='icon' with='16' height='16' /> intellectual property <img src='http://www.vaneeckhoutteadvocaten.nl/image/adv1.ico' title='Van Eeckhoutte Advocaten' alt='icon' with='16' height='16' /> corporate </p>")
}

//banner onderin
function bannerbottom() {
document.write(" ")
}

//navigatiebalk
function navigatie() {
document.write(" <br /><a href='http://www.vaneeckhoutteadvocaten.nl'><img src='http://www.vaneeckhoutteadvocaten.nl/image/nederland.gif' alt='This site in Dutch' width='25' height='16' /></a><br /><br /><div class='navigatie'> <a href='http://www.vaneeckhouttelawyers.com/index.html'>Home</a><br /><a href='http://www.vaneeckhouttelawyers.com/contacte.html'>Contact</a><br /><a href='http://www.vaneeckhouttelawyers.com/curriculume.html'>Curriculum</a><br /><a href='http://www.vaneeckhouttelawyers.com/kwaliteite.html'>Quality</a><br /><a href='http://www.vaneeckhouttelawyers.com/waarborgene.html'>Quality Assurance</a><br /><a href='http://www.vaneeckhouttelawyers.com/rechtsgebiedene.html'>Areas of law</a><br /><a href='http://www.vaneeckhouttelawyers.com/kostene.html'>Costs &amp; Tariffs</a><br /><a href='http://www.vaneeckhouttelawyers.com/voorwaardene.html'>General Terms</a><br /><br /> <a href='Vacatureadvocaat01.pdf'>Career</a> <br /><br /><a href='http://www.vaneeckhouttelawyers.com/annotatiese.html'>Annotations</a><br /><a href='http://www.vaneeckhoutteadvocaten.nl/begrippenlijst.html'>Glossary</a><br /><a href='http://www.vaneeckhoutteadvocaten.nl/links.html'>Links</a><br /><br /><a href='http://www.vaneeckhouttelawyers.com/sitemape.html'>Sitemap</a><br /><a href='http://www.vaneeckhouttelawyers.com/gebruiksvoorwaardene.html'>Terms of Use</a><br /><a href='http://www.vaneeckhouttelawyers.com/privacye.html'>Privacy</a><br /><a href='http://www.freedisclaimer.eu'>Disclaimer</a><br />&nbsp;<div>")
}


//notices beneden
function notices() {
document.write(" <img src='http://www.juridischwoordenboek.nl/image/voetjes01.jpg' alt='Lycaeus eerste stapjes' />&nbsp;&copy; 2001-2006 Lycaeus&#174; - <a class='about' href='privacy.html'>Privacy</a> - <a class='about' href='gebruiksvoorwaarden.html'>Gebruiksvoorwaarden</a> - <a class='about' href='sitemap.html'>Sitemap</a>  ")
}

//tegelijk openen van frames content en wetten
function FrameUpdate(URL1, URL2) {
parent.content.location.href = URL1;
parent.wetten.location.href = URL2;
}

function vraagje() {
antw=prompt('Welk percentage van de ondernemers in Nederland heeft een internetsite? antwoord a: 44%   b: 56%  of  c: 68%?','')
if (antw == "c")
{alert("Correct!!")}
else
{alert("Helaas fout. Maar liefst 68% heeft een website");}
}

/* function begin()
{ attribuut te gebruiken in body-element: onload="begin()"{var a=prompt("voornaam?","");var b=prompt("familienaam?","");var c=document.location;var d=document.title;alert("Hallo "+a+" "+b+" welkom bij "+c+", genaamd "+d)}
function curtime() behoort bij attribuut in body-element: onunload="curtime()"
{
x=new Date();
var u=x.getHours();
var m=x.getMinutes();
var s=x.getSeconds();
alert("Leaving so soon? It is only "+u+"."+m+":"+s+"seconden")
}*/

function nieuwvenster(URL) //algemeen script voor openen venster
{
window.open(URL, "nieuw", "height=300,width=750, scrollbars=yes, resizable=yes" ); //url geen haakjes}
}

function nieuwvensterWet(URL) 
{
window.open(URL, "nieuw", "height=500,width=600,scrollbars=yes, resizable=yes, top=20px, left=50px" ); 
}

var objWetWindow = ''

  function openWetWindow(fStrurl)
  {
    if (typeof(objWetWindow)=='object')
    {
      if (!objWetWindow.closed)
      {
        objWetWindow.window.close()
      }
    }
    objWetWindow = window.open(fStrurl, "nieuw", "height=250,width=400,scrollbars=yes, resizable=yes, top=415px, left=52px" );
  }

//if en else 1
function gaan()
{
if (confirm("Weet je zeker dat je naar de site xhtml introductie wilt gaan?")) 
{alert("Een goede keuze!");
window.open("../aaa%20test%20xhtml/10introductie.html","nieuw","height=300px,width=800px,status=yes,scrollbars=yes"); 
/*parent.location= kan ook worden gebruikt. In dat geval wordt het hoofdvenster ververst 
en komt er dus geen nieuw venster.*/
}
else
{alert("Blijf hier dan nog maar rondhangen");
defaultStatus="chicken!";}
}
function wannago()     // in body-elementtype: onload="wannago()"
{
if (confirm("Are you sure you want to enter Goodies?") )
{alert("Good choice");parent.location="link.html";    
//merk het verschil met regel 61
}
else
{alert("Then you'll stay right here");
defaultStatus='Chicken!';}
}
//if en else 2
function nummerpikken()
{
thans=new Date()
num=(thans.getSeconds())%10
num=num+1
}
function raadnum()
{
raad=prompt("Welk nummer raad je?","")
if (eval (raad)==num) //eval-uation is een vast woord
{alert("Juist!!!")}
if (eval (raad)>num)
{alert ("te hoog!")}
if (eval (raad)<num){alert ("te laag!")}
/* else{alert("fout. Doe het nog een keer.")}*/
}
//if en branching (vertakking)
function mv()
{
var antw="    "
var bericht="typ of man of vrouw!"
var antw=prompt("Ben jij een man of een vrouw?", "");
if (antw=="man")
{document.bgColor="lightblue"; 
// de puntkomma om twee acties tegelijk te laten plaatsvinden
bericht="lichtblauw voor de heren"}
if (antw=="vrouw")
{document.bgColor="pink";
bericht="paars voor de dames"}
alert(bericht);
}
//arrays vb1
land=new 
Array()
land[0]="NEDERLAND"
land[1]="BELGIE"
land[2]="LUXEMBURG"
land[3]="DUITSLAND"
function pickstate()  //functie voor keuzebepaling ahv seconden
{
now=new Date()
num=(now.getSeconds())%4
}
function whichstate()
{
pickstate()
guess="******"
while (land[num]!=guess.toUpperCase()) 
//herhaling totdat de juiste land is geraden
{
guess=prompt("Wat is mijn favoriet land:BELGIE, NEDERLAND, LUXEMBURG of DUITSLAND?","")
if (guess.toUpperCase()==land[num])
{alert("Correct geraden! Hoe wist je dat?")}
else
{alert("nope,try again")}
}
}
//new Array vb2
urls=new Array()
urls[0]="../aaa%20test%20xhtml/01introductie.html"
urls[1]="../aaa%20test%20xhtml/02introductie.html"
urls[2]="../aaa%20test%20xhtml/03introductie.html"
urls[3]="../aaa%20test%20xhtml/04introductie.html"
function pickurls()
{
now=new Date()
num=(now.getSeconds())%4
top.location.href=urls[num] 
//in die volgorde en niet anders!
}
//image flip
function rood()
{
document.pic.src="../image/roodballetje.gif";}
function blauw()
{
document.pic.src="../image/blauwballetje.gif";
}
//kleur kiezen via formulier. newcolor is vast zgn literal. werkt niet bij Opera
function newcolor(color)
{
var un=prompt("Wat is jouw naam?", "typ het hier"); //prompt is additioneel
alert("Hey " + un + " Jij koos " + color);
document.bgColor=color;
}
//zoeken in zoekmachine Yahoo!
function vinden()
{
var zoeknaar=document.formsearch.findthis.value; //vaste namen.
{
location.href="http://av.yahoo.com/bin/query?p=" + zoeknaar;
}
}
//informatie uit het formulier doorgeven aan alert
//vb 1
function doit()
{
alert ("Jouw voornaam is " + document.myform.vrnaam.value);
alert ("bestaande uit " + document.myform.vrnaam.value.length + " letters, correct?");
}
//vb2
function city()
{
alert ("I like " + document.aform.cityfield.value + ", in " + document.aform.statefield.value);
alert ("Jouw stad bestaat uit " + document.aform.cityfield.value.length + " letters, nietwaar?");
}
//willekeurige nummers
function willekeurig()
{
var nu=new Date();
var nummer=(nu.getSeconds())%5; //dus van 0 tot 4 zijn 5 cijfers!
alert("Jouw willekeurige nummer is " + nummer);
}
//slideshow
var numm=1
img1=new Image()
img1.src="../image/pic1.gif"
img2=new Image()
img2.src="../image/pic2.gif"
img3=new Image()
img3.src="../image/pic3.gif"

function slideshow()
{
numm=numm+1  //hiermee kan de slideshow worden omgedraaid primer27
if(numm==4)
{numm=1}
document.mypic.src=eval("img" + numm + ".src")
}
/*animatie
function startshow()
{
for(i=1;i<21;i=i+1)
{
document.mypic.src=eval("img" + numm + ".src")
for(x=1;x<800;x=x+1)
{}
numm=numm+1
if(numm==4)
{numm=1}
}
document.mypic.src=img1.src
}*/
//form field validation
function validfn(vn)
{
fnlen=vn.length
if (fnlen==0)
{
alert("voornaam is verplicht")
document.dataentry.fn.focus() //dataentry is formulier naam, fn is veldnaam
} //let op zowel alert als document.data... tussen {}
}
