// this module needs the following module:
// BrowserOther.html

var szeles=screen.width;
var magas=screen.height;
var whichPointer='pointer';

if ( szeles < 800 || magas < 600 )
{
  m="The resolution of your computer monitor is too low ('+szeles+' x '+magas+').";
  m+=" Minimum 800 x 600 is necessary.";
  alert(m);
}

if(navigator.appName == 'Netscape')
{
  if(parseInt(navigator.appVersion) < 5)
  {
    document.write('<h1>You are using a very old version of Netscape (');
    document.write(parseFloat(navigator.appVersion));
    document.write(') which cannot properly show this web page.');
    document.write(' Please install the newest version!</h1>');
  }
}
else
{
  var agent=navigator.userAgent;
  var hely=agent.indexOf('MSIE');
  if(hely<1)
  {
    var openWindow=window.open('BrowserOther.html', 'browserOther',config='top=0,left=0,height=200,width=300');
  }
  else
  {
    whichPointer='hand';
    var cut=agent.substr(hely+5,5);
    var num=parseFloat(cut);  
    if(num < 5.5)
    {
      document.write('<h1>You are using a very old version of Internet Explorer (');
      document.write(num);
      document.write(') which cannot properly show this web page.');
      document.write(' Please install the newest version!</h1>');
    }
  }
}
