<!--
// insert flash object
// 2006-04-11
// src: source
// w:   width
// h:   height
// m:   wmode (transparent, opaque)
// id:  object id
// [20090114:uno] - FFÈ£È¯¼ºÀ» À§ÇØ ID°ª °³º° ³Ö±â(FF object¸¦ ÇØ¼®¸øÇØ ID°ª ÃßÃâ ºÒ°¡)
function swf_v1(src,w,h,m,id) {
	var b_is_IE = (((navigator.appVersion.indexOf('MSIE') != -1) && (parseFloat(navigator.appVersion.split('MSIE')[1]) >= 5.5)) && (navigator.userAgent.toLowerCase().indexOf('opera') == -1));
	var b_is_FF = (navigator.userAgent.toLowerCase().indexOf('firefox') != -1);
	var b_is_GK = (navigator.product == 'Gecko');

	m = ((typeof(m) == 'undefined') ? 'none' : m);
	w = (((typeof(w) != 'undefined') && (w.toString().length > 0)) ? (' width="' + w + '" ') : '');
	h = (((typeof(h) != 'undefined') && (h.toString().length > 0)) ? (' height="' + h + '" ') : '');
	id = (((typeof(id) != 'undefined') && (id.toString().length > 0)) ? (' id="' + id + '" ') : '');
	var tag = ''
	tag += '<object '
	if (b_is_IE){   tag += id   };
	tag += ' '+w+' '+h+' classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,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 '
	if (b_is_FF){   tag += id   };
	tag += ' '+w+' '+h+' src="'+src+'" wmode="'+m+'" quality="high" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></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);
}
//-->
