/****************************************************************************
	namosw_goto_byselect - ¸®½ºÆ® ¸Þ´º
*****************************************************************************/

function namosw_goto_byselect(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = sel.options[index].value;
     }
  }
}

/****************************************************************************
	F_viewSwf - ´Ü¼ø FlashÀÏ °æ¿ì
*****************************************************************************	
	- width		: °¡·ÎÅ©±â
	- height	: ¼¼·ÎÅ©±â
	- wmode	: Åõ¸í, Àý´ëÀ§Ä¡µî ·¹ÀÌ¾îÀÇ ±â´É 
	- url			: ÇÃ·¡½¬ ÆÄÀÏÀÇ °æ·Î
*****************************************************************************/

function F_viewSwf(width, height, wmode, url){

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ");
	document.write("		codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' ");
	document.write("		width='"+width+"' height='"+height+"' align='middle'>");
	document.write("	<param name='allowScriptAccess' value='always' /> ");
	document.write("	<param name='movie'				value='"+url+"' /> ");
	document.write("	<param name='quality'			value='high' /> ");
	document.write("	<param name='wmode'				value='"+wmode+"'> ");
	document.write("	<embed src='"+url+"' quality='high' width='"+width+"' height='"+height+"' align='middle' ");
	document.write("		allowScriptAccess='sameDomain' type='application/x-shockwave-flash' ");
	document.write("		pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

/****************************************************************************
	MoveQuickMenu - Äü¸Þ´º
*****************************************************************************/

function zoomDefault() 
{ 
    nowZoom = 100; 
    document.body.style.zoom = nowZoom + "%"; 
} 
// Quick Menu
var stmnLEFT = 800; // ¿ÞÂÊ ¿©¹é (¸Þ´º°¡ ¿À¸¥ÂÊ¿¡¼­ ÁöÁ¤µÈ À½¼ö°ª ÇÈ¼¿¸¸Å­ ¶³¾îÁø °÷¿¡ º¸¿©Áý´Ï´Ù)
var stmnGAP1 = 32; // À§ÂÊ ¿©¹é (¸Þ´º°¡ À§¿¡¼­ 10ÇÈ¼¿ ¶³¾îÁø °÷¿¡ º¸¿©Áý´Ï´Ù)
var stmnGAP2 = 200; // ½ºÅ©·Ñ½Ã ºê¶ó¿ìÀú À§ÂÊ°ú ¶³¾îÁö´Â °Å¸®
var stmnBASE = 100; // ½ºÅ©·Ñ ½ÃÀÛÀ§Ä¡
var stmnActivateSpeed = 10;
var stmnScrollSpeed = 100;
var stmnTimer;

function RefreshStaticMenu() {
	var stmnStartPoint, stmnEndPoint;

	stmnStartPoint = parseInt(document.getElementById('quick').style.top, 10);
	stmnEndPoint = Math.max(document.documentElement.scrollTop, document.body.scrollTop) + stmnGAP2;
	if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;

	if (stmnStartPoint != stmnEndPoint) {
		stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
		document.getElementById('quick').style.top = parseInt(document.getElementById('quick').style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount ) + 'px';
		stmnRefreshTimer = stmnScrollSpeed;
	}

	stmnTimer = setTimeout("RefreshStaticMenu();", stmnActivateSpeed);
}


function InitializeStaticMenu() {
	document.getElementById('quick').style.marginLeft = stmnLEFT + 'px';
	document.getElementById('quick').style.top = document.body.scrollTop + stmnBASE + 'px';
	RefreshStaticMenu();
}

function writeFlash(path_, width_, height_, flashvars_, transparent_){

	width_			= width_ || "100%";
	height_			= height_ || "100%";
	flashvars_		= flashvars_ || "";
	transparent_	= transparent_ ? "window" : "transparent";
	var n			= 0, strFlash;
	while(el("flashMedia_" + n))
		n++;
	if(User.browser == "msie")
		strFlash	= "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"" + width_ + "\" height=\"" + height_ + "\" id=\"flashMedia_" + n + "\">"
					+ "    <param name=\"movie\" value=\"" + path_ + "\">"
					+ "    <param name=\"menu\" value=\"false\">"
					+ "    <param name=\"wmode\" value=\"" + transparent_ + "\">"
					+ "    <param name=\"quality\" value=\"high\">"
					+ "    <param name=\"allowscriptaccess\" value=\"always\">"
					+ "    <param name=\"flashvars\" value=\"" + flashvars_ + "\">"
					+ "</object>";
	else
		strFlash	= "<embed src=\"" + path_ + "\" quality=\"high\" wmode=\"" + transparent_ + "\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + width_ + "\" height=\"" + height_ + "\" allowScriptAccess=\"always\" name=\"" + flashvars_ + "\" flashvars=\"" + flashvars_ + "\"></embed>";

	document.write(strFlash);
}


/*******************************************************************************************************
	<!--[quick]-->
	<div id="quick">
		<script type="text/javascript">
			InitializeStaticMenu();
		</script>
		<p><script type="text/javascript">
			writeFlash('/swf/quick.swf',"66","303","");
			</script></p>
        	
	</div>
	<!--//[quick]-->
	
********************************************************************************************************/




