if(!document.all) {
        var mttg_adaptor = function() {
                this.height = 0;
                this.width = 0;

		this.adapt   = function (h,w) {
			divAll = document.getElementById('divAll');

			if( divAll && this.height != h ) {
				divAll.style.top = Math.max((h-625)/2,0);
				this.height = h;
				}
			
			if( divAll && this.width != w ) {
				divAll.style.left = Math.max((w-900)/2,0);
				this.width = w;
				}
			}
        	}

	mttg_adaptPositions = new mttg_adaptor()

        window.onresize = function() { mttg_adaptPositions.adapt(window.innerHeight,window.innerWidth); }

        tmp = function() {
                divAll = document.getElementById('divAll');

                mttg_adaptPositions.adapt(window.innerHeight,window.innerWidth);

                if( !(divAll) )
                        setTimeout(tmp,10);
        	}

        tmp();
} 

