function setFlashWidth(divid){
	if (window.innerWidth) {	// Firefox?
		if (window.innerWidth < 900) {
			document.getElementById(divid).style.width = 900+"px";		
		} else {
			document.getElementById(divid).style.width = 100+"%";
		}
	} else {			// IE!
		if (document.body.offsetWidth < 900) {
			document.getElementById(divid).style.width = 900+"px";		
		} else {
			document.getElementById(divid).style.width = 100+"%";
		}
	}
}
function setFlashHeight(divid){
	if (window.innerHeight) {	// Firefox?
		if (window.innerHeight < 575) {
			document.getElementById(divid).style.height = 575+"px";
			window.status="575";
		} else {
			document.getElementById(divid).style.height = 100+"%";
		}
	} else {			// IE!
		if (document.body.offsetHeight < 575) {
			document.getElementById(divid).style.height = 575+"px";		
		} else {
			document.getElementById(divid).style.height = 100+"%";
		}
	}
}
function setFlashSize(divid){
	setFlashWidth(divid);
	setFlashHeight(divid);
	if (window.innerWidth) {	//Firefox
		//window.status="width:" + window.innerWidth + " height:" + window.innerHeight;
	} else {			//IE
		//window.status="width:" + document.body.offsetHeight + " height:" + document.body.offsetWidth;
	}
}
function canResizeFlash(){
	var ua = navigator.userAgent.toLowerCase();
	var opera = ua.indexOf("opera");
	if( document.getElementById ){
		if(opera == -1) return true;
		else if(parseInt(ua.substr(opera+6, 1)) >= 7) return true;
	}
	return false;
}