// Iframe Höhenanpassung

function content_size_iframe_obj(iframe,minheight) {
			if (!window.opera && iframe) {
				var height = 0;
				if (iframe.contentDocument && iframe.contentDocument.body && iframe.contentDocument.body.offsetHeight) { //ns6 syntax
						height = iframe.contentDocument.body.offsetHeight * 1.05;
				} else if (iframe.Document && iframe.Document.body && iframe.Document.body.scrollHeight) { //ie5+ syntax
						height = iframe.Document.body.scrollHeight;
					} else {
						// use initial height then
						if (! minheight && iframe.height > 0 ) minheight=iframe.height;

				}
				if (minheight) height = Math.max(minheight, height);
				if (height) iframe.style.height = height+35+"px";
				}
		}
		
		

// ToggleDisplay

function toggledisplay (id){
				if (document.getElementById) {
					var mydiv = document.getElementById(id);
					mydiv.style.display = (mydiv.style.display=='block'?'none':'block');		
				}
			}		