var isIE = (navigator.appName.indexOf('Microsoft')   != -1);

function myopen(link,w,h){
	//if(isIE){
		w+=0;
		h+=20;
	//}
	mymut = window.open(link,'Afbeelding','width='+w+',height='+h+',menubar=no,toolbars=no,scrollbars=yes');
}
function contentHeight(){
	if(document.getElementById("m2div")){
		el=document.getElementById("m2div");
		var myHeight = 0;
    if(typeof(window.innerHeight )=='number'){
      //Non-IE
      myHeight=window.innerHeight;
    } else if( document.documentElement && ( document.documentElement.clientHeight ) ) {
      //IE 6+ in 'standards compliant mode'
      myHeight = document.documentElement.clientHeight;
    } else if( document.body && (document.body.clientHeight ) ) {
      //IE 4 compatible
      myHeight = document.body.clientHeight - 100;
    }
		
		if(isIE) myHeight=myHeight+110;
		//width=document.body.clientWidth;
		el.style.height=myHeight-188+'px';	
		
		//el.style.width=width-232+'px';								
		//alert(myHeight);		
	}
}