function MakeFlashString (fileName, fileW, fileH) {
	document.write('<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="' + fileW +'" height="' + fileH +'">');
	document.write('<param name="movie" value="' + fileName +'">');
	document.write('<param name=quality value=high>');
	document.write('<param name=wmode value=transparent>');
	document.write('<embed src="' + fileName +'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + fileW +'" height="' + fileH +'"></embed> </object>');
}

function MakeFlashStringMenu (fileName, fileW, fileH) {
	document.write('<div style=position:absolute;top:0px;left:227px;z-index:10>');
	document.write('<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="' + fileW +'" height="' + fileH +'">');
	document.write('<param name="movie" value="' + fileName +'">');
	document.write('<param name=quality value=high>');
	document.write('<param name=wmode value=transparent>');
	document.write('<embed src="' + fileName +'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + fileW +'" height="' + fileH +'"></embed> </object>');
	document.write('</div>');
}

function DisplayFlash (fileName, fileW, fileH, posTop, posLeft) {
	document.write('<div style=position:absolute;top:'+ posTop +'px;left:'+ posLeft +'px;z-index:10>');
	document.write('<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="' + fileW +'" height="' + fileH +'">');
	document.write('<param name="movie" value="' + fileName +'">');
	document.write('<param name=quality value=high>');
	document.write('<param name=wmode value=transparent>');
	document.write('<embed src="' + fileName +'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + fileW +'" height="' + fileH +'"></embed> </object>');
	document.write('</div>');
}

// 2006.11.29 ¹é¾÷
//function MakeFlashStringMenu (fileName, fileW, fileH) {
//	document.write('<div style=position:absolute;top:20px;left:370px;z-index:10>');
//	document.write('<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="' + fileW +'" height="' + fileH +'">');
//	document.write('<param name="movie" value="' + fileName +'">');
//	document.write('<param name=quality value=high>');
//	document.write('<param name=wmode value=transparent>');
//	document.write('<embed src="' + fileName +'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + fileW +'" height="' + fileH +'"></embed> </object>');
//	document.write('</div>');
//}

function CheckStr(strOriginal, strFind, strChange)
{
	var position, strOri_Length;
	position = strOriginal.indexOf(strFind);

	while (position != -1)
	{
		strOriginal = strOriginal.replace(strFind, strChange);
		position = strOriginal.indexOf(strFind);
	}

	strOri_Length = strOriginal.length;
	return strOri_Length;
}

function ReplaceStr(strOriginal, strFind, strChange)
{
	var position, strOri_Length;
	position = strOriginal.indexOf(strFind);

	while (position != -1)
	{
		strOriginal = strOriginal.replace(strFind, strChange);
		position = strOriginal.indexOf(strFind);
	}

	return strOriginal;
}

function toNormal(strOriginal)
{
//	strOriginal = ReplaceStr(strOriginal,"&","&amp;");
	strOriginal = ReplaceStr(strOriginal,"<","&lt;");
	strOriginal = ReplaceStr(strOriginal,">","&gt;");
//	strOriginal = ReplaceStr(strOriginal,"'","''");

	return strOriginal;
}

function toHTML(strOriginal)
{
//	strOriginal = ReplaceStr(strOriginal,"&","&amp;");
//	strOriginal = ReplaceStr(strOriginal,"'","''");

	return strOriginal;
}


function doBlink()
{
	var blink = document.all.tags("BLINK")
	for (var i=0; i < blink.length; i++)
		blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : ""
}

function startBlink()
{
	if (document.all)
		setInterval("doBlink()",700)
}

