function getInternetExplorerVersion() {
   var rv = 0; // Return value assumes failure.
   if (navigator.appName == 'Microsoft Internet Explorer') {
      var ua = navigator.userAgent;
      var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
      if (re.exec(ua) != null) { rv = parseFloat( RegExp.$1 ); }
   }
   return rv;
}

var Weite = 0;
function Fensterweite () {
  if (window.innerWidth) { return window.innerWidth; }
  else if (document.body && document.body.offsetWidth) { return document.body.offsetWidth; }
  else { return 0; }
}
function neuAufbau () {
  if (Weite != Fensterweite() || Hoehe != Fensterhoehe()) { location.href = location.href; }
}
function getScrollBarWidth () {
  document.body.style.overflow = 'hidden'; 
  var width = document.body.clientWidth;
  document.body.style.overflow = 'scroll'; 
  width -= document.body.clientWidth; 
  if(!width) width = document.body.offsetWidth - document.body.clientWidth;
  document.body.style.overflow = ''; 
  return width;
}
/* Überwachung von Netscape initialisieren */
if (!window.Weite && window.innerWidth) {
  window.onresize = neuAufbau;
  Weite = Fensterweite();
}

//Bilder für onMouseOver vorausladen
function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

