var my_test='';

function loadFlash(htmlStaticViewer) {

    // load flash
 
    document.write(htmlStaticViewer);
    document.write('<div id="FZzoom" style="Z-INDEX: 1;visibility:visible;position:absolute;left:0px;top:0px;">');
    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(' ID="'+myName+'" WIDTH="'+movieWidth+'" HEIGHT="'+movieHeight+'" ALIGN="">');
    document.write(' <PARAM NAME=movie VALUE="' + viewerUrl + zoomType + '.swf?'+args+'">' );
    document.write(' <PARAM VALUE="transparent" NAME="wmode">');
    document.write(' <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=salign VALUE=LT> <PARAM NAME=bgcolor VALUE='+movieBgc+'>  '); 
    document.write(' <EMBED src="' + viewerUrl + zoomType + '.swf?'+args+'"');  
    document.write(' NAME="'+myName+'" QUALITY="high" BGCOLOR="'+movieBgc+'" WIDTH="'+movieWidth+'" HEIGHT="'+movieHeight+'" SWLIVECONNECT="true"');
    document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" WMODE="transparent">');
    document.write(' </EMBED></OBJECT>');
    document.write('</div>');

}