<!------------------Drop script start----------------->
var isDOM = (document.getElementById ? true : false); 
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);

function getRef(id)
{
	if (isDOM) return document.getElementById(id);
	if (isIE4) return document.all[id];
	if (isNS4) return document.layers[id];
}

var isNS = navigator.appName == "Netscape";

function moveRightEdge()
{
	var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
	if (isNS4)
	{
		yMenuFrom   = divMenu.top;
		yMenuTo     = windows.pageYOffset + 320;   // À§ÂÊ À§Ä¡
	}
	else if (isDOM)
	{
		yMenuFrom   = parseInt (divMenu.style.top, 10);
		yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 320; // À§ÂÊ À§Ä¡
	}

	timeoutNextCheck = 10;

	if (yMenuFrom != yMenuTo)
	{
		yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 15);
		if (yMenuTo < yMenuFrom)
			yOffset = -yOffset;
		if (isNS4)
			divMenu.top += yOffset;
		else if (isDOM)
			divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;
			timeoutNextCheck = 10;
	}
	setTimeout ("moveRightEdge()", timeoutNextCheck);
}
<!----------------Drop script End---------------------------->


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//À©µµ¿ìÃ¢ ÀÚµ¿À¸·Î È­¸é°¡µæ Ã¤¿ì±â------------------------------------------------------------
//var larg_schermo = screen.availWidth;
//var  altez_schermo =  screen.availHeight;
//window.resizable = false;
//window.focus();

//self.moveTo(0,0)
//self.resizeTo(larg_schermo,altez_schermo)
//---------------------------------------------------------------------------------------------


// Script For Flash & ActiveX -------------------------------------------------------------------------------------

// Example --------------------------------------------------------------------------------------------------------
// DocumentWrite(MakeFlashString('image/ml_flash.swf','330','520'));
// SetInnerHTML(document.all.mm, MakeFlashString('image/ml_flash.swf','emb1','330','520','opaque'));
// @@ÁÖÀÇ »çÇ× 
//  - »óÈ£ÀÛ¿ë ¾ø´Â ÄÁÅÙÃ÷´Â DocumentWrite, SetInnerHTML µÑ´Ù »ç¿ë °¡´É
//  - »óÈ£ÀÛ¿ë ÀÖ´Â ÄÁÅÙÃ÷´Â SetInnerHTML¸¸ »ç¿ë °¡´É
// ----------------------------------------------------------------------------------------------------------------

function MakeFlashString(source,width,height)
{	
	return "<embed src="+source+" quality=high menu=false wmode=transparent type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+"></embed>";
}

function MakeObjectString(classid, codebase, name, id, width,height, param)
{
	return "<object classid="+classid+" codebase="+codebase+" name="+name+" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" />"+param+"</object>";
}

// innerHTML Type
function SetInnerHTML(target, code)
{ 
	target.innerHTML = code; 
}

// Direct Write Type
function DocumentWrite(src)
{
	document.write(src);
}


//»õÃ¢À¸·Î ÀÌ¹ÌÁö ¶ç¿ì±â
function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt) {
newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight);
newWindow.document.open();
newWindow.document.write('<HTML><TITLE>'+alt+'</TITLE><BODY bgcolor="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" onBlur="self.close()">'); 
newWindow.document.write('<IMG SRC='+imageName+' WIDTH='+imageWidth+' HEIGHT='+imageHeight+' ALT='+alt+'>'); 
newWindow.document.write('</BODY></HTML>');
newWindow.document.close();
newWindow.focus();
}

//»õÃ¢¿­±â
function pop(pPage,Opt) {
 popUpWin = window.open(pPage,'',Opt);
 }




var scroll_pixel,div_pixel,gtpos,gbpos,loop,moving_spd;
var top_margin = 350;
var top_margin2 = 350;
var speed = 20;
var speed2 = 15;
var moving_stat = 1;

function check_scrollmove()
{
if(document.body && (document.body.scrollLeft || document.scrollTop)){
scroll_pixel = document.body.scrollTop;
gtpos = document.body.scrollTop+top_margin;
gbpos = document.body.scrollTop+top_margin2;
}else if(document.documentElement &&(document.documentElement.scrollLeft||document.documentElement.scrollTop))
{
scroll_pixel = document.documentElement.scrollTop;
gtpos = document.documentElement.scrollTop+top_margin;
gbpos = document.documentElement.scrollTop+top_margin2;
}
if(div_id.style.pixelTop < gtpos)
{
moving_spd=(gbpos-div_id.style.pixelTop)/speed;
div_id.style.pixelTop += moving_spd;
}
if(div_id.style.pixelTop > gtpos)
{
moving_spd=(div_id.style.pixelTop-gtpos)/speed;
div_id.style.pixelTop -= moving_spd;
}
loop = setTimeout("check_scrollmove()",speed2);
}
function moving_control()
{
if(!moving_stat){check_scrollmove(); moving_stat=1;}
else{clearTimeout(loop); moving_stat=0; div_id.style.pixelTop = top_margin;}
}


