//Diese komplizierte Vorgehensweise ist nötig, da der Internet Explorer ab irgendwelchen Sicherheitsupdates aktive Inhalte erst nach anklicken aktiviert
//das würde bedeuten, dass bei normalem Einbinden mit Object-Tag der FileUpload erst nach anklicken des FileUploadControls funktioniert
//siehe http://www.adobe.com/de/devnet/activecontent/articles/devletter.html
//siehe http://msdn2.microsoft.com/en-us/library/ms537508.aspx

function embedFlashMovieSecond(movie, width, heigth)
{
    document.write('<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" height="' + heigth + '" width="' + width + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
    document.write('                    <PARAM NAME="movie" VALUE="' + movie + '"/>');
    document.write('                    <PARAM NAME="quality" VALUE="high"/>');
    document.write('                    <PARAM NAME="play" VALUE="true"/>');
    document.write('                    <embed src="' + movie + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" height="' + heigth + '" width="' + width + '">');
    document.write('                    </embed>');
    document.write('        </OBJECT>');
}

function embedFlashMovieThird(movie)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">');
    document.write('    <param name="movie" value="' + movie + '">');
    document.write('    <param name="quality" value="high">');
    document.write('    <param name="play" value="true">');
    document.write('    <param name="bgcolor" value="#FFFFFF">');
    document.write('    <param name=\"wmode\" value=\"transparent\">');
    document.write('    <embed src="' + movie + '" quality="high" bgcolor="#FFFFFF" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');
    document.write('</object>');
}


