function BrowserCheck()
{
  var b = navigator.appName;

  if (b == "Netscape") this.b = "NS";
    else if (b == "Microsoft Internet Explorer") this.b = "IE";
      else this.b = b;

  this.v = parseInt(navigator.appVersion);
  this.NS = (this.b == "NS" && this.v>=4);
  this.NS4 = (this.b == "NS" && this.v == 4);
  this.NS5 = (this.b == "NS" && this.v == 5);
  this.IE = (this.b == "IE" && this.v>=4);
  this.IE4 = (navigator.userAgent.indexOf('MSIE 4')>0);
  this.IE5 = (navigator.userAgent.indexOf('MSIE 5')>0);
  if (this.IE5 || this.NS5)
    this.VER5 = true;
  if (this.IE4 || this.NS4)
    this.VER4 = true;

  this.OLD = (! this.VER5 && ! this.VER4) ? true : false;
  this.min = (this.NS||this.IE);
}
is = new BrowserCheck();


function block(id, height) {
	var obj = document.getElementById(id);
        var n = obj.height + height - 1;
        var h = (is.VER5) ? n - n % height + 50 : (is.NS) ? n - n % height + 5 : n - n % height + 50;
        obj.height = h + 'px';
}

