function insertFlash(width, height, url)
{
    document.write('<object width="'+width+'" height="'+height+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
    document.write('<param name="allowScriptAccess" value="sameDomain">');
    document.write('<param name="movie" value="'+url+'">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="menu" value="false">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<embed src="'+url+'" wmode="transparent" menu="false" quality="high" width="'+width+'" height="'+height+'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
    document.write('</object>');
}
function insertFlash2(width, height, url)
{
    document.write('<object width="'+width+'" height="'+height+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
    document.write('<param name="allowScriptAccess" value="sameDomain">');
    document.write('<param name="movie" value="'+url+'">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="menu" value="false">');
    document.write('<embed src="'+url+'" wmode="transparent" menu="false" quality="high" width="'+width+'" height="'+height+'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
    document.write('</object>');
}

function insertFocus(width, height, vars)
{
    document.write('<object width="'+width+'" height="'+height+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">');
    document.write('<param name="allowScriptAccess" value="sameDomain">');
    document.write('<param name="movie" value="http://www.yn35.net/Focus.swf">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="menu" value="false">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="FlashVars" value="'+vars+'">');
    document.write('<embed src="http://www.yn35.net/images/focus.swf" wmode="transparent" FlashVars="'+vars+'" menu="false" quality="high" width="'+width+'" height="'+height+'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
    document.write('</object>');
}
function insertFocus(focus_width,focus_height,text_height, vars)
{	 
     var swf_height = focus_height+text_height
	 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
	 document.write('<param name="allowScriptAccess" value="sameDomain">')
	 document.write('<param name="movie" value="http://sports.qq.com/flash/playswf.swf">')
	 document.write('<param name=wmode value=transparent>')
	 document.write('<param name="quality" value="high">');
	 document.write('<param name="menu" value="false">')
	 document.write('<param name=wmode value="opaque">');
	 document.write('<param name="FlashVars" value="'+vars+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
	 document.write('<embed src="http://sports.qq.com/flash/playswf.swf" wmode="opaque" FlashVars="'+vars+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#DADADA" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  
	 document.write('</object>');
}
