function dispFlash (_src, _width, _height, _id, _align, _bgcolor1, _bgcolor2, _isTrans)
 {
  if ( _id == null ) _id = "";
  if ( _align == null ) _align = "";
  if ( _bgcolor1 == null ) _bgcolor1 = "#FFFFFF";
  if ( _bgcolor2 == null ) _bgcolor2 = "#FFFFFF";
  if ( _isTrans == null ) _isTrans = "n";
  document.write("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' ");
  document.write(" WIDTH='"+_width+"' HEIGHT='"+_height+"' id='"+_id+"' ALIGN='"+_align+"'>");
  document.write(" <PARAM NAME=movie VALUE='"+_src+"'> ");
  document.write(" <param name='allowScriptAccess' value='always'>");
  document.write(" <PARAM NAME=quality VALUE=high> ");
  document.write(" <PARAM NAME=bgcolor VALUE='"+_bgcolor1+"'> ");
  if ( _isTrans == "y" )
   document.write(" <PARAM NAME=wmode VALUE=transparent>");
  document.write(" <EMBED src='"+_src+"' quality=high bgcolor='"+_bgcolor2+"'  WIDTH='"+_width+"' HEIGHT='"+_height+"' NAME='"+_id+"' ALIGN='"+_align+"'");
  document.write("  TYPE='application/x-shockwave-flash' PLUGINSPAGE='https://www.macromedia.com/go/getflashplayer'  allowScriptAccess='always' >");
  document.write(" </EMBED>");
  document.write("</OBJECT>");
 }


function dispMove(_id, _width, _height, _codebase, _bgcolor, _align, _src)
{
	if(_id == null) _id = "";
	if(_width == null) _width = "";
	if(_height == null) _height = "";
	if(_codebase == null) _codebase = "";
	if(_bgcolor == null) _bgcolor = "black";
	if(_align == null) _align = "";

document.writeln("		<object id='"+ _id+"' width='"+ _width+"' height='"+ _height+"'  classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='"+_codebase+"' standby='Loading Microsoft?Windows?Media Player components...' type='application/x-oleobject' bgcolor='"+_bgcolor+"' align='"+_align+"'>");
document.writeln("                    <PARAM NAME='FileName' VALUE='"+_src+"'>");
document.writeln("                   <PARAM NAME='AutoRewind' VALUE='True'>");
document.writeln("                    <PARAM NAME='AutoStart' VALUE='True'>");
document.writeln("                    <PARAM NAME='ShowGotoBar' VALUE='0'>");
document.writeln("                    <PARAM NAME='AudioStream' VALUE='-1'>");
document.writeln("                    <PARAM NAME='AnimationAtStart' VALUE='0'>");
document.writeln("                    <PARAM NAME='AllowScan' VALUE='-1'>");
document.writeln("                    <PARAM NAME='AllowChangeDisplaySize' VALUE='-1'>");
document.writeln("                    <PARAM NAME='Balance' VALUE='0'>");
document.writeln("                    <PARAM NAME='BaseURL' VALUE=''>");
document.writeln("                    <PARAM NAME='BufferingTime' VALUE='5'>");
document.writeln("                    <PARAM NAME='CaptioningID' VALUE=''>");
document.writeln("                    <PARAM NAME='ClickToPlay' VALUE='-1'>");
document.writeln("                    <PARAM NAME='CursorType' VALUE='0'>");
document.writeln("                    <PARAM NAME='CurrentPosition' VALUE='-1'>");
document.writeln("                    <PARAM NAME='CurrentMarker' VALUE='0'>");
document.writeln("                    <PARAM NAME='DisplayBackColor' VALUE='0'>");
document.writeln("                    <PARAM NAME='DisplayForeColor' VALUE='16777215'>");
document.writeln("                    <PARAM NAME='DisplayMode' VALUE='0'>");
document.writeln("                    <PARAM NAME='Enabled' VALUE='-1'>");
document.writeln("                    <PARAM NAME='EnableContextMenu' VALUE='-1'>");
document.writeln("                    <PARAM NAME='EnablePositionControls' VALUE='-1'>");
document.writeln("                    <PARAM NAME='EnableFullScreenControls' VALUE='0'>");
document.writeln("                    <PARAM NAME='EnableTracker' VALUE='-1'>");
document.writeln("                    <PARAM NAME='InvokeURLs' VALUE='-1'>");
document.writeln("                    <PARAM NAME='Language' VALUE='-1'>");
document.writeln("                    <PARAM NAME='Mute' VALUE='0'>");
document.writeln("                    <PARAM NAME='PlayCount' VALUE='0'>");
document.writeln("                    <PARAM NAME='PreviewMode' VALUE='0'>");
document.writeln("                    <PARAM NAME='Rate' VALUE='1'>");
document.writeln("                   <PARAM NAME='SAMILang' VALUE=''>");
document.writeln("                    <PARAM NAME='SAMIStyle' VALUE=''>");
document.writeln("                    <PARAM NAME='SAMIFileName' VALUE=''>");
document.writeln("                    <PARAM NAME='SelectionStart' VALUE='-1'>");
document.writeln("                    <PARAM NAME='SelectionEnd' VALUE='-1'>");
document.writeln("                    <PARAM NAME='SendOpenStateChangeEvents' VALUE='-1'>");
document.writeln("                    <PARAM NAME='SendWarningEvents' VALUE='-1'>");
document.writeln("                    <PARAM NAME='SendErrorEvents' VALUE='-1'>");
document.writeln("                    <PARAM NAME='SendKeyboardEvents' VALUE='0'>");
document.writeln("                    <PARAM NAME='SendMouseClickEvents' VALUE='0'>");
document.writeln("                    <PARAM NAME='SendMouseMoveEvents' VALUE='0'>");
document.writeln("                    <PARAM NAME='SendPlayStateChangeEvents' VALUE='-1'>");
document.writeln("                    <PARAM NAME='ShowCaptioning' VALUE='0'>");
document.writeln("                    <PARAM NAME='ShowControls' VALUE='-1'>");
document.writeln("                    <PARAM NAME='ShowAudioControls' VALUE='-1'>");
document.writeln("                    <PARAM NAME='ShowDisplay' VALUE='0'>");
document.writeln("                    <PARAM NAME='ShowPositionControls' VALUE='-1'>");
document.writeln("                    <PARAM NAME='ShowStatusBar' VALUE='-1'>");
document.writeln("                    <PARAM NAME='ShowTracker' VALUE='-1'>");
document.writeln("                    <PARAM NAME='TransparentAtStart' VALUE='-1'>");
document.writeln("                    <PARAM NAME='VideoBorderWidth' VALUE='0'>");
document.writeln("                   <PARAM NAME='VideoBorderColor' VALUE='0'>");
document.writeln("                    <PARAM NAME='VideoBorder3D' VALUE='0'>");
document.writeln("                    <PARAM NAME='Volume' VALUE='-600'>");
document.writeln("                    <PARAM NAME='WindowlessVideo' VALUE='0'>");
document.writeln(" 		</OBJECT>");
}
