function BrowserDetection(){
  this.appName = "unbekannt";
  this.appVersion = "unbekannt";
  this.isIE = this.isFF = this.isOpera = this.isSafari = false;

  this.UA = navigator.userAgent.toLowerCase();

  // IE
  if(this.UA.search(/msie/) != -1){
    this.appName = "IE";
    this.isIE = true;
    this.appVersion = parseFloat(/(msie[^;]*)/.exec(this.UA)[0].split(" ")[1]);
  // Firefox
  }else if(this.UA.search(/opera/) != -1){
    this.appName = "Opera";
    this.isOpera = true;
    this.appVersion = parseFloat(/(opera[^\s]*)/.exec(this.UA)[0].split("/")[1]);
  // Firefox
  }else if(this.UA.search(/firefox/) != -1){
    this.appName = "Firefox";
    this.isFF = true;
    this.appVersion = parseFloat(/(firefox[^\s]*)/.exec(this.UA)[0].split("/")[1]);
  // Safari
  }else if(this.UA.search(/khtml/) != -1){
    this.appName = "Safari (Win)";
    this.isSafari = true;
    this.appVersion = parseFloat(/(version[^\s]*)/.exec(this.UA)[0].split("/")[1]);
  }
}

// BrowserDetection-Objekt erstellen
var objUA = new BrowserDetection();

function ie60(){
  // Ausgaben zum Browser
  // Falls es sich um einen IE < 7.0 handelt -> wird ein PopUp angezeigt.
  if(objUA.isIE && (objUA.appVersion<7)){
    alert("Sie verwenden einen alten InternetExplorer! Um die Seite besser und in vollem Umfang zu zeigen, installieren Sie bitte eine neue Browserversion.");
  // Falls es sich um einen IE < 7.0 handelt -> werden Links zum Download angezeigt.
	document.getElementById("ielt7").style.visibility = "visible";
  }
}

