/*
»ç¿ë¹ý (sungkwang.org) - ¼º±¤±³È¸
<script language="javascript" src="/html/css/activeX.js"></script> 
<script>mEmbed('g.swf','500','400');</script>

/html/include/top.php - ±³È¸¸Þ´º
/html/include/top.php - ±³È¸¸Þ´º

*/

/*main menu flash*/
function flash(File, width, height){
 document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='" + width + "' height='"+ height +"'>");
  document.write("<param name='movie' value='" + File + "'>");
  document.write("<param name='quality' value='high'>");
  document.write("<param name='wmode' value='transparent'> ");
  document.write("<embed src='" + File + "' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + width + "' height='"+ height +"'></embed> ");
  document.write("</object>");
}

function mEmbed(srcswf, widthVar, heightVar) {
	var contents = '<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="' + widthVar + '" height="' +heightVar +'">';
	contents += '<param name="menu" value="false">';
	contents += '<param name="movie" value="' + srcswf + '">';
    contents += '<param name="quality" value="high">';
    contents += '<embed src="' + srcswf + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + widthVar + '" height="' + heightVar +'"></embed></object>';
	document.write(contents);
}

//Eolas IE update
function swf(src,w,h){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="bgcolor" value="#ffffff">';
	html += '<param name="menu" value="false">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" menu="false" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

//Eolas IE update
/*
»ç¿ë¹ý(¸ðµç Ä¿¸àÆ®³»¿ëÀ» È­¸é¿¡ º¸¿©ÁÜ)

<comment id='__MSID__'>
<embed src = '....'> 
</embed>
</comment>
<script> __MSWrite__(__MSID__) </script>

*/

function __MSWrite__(sid)
{
	document.write(sid.data);
}