
// 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="165,*" framespacing="0" border="0" frameborder="0"/>'
+ '<frame name="vaandel" scrolling="auto" noresize src="/vaandel.htm" marginwidth="0" marginheight="0" target="hoofd"/>'
+ '<frame src="' + window.location +'?" name="hoofd"  scrolling="auto" target="_top" />'
+ '</frameset>')}
}

