<!--
function replaceContent(swf) {
	var replaceContentWith = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
  + 'width="100%" height="100%"'
  + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
  + '<param name="movie" value="flash/'+swf+'" />'
  + '<param name="quality" value="high" /><param name="bgcolor" value="#000000" />'
  + '<embed src="flash/'+swf+'" quality="high" bgcolor="#000000" '
  + 'width="100%" height="100%" name="downloadCancelled" aligh="top"'
  + 'play="true"'
  + 'loop="false"'
  + 'quality="high"'
  + 'allowScriptAccess="sameDomain"'
  + 'type="application/x-shockwave-flash"'
  + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
  + '<\/embed>'
  + '<\/object>';
	var div = document.getElementById("playerProductInstall");
	div.innerHTML = replaceContentWith;
}
//
function onLoadFlashContainer() {
	document.getElementById("flashcontainer").style.width = "100%";
	document.getElementById("flashcontainer").style.height = "100%";
	resizeFlashContainer();
}
//
function getWinSize() {
	var winH, winW;
	if (parseInt(navigator.appVersion)>3) {
		if (navigator.appName=="Netscape") {
			winW = window.innerWidth;
			winH = window.innerHeight;
		}
		if (navigator.appName.indexOf("Microsoft")!=-1) {
			winW = document.body.offsetWidth;
			winH = document.body.offsetHeight;
		}
	}
	return {height: winH, width: winW};
}
//
function resizeFlashContainer() {
	var winSize = getWinSize();
	var w = winSize.width < 968? "968px" : "100%";
	var h = winSize.height < 865? "865px" : "100%";
	if (navigator.appName.indexOf("Microsoft") != -1) {
		if (w!="100%" || h!="100%") {
			document.body.overflow = "auto";
		} else {
			document.body.overflow = "hidden";
		}
	}
	document.getElementById("flashcontainer").style.width = w;
	document.getElementById("flashcontainer").style.height = h;
}
// -->