<!--
// Zusatzhoehe IFrame fuer Firefox
var ffVersion           = navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var ffIFrameExtraHeight = parseFloat(ffVersion) >= 0.1 ? 16 : 0

function cchk_iframe_nmbr(frameSource, iFrameName, iFrameID)
{
		if (document.getElementById(iFrameID).contentDocument && document.getElementById(iFrameID).contentDocument.body.offsetHeight) {
				// NS und FF
				//alert("FF IFrame height: " + ttFrame.document.documentElement.clientHeight);
				document.getElementById(iFrameID).height = ttFrame.document.documentElement.clientHeight + ffIFrameExtraHeight;
		} else if (document.getElementById(iFrameID).document && document.getElementById(iFrameID).document.body.scrollHeight) {
				// IE
				//alert("IE IFrame height: " + ttFrame.document.body.scrollHeight);
				document.getElementById(iFrameID).height = ttFrame.document.body.scrollHeight +20;
		}
}

function chk_iframe_nmbr(frameSource, iFrameName, iFrameID) {
	  if (document.getElementById && !document.all) {
	    // alert("FF");
	    // alert(ttFrame.document.documentElement.scrollHeight);
	    // alert(ffIFrameExtraHeight);
	    //document.getElementById(iFrameID).height = ttFrame.document.documentElement.scrollHeight + ffIFrameExtraHeight;
		document.getElementById('ttFrame').height = ttFrame.document.documentElement.scrollHeight + ffIFrameExtraHeight + "px";
		document.getElementById('iberahmen').style.height = ttFrame.document.documentElement.scrollHeight + "px";
		
	  } else if (document.getElementById) {
	    // alert("IE");
	    document.getElementById(iFrameID).height = ttFrame.document.body.scrollHeight;
		// obacht einfuegung 06.01.2012
		document.getElementById('iberahmen').style.height = ttFrame.document.body.scrollHeight;
	  }
	}

function resize() {
  i = document.getElementById('ttFrame');
  	//* window.alert(i);
	iHeight = ttFrame.scrollHeight;
	i.style.height = iHeight + 5 + "px";
}

function zeige(feld , datei) {
  window.document.images[feld].src = datei;
}

function popup(link, name, x, y, breite, hoehe) {
  var popup=window.open(link, name, 'toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollbars=0,width='+breite+',height='+hoehe+',resizable=1,top='+x+',left='+y+'');
  popup.focus();
}

function formabbruch(x) {
  self.location.href = x;
}

//-->
