function swf(src, w, h)
{
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';	
	html += '<param name="wmode" value="transparent">';
	html += '<param name="menu" value="0">';
	html += '<embed src="'+src+'" menu="false" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'"  height="'+h+'"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

function media(id, w, h)
{
	html = '';
	html += '<OBJECT ID="'+id+'" 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="'+w+'" height="'+h+'">';
	html += '<PARAM NAME="FILENAME" VALUE="">';
	html += '<PARAM NAME="SHOWCONTROLS" VALUE="False">';
	html += '<PARAM NAME="SHOWSTATUSBAR" VALUE="False">';
	html += '<PARAM NAME="SHOWDISPLAY" VALUE="False">';
	html += '<PARAM NAME="TRANSPARENTATSTART" VALUE="TRUE">';
	html += '<PARAM NAME="TRANSPARENTATSTOP" VALUE="FALSE">';
	html += '<PARAM NAME="ANIMATIONATSTART" VALUE="FALSE">';
	html += '<PARAM NAME="AUTOSTART" VALUE="TRUE">';
	html += '<PARAM NAME="AUTOREWIND" VALUE="TRUE">';
	html += '<PARAM NAME="SENDMOUSECLICKEVENTS" VALUE="TRUE">';
	html += '<PARAM NAME="DISPLAYSIZE" VALUE="0">';
	html += '<PARAM NAME="AUTOSIZE" VALUE="FALSE">';
	html += '<PARAM NAME="SHOWTRACKER" VALUE="TRUE">';
	html += '<PARAM NAME="ENABLED" VALUE="1">';
	html += '<PARAM NAME="ENABLECONTEXTMENU" VALUE="0">';
	html += '<PARAM NAME="ENABLEPOSITIONCONTROLS" VALUE="1">';
	html += '<PARAM NAME="ENABLEFULLSCREENCONTROLS" VALUE="1">';
	html += '<PARAM NAME="SHOWPOSITIONCONTROLS" VALUE="1">';
	html += '<PARAM NAME="MUTE" VALUE="0">';
	html += '<PARAM NAME="RATE" VALUE="1">';
	html += '<PARAM NAME="SAMILANG" VALUE="">';
	html += '<PARAM NAME="SAMISTYLE" VALUE="">';
	html += '<PARAM NAME="SAMIFILENAME" VALUE="">';
	html += '<PARAM NAME="CLICKTOPLAY" VALUE="0">';
	html += '<PARAM NAME="CURSORTYPE" VALUE="1">';
	html += '</OBJECT>'; 
	document.write(html);
}