
/*
function Info() {
        this.ver=navigator.appVersion

	this.bDOM=document.getElementById?1:0
	this.bIE=document.all?1:0
	this.bIE4=this.bIE && !this.bDOM
	this.bIE5=this.bIE && this.bDOM && this.ver.indexOf('MSIE 5')>=0 && this.ver.indexOf('MSIE 5.5')<0
	this.bIE5_5=this.bIE && this.ver.indexOf('MSIE 5.5')>=0
	this.bIE6=this.bIE && this.ver.indexOf ('MSIE 6')>=0 
        this.bNN4=document.layers?1:0
	this.bNN6=!this.bIE && this.bDOM
	this.bNN=this.bNN4 || this.bNN6
}
*/


function Info() {
 var sV=navigator.appVersion
 this.bDOM=document.getElementById?1:0
 this.bIE=document.all?1:0
 if (this.bIE) {
  var nP=sV.indexOf('MSIE')
  var nV=new Number(sV.substring(nP+5,sV.indexOf(';',nP)))
  this.bIE4=(nV<5.0)
  this.bIE5=(nV==5.0)
  this.bIE55=(nV==5.5)
  this.bIE6=(nV>=6.0)
 }
 else
  this.bIE4=this.bIE5=this.bIE55=this.bIE6=false
 this.bNN4=document.layers?1:0
 this.bNN6=!this.bIE && this.bDOM
 this.bNN=this.bNN4 || this.bNN6
}

Info.prototype.obtDims=function() {
	if (this.bNN) {
		this.an=window.innerWidth
		this.al=window.innerHeight
	}
	else {
		this.an=document.body.clientWidth
		this.al=document.body.clientHeight
	}
}
