﻿// JScript File
function CreateFlash(ObjectID,
                     URL, 
                     Width, 
                     Height, 
                     BgColor)
{
//document.writeln (Width);
//document.writeln(Height);
document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"');
document.writeln('name="'+ObjectID+'" width="'+Width+'" height="'+Height+'" hspace="0" vspace="0" id="'+ObjectID+'">');
document.writeln('<param name="movie" value="'+URL+'">');
document.writeln('<param name="quality" value="high">');
document.writeln('<param name="menu" value="false">');
document.writeln('<param name="BGCOLOR" value="'+BgColor+'">');
document.writeln('<param name="LOOP" value="false">');
document.writeln('<embed src="'+URL+'" width="'+Width+'" height="'+Height+'" hspace="0" vspace="0" loop="false"');
document.writeln('quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"');
document.writeln('menu="false" bgcolor="'+BgColor+'" name="'+ObjectID+'"></embed></object>');
}
