
function max()
{
focus();
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
function reload() 
{ 
document.location.href = document.location.href ;
} 
function setmax()
{
var nieuwjaar = new Date(2010,1,1,0,0,0,0);
document.cookie = "automax=ja; expires=" + nieuwjaar.toGMTString();
}
function resetmax()
{
var nieuwjaar = new Date(2010,1,1,0,0,0,0);
document.cookie = "automax=nee; expires=" + nieuwjaar.toGMTString();
}
if (document.cookie.lastIndexOf("automax=ja") > -1) 
{
max();
}

// kill cookie
var killk = new Date(1999,1,1,0,0,0,0);
document.cookie = "groot=nee; expires=" + killk.toGMTString();
document.cookie = "groot=ja; expires=" + killk.toGMTString();
