/*
 * Old features to reimplement :
 *
 * - hasRightVersion, boolean value
 *
 */
 
 
var hasRightVersion = false;

(function() {
	var glow;
	
	if (typeof(gloader) != 'undefined') {
	gloader.load(
		["glow", "1", "glow.embed"],
		{
			async: false,
			onLoad: function(fetchedGlow) {
				glow = fetchedGlow;
				init();
			}
		}
	);
	} else {
		// doesn't have glow.js then glow here would still be undefined
		// runs directly with newsi
		var flashVersion = newsi.getFlashVersion();
		hasRightVersion = (flashVersion) ? true : false;
	}
	
function init() {
	
	var version = glow.embed.Flash.version();
	if (typeof(version.major) == 'undefined' || version.major < 6) {
		hasRightVersion = false;
	} else {
		hasRightVersion = true;
	}
}

})();

var t1 = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=3,0,0,0" width="';
var t2 = '" height="';
var t3 = '" id="';
var t4 = '" align=""><param name=movie value="';
var t5 = '"><param name=quality value=high><param name=menu value=false><param name=bgcolor value=';
var t6 = '><embed src="';
var t7 = '" quality=high menu=false bgcolor=';
var t8 = ' width="';
var t9 = '" height="';
var t10 = '" name="';
var t11 = '" align="" type="application/x-shockwave-flash" pluginspage=\"http://www.macromedia.com/go/getflashplayer"></embed></object>';
