window.onresize = getsize;
function getsize()
{
var width   = self.screen.width;
var height  = self.screen.height;
var iwidth  = self.innerWidth;        
var iheight = self.innerHeight; 
var ie      = 0;

if(self.innerWidth)
{ iwidth  = self.innerWidth;
  iheight = self.innerHeight;
} 
else if (document.documentElement && document.documentElement.clientWidth )
{ iwidth  = document.documentElement.clientWidth;
  iheight = document.documentElement.clientHeight; 
  ie      = 1;
}
else if (document.body )
{ iwidth  = document.body.clientWidth;
  iheight = document.body.clientHeight; 
}
window.location = '/adkerk/screen.php?width=' + width + '&height=' + height + '&iwidth=' + iwidth + '&iheight=' + iheight + '&ie=' + ie;
}
function bertus()
{
  alert("in bertus");
}
