
function playflashtrans(file,width,height,bgcolor,quality,name){
    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="'+width+'" height="'+height+'" id="'+name+'">');  
    document.write('<param name="movie" value="'+file+'" />');
    document.write('<param name="quality" value="'+quality+'" />');
    document.write('<param name="wmode" value="transparent" />');  
    document.write('<param name="bgcolor" value="'+bgcolor+'" />');
    document.write('<embed src="'+file+'" quality="'+quality+'" wmode="transparent" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
}

function writeFlash(nm, w, h) {
	var str='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' +
			'	codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ' +
			'	width="' + w + '" height="' + h + '"> ' +
			'	<param name="movie" value="' + nm + '"> ' +
			'	<param name="quality" value="high"> ' +
			'	<param name=wmode value=transparent> ' +
			'	<embed src="' + nm + '" quality="high" ' +
			'		pluginspage="http://www.macromedia.com/go/getflashplayer" ' +
			'		type="application/x-shockwave-flash" ' +
			'		width="' + w + '" height="' + h + '"> ' +
			'	</embed> ' +
			'</object> ' ;
	document.write(str);
}

function writeBora(id, w, h) {
	var str='<object id="' + id + '" width="' + w + '" height="' + h + '" ' +
//			'     classid="CLSID:D91CE131-C514-401e-802F-2C4CED1A53AD" ' +
//			'     codebase="/images/editor/DominoWe.cab#version=1,6,5,1110"> ' +
			'     classid="CLSID:56B0DCF5-77B9-49F6-AD2F-F367D22A7136" ' +
			'     codebase="/images/editor/BWordAxU.cab#version=1,6,6,315" title="º»¹® WebEditer"> ' +
			'     <param name=InitFilePath value="/images/editor/dominoWE.ini"> ' +
			'     <param name="isStatusbar" value="1" > ' +
			'     <param name="isStyleBar" value=1> º»¹® WebEditer ' +
			'</object>' ;
	document.write(str);
}

function writeNamo(id, w, h) {
	var str='<object width=0 height=0 CLASSID="clsid:5220cb21-c88d-11cf-b347-00aa00a28331" title="º»¹® WebEditer"> ' +
			'     <param name="LPKPath" value="/images/editor/NamoWec5_kotra.lpk"> º»¹® WebEditer' +
			'</object> ' +
			'<object id="' + id + '" width="' + w + '" height="' + h + '" ' +
			'     classid="CLSID:BDF7925B-999F-4e38-9A2C-EC4BEEF14C58" ' +
			'     codebase="/images/editor/NamoWec5.cab#version=5,0,0,23" title="º»¹® WebEditer"> ' +
			'	<param name="InitFileURL" value="/images/editor/namowec5.env"> º»¹® WebEditer' +
			'</object>' ;
	document.write(str);
}

function writeNationCtl(id1, id2) {
	var str='<object classid="clsid:5220cb21-c88d-11cf-b347-00aa00a28331"> ' +
			'	<param name="LPKPath" value="/images/kotra.LPK"> ' +
			'</object> ' +
			'<object id="' + id2 + '" width=0 height=0 ' +
			'	classid="CLSID:64617B96-F1FF-4CBA-88D2-1E196CD23460" ' +
			'	codebase="/images/kotra2.CAB#version=3,1,0,5"> ' +
			'</object> ' +
			'<object id="' + id1 + '"  width=0 height=0 ' +
			'	classid="CLSID:8A726436-8B4C-401A-9A82-7ED3CC446B5A" ' +
			'	codebase="/images/kotra2.CAB#version=3,1,0,5"> ' +
			'</object>' ;
	document.write(str);
}

