<!--
// insert flash object
// 2006-04-11
// src: source
// w:   width
// h:   height
// m:   wmode (transparent, opaque)
// id:  object id
function swf_v1(src,w,h,m,id) {
	m = ((typeof(m) == 'undefined') ? 'none' : m);
	id = ((typeof(id) == 'undefined') ? '' : id);
	var tag = ''
	tag += '<object width="'+w+'" height="'+h+'" id="'+id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">';
	tag += '<param name="movie" value="'+src+'"/>';
	tag += '<param name="wmode" value="'+m+'"/>';
	tag += '<param name="quality" value="high"/>';
	tag += '<param name="menu" value="false">';
	tag += '<embed width="'+w+'" height="'+h+'" src="'+src+'" wmode="'+m+'" quality="high" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash"></embed>';
	tag += '</object>';
	document.write(tag);
}
// write document contents in textarea
function textarea_write(id) {
	var oEl = document.getElementById(id);
	if (oEl) {
		if (oEl.type == 'textarea') {
			document.write(oEl.value);
		}
	}
}
// write document contents
function documentwrite(src){
	document.write(src);
}
//-->