/*
 * div center moving
 * choi.bs
 */
var divOBJ=null;


function reSize(obj)
{
    try{
    var objBody = document.body;
    var objFrame = document.getElementById(obj);
    var ifrmWidth = objBody.clientWidth;
	var ifrmLeft=(ifrmWidth-838)/2;
	objFrame.style.left=ifrmLeft;
    }catch(e){}
}

function loop_center()
{
	try {
		if (divOBJ!=null)
		{
			reSize(divOBJ);
		}
	} catch(e) {}
	setTimeout('loop_center()',300)
}
//window.onload = loop_center;

setTimeout('loop_center()',1000)

/*initMoving */
function initMoving(target, position, topLimit, btmLimit) {
	if (!target)
		return false;

	var obj = target;
	obj.initTop = position;
	obj.topLimit = topLimit;
	obj.bottomLimit = document.documentElement.scrollHeight - btmLimit;

	obj.style.position = "absolute";
	obj.top = obj.initTop;
	obj.left = obj.initLeft;

	if (typeof(window.pageYOffset) == "number") {
		obj.getTop = function() {
			return window.pageYOffset;
		}
	} else if (typeof(document.documentElement.scrollTop) == "number") {
		obj.getTop = function() {
			return document.documentElement.scrollTop;
		}
	} else {
		obj.getTop = function() {
			return 0;
		}
	}

	if (self.innerHeight) {
		obj.getHeight = function() {
			return self.innerHeight;
		}
	} else if(document.documentElement.clientHeight) {
		obj.getHeight = function() {
			return document.documentElement.clientHeight;
		}
	} else {
		obj.getHeight = function() {
			return 300;
		}
	}

	obj.move = setInterval(function() {
		if (obj.initTop > 0) {
			pos = obj.getTop() + obj.initTop;
		} else {
			pos = obj.getTop() + obj.getHeight() + obj.initTop;
			//pos = obj.getTop() + obj.getHeight() / 2 - 15;
		}

		if (pos > obj.bottomLimit)
			pos = obj.bottomLimit;
		if (pos < obj.topLimit)
			pos = obj.topLimit;

		interval = obj.top - pos;
		obj.top = obj.top - interval / 3;
		obj.style.top = obj.top + "px";
	}, 30)
}

// Embeded function image Over
function imageOver(imgEl) {
	imgEl.src = imgEl.src.replace("_off.gif", "_on.gif");
}
function imageOut(imgEl) {
	imgEl.src = imgEl.src.replace("_on.gif", "_off.gif");
}


function menuOver() {	this.src = this.src.replace("off.gif", "on.gif");}
function menuOut() {	this.src = this.src.replace("on.gif", "off.gif");}

// Tabbed menu
function initTabMenu(menuElId) {
	var tabMenu = document.getElementById(menuElId).getElementsByTagName("a");
	if(tabMenu.length > 0){
		for(i=0; i<tabMenu.length; i++) {
			thismenu = tabMenu.item(i);
			thismenu.menuContainer = document.getElementById(menuElId);
			thismenu.targetEl = document.getElementById(tabMenu.item(i).href.split("#")[1]);
			thismenu.targetEl.style.display = "none";
			if(thismenu.getElementsByTagName("img").length>0)	{
				thismenu.getElementsByTagName("img").item(0).onmouseover = menuOver;
				thismenu.getElementsByTagName("img").item(0).onmouseout = menuOut;
			}
			thismenu.onclick = tabMenuClick;
		}
		initmenu = tabMenu.item(0);
		initmenu.menuContainer = document.getElementById(menuElId);
		initmenu.targetEl = document.getElementById(initmenu.href.split("#")[1]);
		initmenu.targetEl.style.display = "block";
		initmenu.className = "activate";
		if(initmenu.getElementsByTagName("img").length>0)	{
			initmenu.getElementsByTagName("img").item(0).onmouseover();
			initmenu.getElementsByTagName("img").item(0).onmouseover = null;
			initmenu.getElementsByTagName("img").item(0).onmouseout = null;
		}
		initmenu.menuContainer.current = initmenu;
	}
}

