var is_ns6 = false;
var is_moz = false;
var is_ie = false;
var is_mac = false;
var startoffset = 0
// Gebruikte browser checks.

if(typeof( window.innerWidth ) == 'number' )
{
    is_moz = true;
    startoffset = 6;
    if (navigator.userAgent.indexOf("Netscape")!= -1)
    {
        is_ns6 = true;
    }
}
else
{
    startoffset = -1;
    is_ie = true;
    if (navigator.userAgent.indexOf("Mac")!= -1)
    {
        is_mac = true;
    }
}

function fixme() {
    var myHeight = 0;

    if(is_moz) {
        //Non-IE
        myHeight = window.innerHeight;
        myWidth = window.innerWidth;
     } else {
        //IE 6+ in 'standards compliant mode'
        myWidth = document.body.clientWidth;
        myHeight = document.body.clientHeight;
     }

    // Check voor scroolbar
    if (myHeight < document.body.scrollHeight) {
        myHeight = document.body.scrollHeight;
    }

    // set Items
	document.getElementById('mainframe').style.height = myHeight;
	document.getElementById('submenuframe').style.height = myHeight - 16;
}
