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

		this.adapt   = function (h,w) {
			divAll = document.getElementById('divAll');
			if( divAll ) {
				if( this.width != w ) {
					divAll.style.left = Math.max((w-928)/2,5);
					this.width = w;
				}
				if( this.height != h ) {
					divAll.style.top = Math.max((h-500)/2,20);
					this.heigth = h;
				}
			}
		}
	}

	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();
} 
