
if(!document.all) {
        var mttg_adaptor = function() {
                this.height = 0;
                this.width = 0;

		this.adapt   = function (h,w) {
			divAll = document.getElementById('divAll');
			divContentBG = document.getElementById('divContentBG');

			if( divContentBG && this.width != w ) {
				divContentBG.style.left = Math.max((w-885)/2,0);
				}

			if( divAll && this.width != w ) {
				divAll.style.left = Math.max((w-885)/2,0);
				}

			if( divContentBG && divAll ) 
				this.width = w;

			}
        	}

	mttg_adaptPositions = new mttg_adaptor()

        window.onresize = function() { mttg_adaptPositions.adapt(window.innerHeight,window.innerWidth); }

        tmp = function() {
                divAll = document.getElementById('divAll');
                divContentBG = document.getElementById('divContentBG');

                mttg_adaptPositions.adapt(window.innerHeight,window.innerWidth);

                if( !(divContentBG && divAll) )
                        setTimeout(tmp,10);
        	}

        tmp();
} 
