
var swfsrc = + "top.swf?" + new Date().getTime();

var fukokuObj = {
	time : function () {
				var t = new Date();
				//t.getTime();
				return "top.swf?" + t.getTime();
			},
	src : "top.swf?" + this
}

var so = new SWFObject(fukokuObj.src, "topSwf", "100%", "800", "8", "#FFFFFF");
so.addParam("scale", "noscale");
//so.addParam("wmode", "opaque");
so.addParam("allowScriptAccess", "sameDomain");
so.write("flashcontent");



function callResize() {
	//alert($("html").height());
	var h = (window.innerHeight != undefined)? window.innerHeight: document.documentElement.clientHeight;
	try {
		swfTarget("topSwf").callHeight(h);
	} catch (e){
	}
	//alert(h);
}

window.onresize = callResize;


function swfTarget(str) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[str];
	} else {
		return document[str];
	}
}

function getInternalHeight() {
	var h = (window.innerHeight != undefined)? window.innerHeight: document.documentElement.clientHeight;
	return h;
}