// Tabbed menu mouseOver
function initTabMenu2(menuElId) {
	var tabMenu = document.getElementById(menuElId).getElementsByTagName("a");
	if(tabMenu.length > 0){
		for(i=0; i<tabMenu.length; i++) {
			thismenu = tabMenu.item(i);
			thismenu.menuContainer = document.getElementById(menuElId);
			thismenu.targetEl = document.getElementById(tabMenu.item(i).href.split("#")[1]);
			thismenu.targetEl.style.display = "none";
			if(thismenu.getElementsByTagName("img").length>0)	{
				thismenu.getElementsByTagName("img").item(0).onmouseover = menuOver;
				thismenu.getElementsByTagName("img").item(0).onmouseout = menuOut;
			}
			thismenu.onmouseover = tabMenuClick;
		}
		initmenu = tabMenu.item(0);
		initmenu.menuContainer = document.getElementById(menuElId);
		initmenu.targetEl = document.getElementById(initmenu.href.split("#")[1]);
		initmenu.targetEl.style.display = "block";
		initmenu.className = "activate";
		if(initmenu.getElementsByTagName("img").length>0)	{
			initmenu.getElementsByTagName("img").item(0).onmouseover();
			initmenu.getElementsByTagName("img").item(0).onmouseover = null;
			initmenu.getElementsByTagName("img").item(0).onmouseout = null;
		}
		initmenu.menuContainer.current = initmenu;
	}
}
function tabMenuClick() {
	currentmenu = this.menuContainer.current;
	if (currentmenu != this) {
		currentmenu.targetEl.style.display = "none";
		currentmenu.className = null;
		if(currentmenu.getElementsByTagName("img").length>0)	{
			currentmenu.getElementsByTagName("img").item(0).onmouseover = menuOver;
			currentmenu.getElementsByTagName("img").item(0).onmouseout = menuOut;
			currentmenu.getElementsByTagName("img").item(0).onmouseout();
		}
		this.targetEl.style.display = "block";
		this.className = "activate";
		if(this.getElementsByTagName("img").length>0)	{
			this.getElementsByTagName("img").item(0).onmouseover = null;
			this.getElementsByTagName("img").item(0).onmouseout = null;
		}
		this.menuContainer.current = this;
	}
	return false;
}


function viewDisplay(obj){
  Obj = document.getElementById(obj);
  if (Obj.className == '' || Obj.className == 'visible') {
		Obj.className = 'hidden';
  } else {
	  Obj.className = 'visible';
  }
 }


 /* top show/hide */
 function ReverseDisplay(obj) {
	 
	if(document.getElementById(obj).style.display == "" || document.getElementById(obj).style.display == "none")	{ 
		document.getElementById(obj).style.display = "block";
		document.getElementById("net").src="/images/common/layout/btn_cmcfm_close.gif";
	}
	else { 
			document.getElementById(obj).style.display = "none"; 
			document.getElementById("net").src="/images/common/layout/btn_cmcfm_open.gif";
		}
}

var old_index="0";
 function ReverseDisplay2(index) {
	var obj="question";

		document.getElementById(obj +index+"_1").style.visibility = "visible"; 
		document.getElementById(obj +index+"_2").style.visibility = "visible"; 
		document.getElementById(obj +index+"_1").style.display = ""; 
		document.getElementById(obj +index+"_2").style.display = ""; 

		if (old_index!="0")
		{
		document.getElementById(obj +old_index+ "_1").style.display = "none"; 
		document.getElementById(obj +old_index+ "_2").style.display = "none"; 
		document.getElementById(obj +old_index+ "_2").style.visibility = "hidden"; 
		document.getElementById(obj +old_index+ "_1").style.visibility = "hidden"; 
		}
		old_index=index;

}

function HideContent(obj) {
document.getElementById(obj).style.display = "none";
divOBJ=null;
}
function ShowContent(obj) {
	if (divOBJ!=null)
	{
		HideContent(divOBJ);
	}
	document.getElementById(obj).style.display = "block";
	if (obj=="bgsearch" || obj=="reserwrap")
	{
		divOBJ=obj;
	}
}

// fmeduView
function fmeduView(obj) {
	var target = document.getElementById(obj);
	target.style.display = (target.style.display=='none' ? 'block':'none');
}

