function FLVPlayer(file, w, h, as, l, bc, c1, c2) {
	var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
	var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
	var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
	var URL = 'player.swf?flv='+file+'&as='+as+'&l='+l+'&bc='+bc+'&c1='+c1+'&c2='+c2;
	if (isIE && isWin && !isOpera) {
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'+ 
							'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"'+
							'width="'+w+'" height="'+h+'"'+
							'id="player">'+
						'<param name="allowScriptAccess" value="sameDomain" />'+ 
						'<param name="movie" value="'+URL+'" />'+ 
						'<param name="quality" value="high" />'+ 
						'<param name="devicefont" value="true" />'+ 
						'</object>');
	} else {
		document.write('<embed name="player"'+
							'src="'+URL+'"'+
							'quality="high"'+
							'devicefont="true"'+
							'width="'+w+'" height="'+h+'"'+
							'allowScriptAccess="sameDomain"'+
							'type="application/x-shockwave-flash"'+
							'pluginspage="http://www.macromedia.com/go/getflashplayer"> '+ 
						'</embed>');
	}
}

