
function topFlash(flashImage, link, height, width, staticImage) {
	if (!useRedirect) {
		if(hasRightVersion) {
		oeTags = ''
			+ '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" '
			+ 'codebase="https:\/\/fpdownload.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=8,0,0,0" '
			+ 'width="'+width+'" height="'+height+'" align="middle">'
			+ '<param name="allowScriptAccess" value="sameDomain" \/>'
			+ '<param name="movie" value="'+flashImage+'" \/>'
			+ '<param name="quality" value="high" \/>'
			+ '<param name="bgcolor" value="#000000" \/>'
			+ '<param name="scale" value="noscale" \/>'
			+ '<embed src="'+flashImage+'" quality="high" scale="noscale" bgcolor="#000000" '
			+ 'width="'+width+'" height="'+height+'" align="middle" allowScriptAccess="sameDomain" '
			+ 'type="application\/x-shockwave-flash" pluginspage="https:\/\/www.macromedia.com\/go\/getflashplayer" \/>'
			+ '<\/object>'
			document.write(oeTags);
		} else {
			if (link.length>0) document.write('<a href="'+link+'">');
			document.write('<img src="'+staticImage+'"  height="'+height+'" width="'+width+'" border="0" alt=""\/>');
			if (link.length>0) document.write('<\/a>');
		}
	}
}