function setFlashObjectSWF(a_sFile, a_iHeight, a_iWidth, a_sID, a_bLoop, a_sWmode) {
	a_sWmode	= a_sWmode ? a_sWmode : 'transparent';
	if (AC_FL_RunContent == 0) {
//		alert("This page requires AC_RunActiveContent.js.");
	} else {
		var oObj;
		if (oObj = document.getElementById(a_sID)) {
			oObj.innerHTML = '';
		}
		
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
			'width', a_iWidth,
			'height', a_iHeight,
			'border', '0',
			'src', a_sID,
			'quality', 'best',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', a_bLoop,
			'scale', 'showall',
			'wmode', a_sWmode,
			'devicefont', 'false',
			'id', a_sID,
			'bgcolor', '#FFFFFF',
			'name', a_sID,
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', a_sFile,
			'salign', ''
			); //end AC code
		
	}
}

function setFlashObjectFLV(a_sFile, a_iHeight, a_iWidth, a_sID, a_sImage) {
	var oSWFFlash = new SWFObject(CONF_sSWFplayer,"single",""+a_iWidth,""+a_iHeight,"7");
	oSWFFlash.addParam("allowfullscreen","true");
	oSWFFlash.addVariable("file",a_sFile+".flv");
	oSWFFlash.addVariable("image",CONF_getDir('dir_media')+a_sImage);
	oSWFFlash.addVariable("width",""+a_iWidth);
	oSWFFlash.addVariable("height",""+a_iHeight);
	oSWFFlash.write(a_sID);
}