/* png24 */
function setPNG24(obj) {
	obj.width=obj.height=1;
	obj.className=obj.className.replace(/\bPNG24\b/i,'');
	obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
	obj.src='';
	return '';
}

/* font_zomm */
var arrTag = new Array( 'div','td','tr', 'a');
var arrSize = new Array( '8','9','10','11','12','13','14','15','16','17','18' );
var stSize = 4;

function AutoTextSize(tget,cnt) {
	var cText = null, sSize = stSize, cTag;

	sSize += cnt;
	
	if ( sSize < 0 ) sSize = 0;
	if ( sSize > 10 ) sSize = 10;

	stSize = sSize;

	if (!( cText = document.getElementById(tget))) 
		cText = document.getElementsByTagName(tget)[0];
		cText.style.fontSize = arrSize[sSize]+'px';
	
	for ( i = 0 ; i < arrTag.length ; i++ ) {
		cTag = cText.getElementsByTagName(arrTag[i]);
		for ( j = 0 ; j < cTag.length ; j++ ) {
			cTag[j].style.fontSize = arrSize[sSize]+'px';
		}
	}
}

//flash
function swfprint(furl,fwidth,fheight,transoption, Id) {
    if (Id) {
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+ fwidth +'" height="' + fheight +'" align="middle" id="'+Id+'">');
    } else {
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+ fwidth +'" height="' + fheight +'" align="middle">');
    }
    document.write('<param name="movie" value="'+ furl +'"/>');
    document.write('<param name="allowScriptAccess" value="always"/>');
    if (transoption == "t") {
        document.write('<param name="wmode" value="transparent"/>');
    } else if (transoption == "o") {
        document.write('<param name="wmode" value="opaque"/>');
    }
    document.write('<!-- Hixie method -->');
    document.write('<!--[if !IE]> <-->');
    document.write('<object type="application/x-shockwave-flash" allowScriptAccess="always" data="'+ furl +'" width="'+ fwidth +'" height="' + fheight +'"');
    if (transoption == "t") {
        document.write(' wmode="transparent"');
    } else if (transoption == "o") {
        document.write(' wmode="opaque"');
    }
    if (Id) {
        document.write(' id="'+Id+'"');
    }
    document.write('></object>');
    document.write('<!--> <![endif]-->');
    document.write('</object>');
}
function Openview()
	{
		popupNoscroll("/popup/rss.pop.jsp","",780,520);
	}


function showhideDivDisplay(contents) {
	var divObj = document.getElementById(contents);
	if(divObj.style.display == "block") {
		divObj.style.display = "none";
	} else {
		divObj.style.display = "block";
	}

}


/* top show/hide */
 function ShowFamily(obj) {
	if(document.getElementById(obj).style.display == "" || document.getElementById(obj).style.display == "none")	{ 
		document.getElementById(obj).style.display = "block";
		document.getElementById("net").src="/images/common/layout/btn_cmcfm_close.gif";
	}
	else { 
			document.getElementById(obj).style.display = "none"; 
			document.getElementById("net").src="/images/common/layout/btn_cmcfm_open.gif";
		}
}


/* popup center */
function WinPop(url,name,w,h,s) {
 if(s!=0) {
  sOp = ",scrollbars=yes";
 } else {
  sOp = "status=1";
 }
 var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
 winOptions = 'width='+w+',height='+h+',top='+wint+',left='+winl+','+sOp;
 var winObj = window.open(url,name,winOptions);
 return winObj;
}


var embedSWF = function(url, replaceEl, width, height, wmode, objId)	{
	try	{
		if (document.write && document.getElementById)
		{
			if (wmode == false) wmode = "window";
			if (objId == false) objId = "flashObject";

			var replaceEl = document.getElementById(replaceEl);
			var replaceElContent = replaceEl.innerHTML;

			var objectStr = ''+
			'<!--[if IE]>' +
			'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+width+'" height="'+height+'" id="'+objId+'">' +
			'<![endif] -->' +
			'<!--[if !IE]> <-->' +
			'<object type="application/x-shockwave-flash" data="'+url+'" width="'+width+'" height="'+height+'" id="'+objId+'">' +
			'<!--><![endif]-->' +
			'<param name="movie" value="'+url+'" />' +
			'<param name="wmode" value="'+wmode+'" />' +
			replaceElContent +
			'</object>';

			replaceEl.innerHTML = objectStr;
		}
	}
	catch (e)	{return false;}
}