var c=0;
var x=0;
var farbe="";
var hoehe=0;
var breite=0;
var DHTML = 0, DOM = 0, MS = 0, NS = 0, OP = 0, browser=0;
if (window.opera)
{
	OP = 1;
}
if(document.getElementById)
{
	DHTML = 1;
	DOM = 1;
	if (navigator.appName == "Netscape")
	{
		NS=1;
	}
}
if(document.all && !OP)
{
	DHTML = 1;
	MS = 1;
}
if (window.netscape && window.screen && !DOM && !OP)
{
	DHTML = 1;
	NS = 1;
}

function config()
{
	if (!DOM)
	{
	
	}
	else
	{
		if (!NS && !OP)
		{
			hoehe=document.documentElement.clientHeight-1
			breite=document.documentElement.clientWidth-1
		}
		else
		{	
			hoehe=window.innerHeight;
			breite=window.innerWidth;
		}
		
		document.getElementById("I1").height=hoehe-115;
		document.getElementById("I1").width=breite-225;

	}
	
}

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())
  	config()
}

/* Überwachung von Netscape initialisieren */
if (!window.Weite && window.innerWidth) {
  window.onresize = neuAufbau;
  Weite = Fensterweite();
  Hoehe = Fensterhoehe();
}


