function MM_checkPlugin(plgIn, theURL, altURL, autoGo) {
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) {
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}

function MM_checkBrowser(NSvers,NSpass,NSnoPass,IEvers,IEpass,IEnoPass,OBpass,URL,altURL) { //v4.0
  var newURL='', verStr=navigator.appVersion, app=navigator.appName, version = parseFloat(verStr);
  if (app.indexOf('Netscape') != -1) {
    if (version >= NSvers) {if (NSpass>0) newURL=(NSpass==1)?URL:altURL;}
    else {if (NSnoPass>0) newURL=(NSnoPass==1)?URL:altURL;}
  } else if (app.indexOf('Microsoft') != -1) {
    if (version >= IEvers || verStr.indexOf(IEvers) != -1)
     {if (IEpass>0) newURL=(IEpass==1)?URL:altURL;}
    else {if (IEnoPass>0) newURL=(IEnoPass==1)?URL:altURL;}
  } else if (OBpass>0) newURL=(OBpass==1)?URL:altURL;
  if (newURL) { window.location=unescape(newURL); document.MM_returnValue=false; }
}


function center_p(pfad,name,breite,hoehe,prop){ 
  xpos=(screen.width-breite)/2; 
  ypos=(screen.height-hoehe)/2; 
  prop+=(prop!='')?',':''; 
  prop+=',left='+xpos+',top='+ypos; 
  COMIT1=window.open(pfad,name,prop+((prop!='')?',':'')+'width='+breite+',height='+hoehe);
  COMIT1.focus();
}

function browser(){
		this.nc4 = (document.layers) ? true : false;
		this.ie4 = (document.all) ? true : false;
		this.dom = (document.getElementById) ? true :false;
		this.nc6 = (document.getElementById && !document.all) ? true : false;
		this.opi = (window.opera) ? true : false;
		this.mac = (navigator.platform.toLowerCase().indexOf('mac') > -1) ? true : false;
}
is = new browser();
if(is.nc4)
location.replace('/generell/browser_update.html');


