function play(video,w,h,s,box)
{
	var url = ""; //flv 文件地址
	var swfp = "/script/swfPlayer.swf";  //播放器地址
	//video = url + video + ".flv";
	//video = url + video;
	var IsAutoPlay = "&IsAutoPlay=1"; //自动播放

	if (w == '' || w ==null || w ==undefined)
	{
		w = 640; // 默认宽度
	}
	if (h == '' || h ==null || h ==undefined)
	{
		h = 480; // 默认高度
	}
    if (s == 0 )
    {
        IsAutoPlay='';  //不自动播放
    }
	if (box == '' || box ==null || box ==undefined)
	{
		box = "flash"; // 默认高度
	}
			var vp = document.getElementById(box);

	            vp.innerHTML = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://61.135.147.81:81/swf/swflash.cab#version=6,0,0,0" width="'+ w +'" height="'+ h +'">'
                + '<param name="movie" value="'+ swfp +'">'
                + '<param name="quality" value="high">'
                + '<param name="menu" value="false">'
                + '<param name="allowFullScreen" value="true" />'
                + '<param name="FlashVars" value="vcastr_file='+ video +''+ IsAutoPlay +'">'
                + '<embed src="'+ swfp +'" allowFullScreen="true" FlashVars="vcastr_file='+ video +''+ IsAutoPlay +'" menu="false" quality="high" width="'+ w +'" height="'+ h +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
                + '</object>'; 
             
}

