var bron = new Array(11)
bron[0] = "content/home.html";
bron[1] = "content/doelst.html";
bron[2] = "content/gesch.html";
bron[3] = "content/ruimte.html";
bron[4] = "content/gebouw.html";
bron[5] = "content/ateliers.html";
bron[6] = "content/facs.html";
bron[7] = "content/program.html";
bron[8] = "content/tentst.html";
bron[9] = "content/organisatie.html";
bron[10] = "content/contact.html";
bron[11] = "content/links.html";

var source = new Array(11)
source[0] = "content/home.html";
source[1] = "english/objective.html";
source[2] = "english/history.html";
source[3] = "english/space.html";
source[4] = "english/building.html";
source[5] = "english/studios.html";
source[6] = "english/facility.html";
source[7] = "english/prgramme.html";
source[8] = "english/xhbtions.html";
source[9] = "english/organisation.html";
source[10] = "english/contact.html";
source[11] = "english/lnks.html";

function shownws() {
document.getElementById("nwslayer").style.visibility = "visible"
}
function hidenws() {
document.getElementById("nwslayer").style.visibility = "hidden"
}

function showarch() {
document.getElementById("arclayer").style.visibility = "visible"
}
function hidearch() {
document.getElementById("arclayer").style.visibility = "hidden"
}

function frameupdate(src) {
frame02.location.href = src
}

var choice
var i = 0
function setIndex(next){
i = next
return i
}

taal = new Array(2);
taal[0] ="<A ID=\"choice\" HREF=\"javascript:void(\'\')\" onClick=\"swapLayer(\'menuned\');chlang(taal[1],bron[i]);setLang(bron[i]);\"><img border=\"0\"src=\"images/dutch.gif\"></A>"; 
taal[1] ="<A ID=\"choice\" HREF=\"javascript:void(\'\')\" onClick=\"swapLayer(\'menueng\');chlang(taal[0],source[i]);setLang(source[i]);\"><img border=\"0\" src=\"images/english.gif\"></A>";  
 

function chlang(taal,choice){
document.getElementById("lang").innerHTML = taal
document.getElementById("info").src = choice
return choice
}

var keuze = bron
function browse() {
++i;
if(i>=bron.length)
i=1;
a = keuze[i]
document.getElementById("info").src = a	
}

function setLang(choice){
if(choice == source[i])
keuze = source
else
keuze = bron
}





