	prefflashb = "";
	prefflashb = "";
	prefflashv = "";
	document.write('<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
	document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
	document.write(' WIDTH="'+flashWidth+'" HEIGHT="'+flashHeight+'">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<PARAM NAME=movie VALUE="'+flashSrc+'"> ');
	embedmodtr = 'wmode="transparent"';
	if (flashtrans==1){
		document.write('<param name="wmode" value="transparent">');	
	}
	if (flashtrans==2){
		document.write('<param name="wmode" value="opaque">');	
		embedmodtr = 'wmode="opaque"';
	}
	prefflashb = ""
	if (typeof flashBase != "undefined")
	{
	document.write('<PARAM NAME=base VALUE="'+flashBase+'">');
	prefflashb = 'BASE="'+flashBase+'"'
	}
	if (typeof flashVars != "undefined")
	{
	document.write('<param name="Flashvars" value="'+flashVars+'" >');
	prefflashv = 'Flashvars="'+flashVars+'"'
	}
	
	
	document.write('<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE="'+flashBg+'">');
	document.write('<EMBED src="'+flashSrc+'" quality=high bgcolor="'+flashBg+'" WIDTH="'+flashWidth+'" HEIGHT="'+flashHeight+'" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" '+embedmodtr+' '+prefflashb+' '+prefflashv+'></EMBED>');
	document.write('</OBJECT>');
	