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

