
// javascript ter voorkoming subframe als volledige pagina

document.write("<base target=\"_top\">");

var fstr = window.location.pathname

if(parent.frames.length == 0){

// menu.htm
if(fstr.lastIndexOf("/menu.htm")!=-1){window.location.href = 'index.htm'}

// vaandel.htm
else if(fstr.lastIndexOf("/vaandel.htm")!=-1){window.location.href = 'index.htm'}

// standaard
else {
document.write('<frameset rows="112,*" framespacing="0" border="0" frameborder="0"/>'

+ '<frame name="vaandel" scrolling="no" noresize src="vaandel.htm" marginwidth="0" marginheight="0" target="_top"/>'

+'<frameset cols="189,*" framespacing="0" border="0" frameborder="0"/>'

+ '<frame name="menu" src="menu.htm" marginwidth="0" marginheight="0" scrolling="auto" noresize target="_top"/>'

+ '<frame src="' + window.location +'?" name="inhoud" scrolling="auto" marginwidth="0" marginheight="0" noresize target="_top" />'

+ '</frameset>'
+ '</frameset>')
}
}

