// JavaScript Document

function loadFlash(flVersion, flName, flColor, flWidth, flHeight) {

    var flCodeBase;

    

    if (flVersion == '6')

 flCodeBase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0";

    else if (flVersion == '7')

 flCodeBase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0";

    else

 flCodeBase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0";

    

    document.writeln('<OBJECT ');

    document.writeln('classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');

    document.writeln(' codebase=" ' + flCodeBase);

    document.writeln(' ID="flash"');

    document.writeln(' WIDTH=' + flWidth);

    document.writeln(' HEIGHT=' + flHeight + '>');

    document.writeln('<PARAM NAME=movie VALUE="' + flName + '">');

    document.writeln('<PARAM NAME=quality VALUE=high>');

    document.writeln('<PARAM NAME=bgcolor VALUE=' + flColor + '>');

    document.writeln('<EMBED src="' + flName + '"');

    document.writeln(' name="flash"');

    document.writeln(' quality=high bgcolor=' + flColor);

    document.writeln(' WIDTH=' + flWidth);

    document.writeln(' HEIGHT=' + flHeight);

    document.writeln(' TYPE="application/x-shockwave-flash"');

    document.writeln(' PLUGINSPAGE="http://www.macromedia.com/shockwave/');

    document.writeln('download/index.cgi?P1_Prod_Version=ShockwaveFlash">');

    document.writeln('</EMBED></OBJECT>');



}