// JavaScript Document
function getWinSize(){
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		winW = window.innerWidth - 0;
		winH = window.innerHeight - 0;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		winW = document.documentElement.clientWidth;
		winH = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		winW = document.body.clientWidth-4;
		winH = document.body.offsetHeight-4;
	}
}
function resizeFlash(){
	getWinSize();
	winWW = winW;
	winHH = winH;
	if( winWW < 1000 ) winWW = 1000;
	if( winHH < 625 ) winHH = 625;
	a = document.getElementById('flashHolder');
	a.style.width = winWW + 'px';
	a.style.height = winHH + 'px';
	a = document.getElementById('flashObject');
	a.style.width = winWW - 0 + 'px';
	a.style.height = winHH - 0 + 'px';
	a.outerHTML = a.outerHTML;
}
function init(){
	window.onresize = resizeFlash;
	resizeFlash();
	//document.onresize = writeFlash();
}