function enableFlash (pfad, width, height)
{
    if (getInternetExplorerVersion () != -1)
    {
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+width+'" height="'+height+'" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0">');
    }
    else
    {
       document.write('<object type="application/x-shockwave-flash" data="'+pfad+'" width="'+width+'" height="'+height+'">');
    } 
    document.write('   <param name="movie" value="'+pfad+'" />');
    document.write('   <param name="play" value="true" />');
    document.write('   <param name="loop" value="true" />');
    document.write('   <param name="quality" value="high" />');
    document.write('   <param name="wmode" value="transparent" />');
    document.write('</object>');
}
function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// Found at: 
// http://msdn.microsoft.com/workshop/author/dhtml/overview/browserdetection.asp
{
    var rv = -1; // Return value assumes failure
    if (navigator.appName == 'Microsoft Internet Explorer')
    {
        var ua = navigator.userAgent;
        var re  = new RegExp ("MSIE ([0-9]{1,}[\.0-9]{0,})");
        if (re.exec (ua) != null)
        {
        	rv = parseFloat (RegExp.$1);
        }
    }
    return rv;
}