/*
Aenderung fentergröße für Adsense-werbung
*/

function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}

function Fensterhoehe () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}

function neuAufbau () {
  if (Weite != Fensterweite() || Hoehe != Fensterhoehe())
    location.href = location.href;
}
<!--
google_ad_client = "pub-8054966799888335";
/* 160x600, Erstellt 24.11.09 */
google_ad_slot = "5612805701";
google_ad_width = 160;
google_ad_height = 600;
 
//-->
var screenwidth = screen.width;
var de = document.documentElement;
var myWidth = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;

function showAdsense () {
  if (screenwidth > 1280) 
  if (myWidth > 1395)
  {
window.setTimeout("document.getElementById('adsense').style.display=\"inline\"",10);
  } else {
window.setTimeout("document.getElementById('adsense').style.display=\"none\"",10);

  }
}
