Mpg Overlaps transparent SWF

i inserted this script on my html, but it overlaps my flash. Its suppose to be swf over mpg. Whats wrong with this script? Help.

<script language=“JavaScript”>
<!–
function removeDiv()
{
document.all.Layer1.style.display = ‘none’;
}

// -->
</script>

<script LANGUAGE=“JavaScript”>
<!–
var ShockMode = 0;
if ((navigator.appVersion.indexOf(“MSIE”) != -1) && (navigator.appVersion.indexOf(“Windows”) != -1)) {
//using IE on windows
ShockMode = 1;
}

if (ShockMode ==1) {
document.write(’<div id=“Layer1” style=“position:absolute; left:0px; top:0px; width:1024px; height:576px; z-index:1”>’);
document.write(’<object classid=“clsid27CDB6E-AE6D-11cf-96B8-444553540000”

codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0” width=“1024” height=“576”>’);
document.write(’<param name=movie value=“infortv.swf”> ‘);
document.write(’<param name=“wmode” value=“transparent”> ‘);
document.write(’<param name=quality value=high> ‘);
document.write(’<embed src=“infortv.swf” wmode=“transparent” quality=high

pluginspage=“http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash

type=“application/x-shockwave-flash” width=“1024” height=“576”> ‘);
document.write(’</embed></object></div> ')
}

else if (!(navigator.appName && navigator.appName.ndexOf(“Netscape”)>=0 && navigator.appVersion.indexOf(“2.”)>=0))
{
//can write something else if you want, or just leave blank
}

//–>
</script>

<object id=“MediaPlayer1” CLASSID=“CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95”

codebase=“http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
standby=“Loading Microsoft Windows® Media Player components…” type=“application/x-oleobject” width=“1024” height=“576”>
<param name=“fileName” value=“euronews.mpg”>
<param name=“transparentatStart” value=“true”>
<param name=“showControls” value=“false”>
<embed wmode=“transparent” type=“application/x-mplayer2” pluginspage=“http://www.microsoft.com/Windows/MediaPlayer/

src=“euronews.mpg” name=“MediaPlayer1” width=1024 height=576 autostart=1 showcontrols=0 volume=-450>
</object>