function printFlash(filename,width,height,bgcolor){
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
	document.write(' width="' + width + '" height="' + height + '">');
	document.write('<param name="allowScriptAccess" value="sameDomain">');
	document.write('<param name="movie" value="' + filename + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="' + bgcolor + '">');
	document.write('<embed src="' + filename + '" quality="high" bgcolor="' + bgcolor + '" width="' + width + '" height="' + height + '"');
	document.write(' name="" align="middle" type="application/x-shockwave-flash"');
	document.write(' pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

function subwin(url){ 
window.open(url, "window_name", "width=500,height=550,scrollbars=yes"); 
} 

var ver = 10;
//
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
var ua = navigator.userAgent;
if ( plugin ) {
	plugin = pchk(ver,1) || pchk(ver,2)
}else if (ua && ua.indexOf("MSIE")>=0 && (ua.indexOf("Windows 95")>=0 || ua.indexOf("Windows 98")>=0 || ua.indexOf("Windows NT")>=0)) {
	var str = '<SCRIPT LANGUAGE=VBScript\> \non error resume next \nplugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+ ver +'")))\n</SCRIPT> \n';
	document.write(str);
}
function pchk(num1,num2){
	return parseInt(plugin.description.substring(plugin.description.indexOf(".")-num2)) >= num1;
}
