<!-- 先ずはヘッダ＋フッタの分を差し引いたFlash高さを計算 -->
<!-- Flash起動時、ウインドウリサイズ時に実行 -->
function hSet(ty){
	var h = 0;/* ---- Flash部分のサイズ ---- */
	var partsHeight = 170;/* ---- header + パンくず サイズ ---- */
	var minH = 340 + 172 + 20;/* ---- Flash部分の最低サイズ ---- */
	if(ty){
		h = ty;
	}else {
		/*h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;*/
		if(document.documentElement){
			h = document.documentElement.clientHeight;
		} else {
			h = Math.min(screen.availHeight, $(document.body).innerHeight());
		}
	}
	if(h < minH + partsHeight){ h = minH + partsHeight }
	hChange(''+ (h - partsHeight) + 'px');
}

<!-- Flash領域の高さ変更 -->
function hChange(flashHeight){
	if(document.all && !document.getElementById){
 		document.all['flashContents'].style.pixelHeight = flashHeight;
	}else{
		document.getElementById('flashContents').style.height = flashHeight;
	}
	window.document.website.focus();
}

/*setTimeout("hSet()", 100);*/
window.onResize = hSet;