function resizeFlash() {
	foo = document.getElementById('swfcontent');
	if (document.body.clientWidth > 990) {
		foo.width = "100%";
	} else foo.width = "990";
	if (document.body.clientHeight > 600) {
		foo.height = "100%";
	} else foo.height = "600";
}
window.onresize = resizeFlash;
window.onload = resizeFlash;