function winW() {

	if (window.innerWidth) return window.innerWidth;
	else if (document.documentElement && document.documentElement.clientWidth)
		return document.documentElement.clientWidth;
	else if (document.body && document.body.clientWidth)
		return document.body.clientWidth;
	else return null;
	}
function scr(){
if (window.scrollY > 166)  document.getElementById("t").style.top=window.scrollY+"px" ;
else document.getElementById("t").style.top=166+"px" ;
}
function res(){
if (winW() < 970 + 150)  document.getElementById("t").style.left = 1000 +"px";
else document.getElementById("t").style.left = 23 + winW() - (winW()-970) /2   +"px";
}


document.getElementById("t").style.left = winW() - (winW()-970) /2   +"px";
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '120',
			'height', '600',
			'src', 'banner_rekreacnidomy_120x600d',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'banner_rekreacnidomy_120x600d',
			'bgcolor', '#ffffff',
			'name', 'banner_rekreacnidomy_120x600d',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'banner_rekreacnidomy_120x600d',
			'salign', ''
			); //end AC code
	}
