// behaviour.js function switchTo(opt) { var colors=new Array(); colors[0]='rgb(185,185,185)'; colors[1]='rgb(235,43,224)'; colors[2]='rgb(143,229,65)'; colors[3]='rgb(251,99,62)'; colors[4]='rgb(5,182,248)'; var html=new Array(); html[0]='Favorieten
Toevoegen aan favorieten
Doorsturen
Filosofie
'; html[1]='Gebiedsontwikkeling
Voorverkenning
Verkenning
Planstudie
'; html[2]='Introductie
Voorbeelden
 
'; html[3]='Introductie
Hoogstedelijk gebied
Stedelijk gebied
Bedrijventerrein
'; html[4]='Introductie
Kwaliteitsambities
Ondergrondkwaliteiten
Voorbeelden
'; var html2=new Array(); html2[0]='Zoeken op kernwoorden
Thema´s
'; html2[1]='Realisatie
Beheer
Instrumenten
Bronnen
'; html2[2]='Geografische analyse:
- Ondergrondlaag
- Netwerklaag
- Occupatielaag
'; html2[3]='Infrastructuurzone
Glastuinbouw
Suburbaan gebied
Villawijk
'; html2[4]=''; var html3=new Array(); html3[0]='Printen
'; html3[1]=''; html3[2]=''; html3[3]='Stedelijk groen
Recreatielandschap
Woonlandschap
Cultuurlandschap
'; html3[4]=''; var html4=new Array(); html4[0]=''; html4[1]=''; html4[2]=''; html4[3]='Natuurlandschap
'; html4[4]=''; obj=document.getElementById('contextmenu'); obj.style.background=colors[opt]; obj2=document.getElementById('innerfirst'); obj2.innerHTML=html[opt]; obj3=document.getElementById('innersecond'); obj3.innerHTML=html2[opt]; obj4=document.getElementById('innerthird'); obj4.innerHTML=html3[opt]; obj5=document.getElementById('innerforth'); obj5.innerHTML=html4[opt]; } function findPos(obj) { var curleft = curtop = 0; if (obj.offsetParent) { do { curleft += obj.offsetLeft; curtop += obj.offsetTop; } while (obj = obj.offsetParent); } return curtop; } function fixMeta() { obj=document.getElementById('meta'); //Get Y Ynow=findPos(obj); if (Ynow < 650) { obj.style.marginTop=(650-Ynow)+'px'; } }