


function checkBrowser(){
  this.ver=navigator.appVersion
  this.dom=document.getElementById?1:0
  this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
  this.ie4=(document.all && !this.dom)?1:0;
  this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
  this.ns4=(document.layers && !this.dom)?1:0;
  this.ie4mac=this.ie4 && navigator.userAgent.indexOf("Mac")>-1
  this.ns4mac=this.ns4 && navigator.appVersion.indexOf("Mac")>-1
  this.ie5mac=this.ie5 && navigator.userAgent.indexOf("Mac")>-1
  this.ie55=(this.ver.indexOf("MSIE 5.5")>-1 && this.dom)?1:0;
  this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
  this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
  this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom)?1:0;
  this.mac = ( this.ie4mac || this.ns4mac || this.ie5mac ) 
  this.ns = ( this.ns4 || this.ns5 );
  this.ie = ( this.ie8 || this.ie7 ||this.ie6 || this.ie5 || this.ie4 );
  this.ie5 = (this.ie8 || this.ie7 ||this.ie6 || this.ie5 );  // Hinweis: Workaround, weil wir an vielen Stellen explizit auf ie4 || ie5 abtesten
  this.bw=( this.dom ||  this.ie6 || this.ie5 || this.ie4 || this.ns4 ||    this.ns5 || this.ie5mac)
  if(this.ns5) {
   	this.ns4=false;
	this.ie6=true;
  }

  return this;
}
bw = new checkBrowser();

if( !bw.ns4 ) {
	document.write("<style>  p { padding : 0px 0px 0px px; margin : 0px 0px 0px 0px; } </style>");
}