/*@cc_on
@if ( @_jscript )

@else */

        var mttg_adaptor = function() {                this.height = 0;                this.width = 0;		this.adapt   = function (h,w) {
			divBalkenLinks = document.getElementById('divBalkenLinks');			divBalkenRechts = document.getElementById('divBalkenRechts');			divContent = document.getElementById('divContent');			divContentScroll = document.getElementById('divContentScroll');			if( divContentScroll && divContent && this.height != h ) {				divContentScroll.style.height = Math.max((h-500)/2+335,0);
				divContent.style.top = Math.max((h-500)/2,0);
				this.height = h;				}						if( divBalkenRechts && divBalkenLinks && this.width != w ) {
				divContentScroll.style.width = Math.max((w-950)/2+600,0);
				divBalkenRechts.style.width = divBalkenLinks.style.width = Math.max((w-950)/2+5,0);
				this.width = w;				}			}        	}	mttg_adaptPositions = new mttg_adaptor()        window.onresize = function() { mttg_adaptPositions.adapt(window.innerHeight,window.innerWidth); }        tmp = function() {
		divBalkenLinks = document.getElementById('divBalkenLinks');		divBalkenRechts = document.getElementById('divBalkenRechts');		divContent = document.getElementById('divContent');		divContentScroll = document.getElementById('divContentScroll');
                mttg_adaptPositions.adapt(window.innerHeight,window.innerWidth);                if( !(divBalkenLinks && divBalkenRechts && divContent && divContentScroll) )                        setTimeout(tmp,10);        	}        tmp();/* @end
@*/
